[wp-trac] [WordPress Trac] #9870: Fix for WP_Dependencies::dequeue

WordPress Trac wp-trac at lists.automattic.com
Tue May 19 03:56:02 GMT 2009


#9870: Fix for WP_Dependencies::dequeue
--------------------------+-------------------------------------------------
 Reporter:  chrisbliss18  |       Owner:  chrisbliss18    
     Type:  defect (bug)  |      Status:  new             
 Priority:  normal        |   Milestone:  Unassigned      
Component:  General       |     Version:  2.8             
 Severity:  normal        |    Keywords:  has-patch tested
--------------------------+-------------------------------------------------
 The WP_Dependencies::dequeue method has three major flaws that prevent it
 from working: does not split handle around '?' to divide handle from arg
 (see the WP_Dependencies::enqueue method), tries to remove the handle from
 the queue array by using the handle as an index of the array when the
 handle is a value of the array, and does not remove a relevant entry from
 the args array if the handle has an arg.

 The provided patch (wp-dependencies-patch.txt) was tested with
 2.8-beta1-11389 and corrected all three issues.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9870>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list