[wp-trac] [WordPress Trac] #32506: oembed with wpautop set to false
WordPress Trac
noreply at wordpress.org
Wed May 27 14:34:08 UTC 2015
#32506: oembed with wpautop set to false
--------------------------+-----------------------------
Reporter: katazina | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Embeds | Version: 4.2.2
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Hi there,
I set wpautop to false in my theme. And if I do so, then newly inserted
oembed links are not working.
I tried it with a clean, freshly installed wordpress with the
twentyfifteen theme.
html code with wpautop true (in this way it works, shows the picture):
{{{
some text
https://instagram.com/p/t-agMxQWJA/
}}}
html code with wpautop false (in this way, it's not working):
{{{
<p>some text</p>
<p>https://instagram.com/p/t-agMxQWJA/</p>
}}}
I tried it with youtube link too, and the result is the same.
But you don't have to set wpautop to false, just put any oembed link in
paragraph.
Is this a bug (for me it is), or this is meant to be a feature?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32506>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list