[wp-trac] [WordPress Trac] #47973: Invalid HTML output from image_caption + wpautop combination

WordPress Trac noreply at wordpress.org
Sat Jul 11 17:55:51 UTC 2020

#47973: Invalid HTML output from image_caption + wpautop combination
 Reporter:  terokilkanen  |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Formatting    |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  coding-standards
Changes (by sabernhardt):

 * version:  5.2.2 =>


 Hi @terokilkanen and thanks for the report!

 I see you still have this issue on [https://www.bonus.ca/leovegas your
 site], with WordPress 5.4.2.

 Unfortunately, I'm not able to reproduce it on my own installations for
 some reason. I had the same results with Visual mode as with Text mode,
 and likewise either with or without the `srcset` and `sizes` attributes

 For anyone else trying to test this, you will need to use a theme that
 does not support HTML5 caption markup.

Ticket URL: <https://core.trac.wordpress.org/ticket/47973#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list