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

WordPress Trac noreply at wordpress.org
Tue Aug 26 20:48:27 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        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by wonderboymusic):

 Replying to [comment:2 programmin]:
 > and not have the playlist blindly grab the first script tag's contents.

 `script[type="application/json"]` would still blindly grab the first
 `<script>` that matched. So any theme that, for whatever reason, wanted to
 prepend a script with `application/json` would win. This is the fault of
 the theme/plugin. It is breaking your playlists.

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


More information about the wp-trac mailing list