[wp-trac] [WordPress Trac] #59365: Deprecated notice when calling get_admin_page_title() on some dashboard pages.
WordPress Trac
noreply at wordpress.org
Fri Sep 15 11:35:40 UTC 2023
#59365: Deprecated notice when calling get_admin_page_title() on some dashboard
pages.
-------------------------------------------------+-------------------------
Reporter: apedog | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: Administration | Version:
Severity: minor | Keywords:
Focuses: coding-standards, php-compatibility |
-------------------------------------------------+-------------------------
{{{
Deprecated preg_replace(): Passing null to parameter #3 ($subject) of
type array|string is deprecated
wp-admin/includes/plugin.php:2092
preg_replace()
wp-admin/includes/plugin.php:2092
get_plugin_page_hookname()
wp-admin/includes/plugin.php:2056
get_plugin_page_hook()
wp-admin/includes/plugin.php:1980
get_admin_page_title()
}}}
This occurs on all pages where global `$plugin_page` is null (Plugins,
Tools, etc.)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59365>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list