[wp-trac] [WordPress Trac] #57918: "Deprecated" on the Appearance Menu page of the classic theme.

WordPress Trac noreply at wordpress.org
Wed Mar 15 09:03:32 UTC 2023


#57918: "Deprecated" on the Appearance Menu page of the classic theme.
-----------------------------+-----------------------------
 Reporter:  nendeb55         |       Owner:  SergeyBiryukov
     Type:  defect (bug)     |      Status:  closed
 Priority:  normal           |   Milestone:  6.2.1
Component:  Menus            |     Version:
 Severity:  normal           |  Resolution:  fixed
 Keywords:  php81 has-patch  |     Focuses:  administration
-----------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"55552" 55552]:
 {{{
 #!CommitTicketReference repository="" revision="55552"
 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.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57918#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list