[wp-trac] [WordPress Trac] #29383: WPPlaylistView doesn't find the right script.
WordPress Trac
noreply at wordpress.org
Tue Aug 26 20:40:38 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 programmin):
Honestly I don't know where the theme was shoving more script tags into it
right now. Regardless I think it should be possible to add script tags,
and not have the playlist blindly grab the first script tag's contents.
It would also be much more readable to grab it like this, as getting the
html() contents of a script tag is rarely done, and this would clarify
that it is getting script[type="application/json"].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29383#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list