[wp-trac] [WordPress Trac] #24724: _wpMediaViewsL10n not correctly enqueued in wp_enqueue_media()

WordPress Trac noreply at wordpress.org
Sun May 25 23:33:01 UTC 2014


#24724: _wpMediaViewsL10n not correctly enqueued in wp_enqueue_media()
--------------------------+------------------------------
 Reporter:  Fab1en        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  3.5.2
 Severity:  major         |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------
Changes (by ericlewis):

 * keywords:   => has-patch
 * severity:  trivial => major


Comment:

 In attachment:24724.diff, instantiate WP_Scripts in `wp_localize_script()`
 if it hasn't been already. Fixes using `wp_enqueue_media()` on the front-
 end.

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


More information about the wp-trac mailing list