[wp-trac] [WordPress Trac] #27650: Possible interference between media upload progress bar and window.requestAnimFrame calls

WordPress Trac noreply at wordpress.org
Sat May 24 06:13:56 UTC 2014


#27650: Possible interference between media upload progress bar and
window.requestAnimFrame calls
--------------------------+------------------------------
 Reporter:  zipzit        |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  3.8.1
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by ericlewis):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 `wp_loaded` is triggered too early to drop in scripts and HTML bits -
 before the <html> tag is even opened. That's why you're getting the
 errors.

 I would suggest checking out
 [http://codex.wordpress.org/Function_Reference/wp_enqueue_script
 wp_enqueue_script()] for script enqueueing and the `admin_footer` for
 adding in random HTML to the admin interface.

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


More information about the wp-trac mailing list