Opened 9 years ago
Closed 8 years ago
#32506 closed defect (bug) (wontfix)
oembed with wpautop set to false
Reported by: | katazina | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.2.2 |
Component: | Embeds | Keywords: | |
Focuses: | Cc: |
Description
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?
Change History (1)
#1
in reply to:
↑ description
@
8 years ago
- Milestone Awaiting Review deleted
- Resolution set to wontfix
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
Replying to katazina:
Thanks for the report.
Much of WordPress' behaviour relies on some of its fundamental behaviour not being disabled.
wpauotp()
is one of those things. This is not something that is likely to get addressed, unless someone patches this and provides extensive unit tests (if anyone does, please feel free to re-open this ticket).The paragraph issue is being handled separately in #25387.