[wp-trac] [WordPress Trac] #20683: WP_Dependencies' constructor should accept a string/array value for $deps rather than converting a string to an empty array

WordPress Trac noreply at wordpress.org
Tue Oct 23 20:32:16 UTC 2012


#20683: WP_Dependencies' constructor should accept a string/array value for $deps
rather than converting a string to an empty array
------------------------------+--------------------------
 Reporter:  vhauri            |       Owner:  markjaquith
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  3.5
Component:  General           |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch revert  |
------------------------------+--------------------------
Changes (by ryan):

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


Comment:

 In [22286]:
 {{{
 #!CommitTicketReference repository="" revision="22286"
 Revert [21420] and [21481]. Accepting a string caused back compat problems
 including the possibility of revealing previously hidden circular
 dependencies resulting in infinite loops.

 fixes #20683 #22111
 see #21520
 }}}

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


More information about the wp-trac mailing list