[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:53:39 UTC 2019


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

Comment (by tedmaster):

 So, is there a general `page_load` action that I should be executing and
 that includes things like `wp_enqueue_scripts`? Asking because I often
 want to test what would be the final outcome of a normal page load.

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


More information about the wp-trac mailing list