[wp-trac] [WordPress Trac] #51219: Theme editor page showing undefined variable notice

WordPress Trac noreply at wordpress.org
Mon Sep 7 13:03:57 UTC 2020


#51219: Theme editor page showing undefined variable notice
--------------------------------+-----------------------------
 Reporter:  vinayak.anivase     |       Owner:  SergeyBiryukov
     Type:  defect (bug)        |      Status:  closed
 Priority:  normal              |   Milestone:  5.5.2
Component:  Administration      |     Version:  5.5.1
 Severity:  normal              |  Resolution:  fixed
 Keywords:  commit fixed-major  |     Focuses:  administration
--------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"48955" 48955]:
 {{{
 #!CommitTicketReference repository="" revision="48955"
 Administration: Give the `$error` variable in `wp-admin/admin-header.php`
 a more descriptive name.

 This avoids a conflict with the same global variable used elsewhere, e.g.
 in Theme Editor.

 Follow-up to [48850].

 Props vinayak.anivase.
 Merges [48938] to the 5.5 branch.
 Fixes #51219.
 }}}

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


More information about the wp-trac mailing list