Make WordPress Core

Changeset 55552


Ignore:
Timestamp:
03/15/2023 09:03:17 AM (20 months ago)
Author:
SergeyBiryukov
Message:

Administration: Define the $title global on the Menus screen for classic themes.

This brings more consistency with other screens and avoids a PHP warning in get_plugin_page_hookname():

preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated

Follow-up to [13257], [13366], [55263].

Props nendeb55, costdev, SergeyBiryukov.
Fixes #57918.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.