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

WordPress Trac noreply at wordpress.org
Thu Sep 3 01:42:03 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:                   |     Focuses:  administration
-----------------------------+-----------------------------
Changes (by SergeyBiryukov):

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


Comment:

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

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


More information about the wp-trac mailing list