[wp-trac] [WordPress Trac] #31695: Extra unclosed <p> tag before <script> breaking the_content()
WordPress Trac
noreply at wordpress.org
Thu Jul 23 14:35:15 UTC 2015
#31695: Extra unclosed <p> tag before <script> breaking the_content()
-------------------------------------------------+-------------------------
Reporter: vaurdan | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
Component: Formatting | Review
Severity: normal | Version:
Keywords: needs-unit-tests wpautop needs- | Resolution:
patch | Focuses:
-------------------------------------------------+-------------------------
Comment (by vaurdan):
Replying to [comment:11 miqrogroove]:
> I'm a little confused. You had to hack a theme file to reproduce a bug?
It's not a hack, it's just an example. That's just a piece of code that
can be in any plugin - it was actually copy-pasted from JetPack - and that
is making the twitter oEmbed HTML invalid. I've added it to the
`functions.php` just to exemplify.
Just because it happens with custom code, it doesn't mean it isn't a bug,
right? :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31695#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list