[wp-trac] [WordPress Trac] #58283: Deprecated preg_replace() warning PHP 8.1
WordPress Trac
noreply at wordpress.org
Wed May 10 13:33:51 UTC 2023
#58283: Deprecated preg_replace() warning PHP 8.1
--------------------------+-----------------------------
Reporter: aukeklumper | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Menus | Version: 6.2
Severity: normal | Resolution: duplicate
Keywords: php81 | Focuses: administration
--------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: new => closed
* focuses: => administration
* component: Administration => Menus
* milestone: Awaiting Review =>
* keywords: => php81
* resolution: => duplicate
Old description:
> PHP warning is thrown in 6.2 with PHP 8.1 - same issue as
> [https://core.trac.wordpress.org/ticket/57578]
>
> {{{
> Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of
> type array|string is deprecated
> }}}
>
> Warning is thrown on:
> /wp-admin/nav-menus.php
New description:
PHP warning is thrown in 6.2 with PHP 8.1 - same issue as #57578
{{{
Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of
type array|string is deprecated
}}}
Warning is thrown on:
/wp-admin/nav-menus.php
--
Comment:
Hi there, welcome to WordPress Trac! Thanks for the report.
This is already fixed for WordPress 6.2.1 in [55639] / #57918.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58283#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list