[wp-trac] [WordPress Trac] #22239: wp_ob_end_flush_all() tries to destroy non-destroyable output buffers

WordPress Trac noreply at wordpress.org
Fri Dec 15 17:40:32 UTC 2023


#22239: wp_ob_end_flush_all() tries to destroy non-destroyable output buffers
----------------------------+---------------------
 Reporter:  dd32            |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:
Component:  Bootstrap/Load  |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:
----------------------------+---------------------
Changes (by kkmuffme):

 * version:   => trunk


Comment:

 I created a proper fix for this now, please merge.

 The fix checks if the ob can be ended or not - and if it can't it aborts
 (since any parents cannot be ended either, since we can't skip a level).

 What do I need to do so this gets included in the next WP version (6.5)?

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


More information about the wp-trac mailing list