[wp-trac] [WordPress Trac] #32214: Video subtitles removed from shortcode
WordPress Trac
noreply at wordpress.org
Thu Apr 30 21:39:52 UTC 2015
#32214: Video subtitles removed from shortcode
--------------------------+------------------------------
Reporter: starepod | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 4.2.1
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Description changed by SergeyBiryukov:
Old description:
> I think a previously fixed bug, [#29826] has re-appeared. Subtitle
> information added to a video loaded from the Media Library is being
> stripped from the [video] shortcode when a post is saved, or when
> toggling from Visual to Text mode and back.
>
> I'm running WP 4.2.1, logged in as an admin, using the up-to-date Twenty
> Fifteen theme, and no plugins are active.
>
> If you insert the video, edit the video, add subtitles, click the Update
> button in the modal (save the update not the post) the preview shows the
> [cc] button for subtitles. If you switch to Text mode before saving the
> post you can see that the <track> tag is added, and that the angle
> brackets are HTML entities, which immediately get stripped out when
> switching back to Visual mode.
New description:
I think a previously fixed bug, #29826 has re-appeared. Subtitle
information added to a video loaded from the Media Library is being
stripped from the [video] shortcode when a post is saved, or when toggling
from Visual to Text mode and back.
I'm running WP 4.2.1, logged in as an admin, using the up-to-date Twenty
Fifteen theme, and no plugins are active.
If you insert the video, edit the video, add subtitles, click the Update
button in the modal (save the update not the post) the preview shows the
[cc] button for subtitles. If you switch to Text mode before saving the
post you can see that the <track> tag is added, and that the angle
brackets are HTML entities, which immediately get stripped out when
switching back to Visual mode.
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32214#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list