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

WordPress Trac noreply at wordpress.org
Fri Jan 11 02:37:49 UTC 2013


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

 * milestone:  Awaiting Review => 3.6


Comment:

 [attachment:theme.php.2.patch] would re-introduce a part of [22274], which
 was reverted in [22312] and replaced with [22313].

 However, seems like the check in [22313] was inaccurate: `did_action()`
 can only return an integer. [attachment:23170.patch] fixes the condition.

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


More information about the wp-trac mailing list