Make WordPress Core

Opened 6 years ago

Last modified 6 years ago

#50863 new defect (bug)

[playlist] + text = </p> error

Reported by: hvar Owned by:
Priority: normal Milestone: Awaiting Review
Component: Formatting Version: 5.4.2
Severity: normal Keywords: needs-patch needs-unit-tests
Cc: Focuses: administration, template

Description

There is a bug that is very simple to reproduce -
if you create a [playlist] and then add some text, such as
[playlist ids="1,2,3"] Hey everyone, check out my new songs!

it will produce an html parsing error where </p> element is closed, but never opened.

Thank you

Change History (1)

#1 @SergeyBiryukov
6 years ago

  • Component MediaFormatting
  • Keywords needs-unit-tests added

Hi there, welcome back to WordPress Trac! Thanks for the report.

This appears to be an issue with the wpautop() function, so I'm moving the ticket to the Formatting component.

Note: See TracTickets for help on using tickets.