[wp-trac] [WordPress Trac] #28607: Make wpautop()'s $allblocks variable filterable

WordPress Trac noreply at wordpress.org
Thu Jun 5 15:20:07 UTC 2025


#28607: Make wpautop()'s $allblocks variable filterable
-------------------------------------+-------------------------------------
 Reporter:  walkinonwat3r            |       Owner:  (none)
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Formatting               |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch wpautop        |     Focuses:  administration,
  needs-refresh close                |  template
-------------------------------------+-------------------------------------
Changes (by jorbin):

 * keywords:  has-patch wpautop needs-refresh => has-patch wpautop needs-
     refresh close


Comment:

 I tend to agree with @nacin on this one. A filter on `$allblocks` would
 encourages bad behavior and might make it more difficult for us to adjust
 wpautop() behavior in the future.

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


More information about the wp-trac mailing list