[wp-trac] [WordPress Trac] #22246: PHP Notice On _remove_theme_support() function

WordPress Trac noreply at wordpress.org
Tue Oct 23 13:48:05 UTC 2012


#22246: PHP Notice On _remove_theme_support() function
------------------------------+-----------------------
 Reporter:  alex-ye           |       Owner:  ryan
     Type:  defect (bug)      |      Status:  reopened
 Priority:  normal            |   Milestone:  3.5
Component:  Warnings/Notices  |     Version:  3.4.2
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |
------------------------------+-----------------------
Changes (by nacin):

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


Comment:

 Rather than papering over the notices in [22274], we can bail in the
 particular situation where this occurs: When the "just in time"
 initialization hasn't occurred yet, we don't need to do anything beyond
 unsetting the item from the global array. See [attachment:22246.diff]
 (made against pre-[22274]).

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22246#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list