[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 wp-trac at lists.automattic.com
Tue May 15 20:28:02 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:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------
Changes (by scribu):

 * keywords:   => has-patch


Comment:

 +1, but I think `array( $this->deps )` is clearer than `(array)
 $this->deps`.

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


More information about the wp-trac mailing list