Passing null in strip-tags
-
It seems like the latest version is passing a null string as the title which causes an error to appear on the admin page
Error is like this:
Deprecated: strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated in?/www/tripplocom_635/public/wp-admin/admin-header.php?on line?36
Which then comes from the title being emptyhttps://github.com/WordPress/WordPress/blob/master/wp-admin/admin-header.php
// This submenu is HIDDEN, however, we need to add it anyways
add_submenu_page(
'',
( 'Update Script', 'header-footer-code-manager' ), ( 'Update', 'header-footer-code-manager' ),
'manage_options',
'hfcm-update',
array( 'NNR_HFCM', 'hfcm_update' )
);And after inspecting the plugin on row 265 one can see that the page for editing the snippets have a empty title.
- You must be logged in to reply to this topic.