[wp-trac] [WordPress Trac] #37672: wpautop adds a closing p-tag without an opening p-tag

WordPress Trac noreply at wordpress.org
Tue Dec 27 21:25:33 UTC 2016


#37672: wpautop adds a closing p-tag without an opening p-tag
--------------------------+------------------------------
 Reporter:  TBarregren    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Formatting    |     Version:  4.5.3
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+------------------------------

Comment (by MattyRob):

 @TBarregren

 Thank for your report - I can reproduce this with a unit test and I think
 I've also managed to create a fix in the 'wpautop()' function. Patch and
 Unit test attached above.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37672#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list