[wp-trac] [WordPress Trac] #38656: wpautop incorrectly handling paragraphs within block elements

WordPress Trac noreply at wordpress.org
Thu Jan 29 11:21:12 UTC 2026


#38656: wpautop incorrectly handling paragraphs within block elements
-------------------------------------------------+-------------------------
 Reporter:  pento                                |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Formatting                           |     Version:  5.0
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-unit-tests needs-    |     Focuses:
  refresh                                        |
-------------------------------------------------+-------------------------
Changes (by ozgursar):

 * keywords:  has-patch needs-unit-tests needs-testing needs-refresh => has-
     patch needs-unit-tests needs-refresh


Comment:

 == Patch Testing Report

 Patch Tested 1:
 https://core.trac.wordpress.org/attachment/ticket/38656/38656.4.diff
 Patch Tested 2:
 https://core.trac.wordpress.org/attachment/ticket/38656/38656.3.diff

 ❌ Both of the latest patches are failing to apply. So, ticket `needs-
 refresh`

 === Environment
 - WordPress: 7.0-alpha-61215-src
 - PHP: 8.2.29
 - Server: nginx/1.29.4
 - Database: mysqli (Server: 8.4.7 / Client: mysqlnd 8.2.29)
 - Browser: Opera
 - OS: macOS
 - Theme: Twenty Twenty-One 2.7
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.2.1

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


More information about the wp-trac mailing list