[wp-trac] [WordPress Trac] #29383: WPPlaylistView doesn't find the right script.

WordPress Trac noreply at wordpress.org
Tue Aug 26 19:32:11 UTC 2014


#29383: WPPlaylistView doesn't find the right script.
--------------------------+-----------------------------
 Reporter:  programmin    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 WPPlaylistView is looking for any script, then getting the contents, when
 it's initializing the playlist. On my test setup this is grabbing a
 different script, a google-analytics ga.js.

 Please change wp-playlist.js to look for


 {{{
 this.$('script[type="application/json"]').html()
 }}}

 instead of

 {{{
 this.$('script').html()
 }}}

 in initialize function.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29383>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list