Opened 17 months ago
Closed 17 months ago
#58283 closed defect (bug) (duplicate)
Deprecated preg_replace() warning PHP 8.1
Reported by: | aukeklumper | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 6.2 |
Component: | Menus | Keywords: | php81 |
Focuses: | administration | Cc: |
Description (last modified by )
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
Change History (1)
Note: See
TracTickets for help on using
tickets.
Hi there, welcome to WordPress Trac! Thanks for the report.
This is already fixed for WordPress 6.2.1 in [55639] / #57918.