[wp-trac] [WordPress Trac] #25247: WP_Dependencies unsets a to do item when it isn't loaded

WordPress Trac noreply at wordpress.org
Fri Dec 5 15:04:07 UTC 2014


#25247: WP_Dependencies unsets a to do item when it isn't loaded
-------------------------------------------------+-------------------------
 Reporter:  markoheijnen                         |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Future
Component:  Script Loader                        |  Release
 Severity:  normal                               |     Version:  3.6
 Keywords:  has-patch dev-feedback needs-        |  Resolution:
  testing                                        |     Focuses:
-------------------------------------------------+-------------------------
Changes (by nmarks):

 * keywords:  needs-unit-tests has-patch dev-feedback needs-testing => has-
     patch dev-feedback needs-testing


Comment:

 Ok.

 Since it relies on the `WP_Scripts` version of the `do_item` method, I put
 the unit test in `tests/dependencies/scripts.php`.

 I also verified that it fails without my patch and passes with my patch.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/25247#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list