[wp-trac] [WordPress Trac] #39472: Code tag still parses embeds
WordPress Trac
noreply at wordpress.org
Wed Jan 4 21:03:58 UTC 2017
#39472: Code tag still parses embeds
--------------------------+------------------------------
Reporter: rmens | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: 4.7
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by lukecavanagh):
@rmens
The YouTube link would be converted with an embed by WP automatically.
https://codex.wordpress.org/Embeds
{{{
WordPress will automatically turn the URL into a YouTube embed and provide
a live preview in the visual editor.
}}}
If you used say
<code>Test Test
Another
<a href="www.google.com">www.google.com</a>
<a href="http://www.google.com">http://www.google.com</a>
<a
href="https://www.youtube.com/watch?v=JHw6LTuMkNQ">https://www.youtube.com/watch?v=JHw6LTuMkNQ</a>
Foxtrot Uniform Charlie Kilo
</code>
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39472#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list