[wp-trac] [WordPress Trac] #57578: Deprecated preg_replace() warning PHP 8.1
WordPress Trac
noreply at wordpress.org
Sun Jan 29 12:53:06 UTC 2023
#57578: Deprecated preg_replace() warning PHP 8.1
--------------------------+-----------------------------
Reporter: ipajen | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Keywords: PHP 8.1
Focuses: |
--------------------------+-----------------------------
PHP warning is thrown in 6.2-alpha-55159 with PHP 8.1
/wp-admin/options-privacy.php
/wp-admin/options-privacy.php?tab=policyguide
/wp-admin/export-personal-data.php
/wp-admin/erase-personal-data.php
preg_replace(): Passing null to parameter #3 ($subject) of type
array|string is deprecated
{{{
wp-admin/includes/plugin.php:2088
preg_replace()
wp-admin/includes/plugin.php:2088
get_plugin_page_hookname()
wp-admin/includes/plugin.php:2052
get_plugin_page_hook()
wp-admin/includes/plugin.php:1976
get_admin_page_title()
wp-admin/admin-header.php:35
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57578>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list