[wp-trac] [WordPress Trac] #47309: wp_script_is seems to fail in unit tests during plugin development

WordPress Trac noreply at wordpress.org
Fri May 17 18:19:55 UTC 2019


#47309: wp_script_is seems to fail in unit tests during plugin development
---------------------------+------------------------------
 Reporter:  tedmaster      |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Script Loader  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  close          |     Focuses:
---------------------------+------------------------------
Changes (by tedmaster):

 * keywords:   => close


Comment:

 Sorry… This can be resolved by running
 {{{#!php
 <?php
 do_action( 'wp_enqueue_scripts' );
 }}}
 at the start of the test.

 Feel free to close this ticket…

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


More information about the wp-trac mailing list