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

WordPress Trac noreply at wordpress.org
Sun Jun 2 21:25:33 UTC 2024


#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:  Future
                                                 |  Release
Component:  Bootstrap/Load                       |     Version:  2.2
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing has-unit-    |     Focuses:
  tests                                          |
-------------------------------------------------+-------------------------
Changes (by kkmuffme):

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


Comment:

 @jorbin I added unit tests that show how/that it works as previously with
 regular obs (= the unit tests that should have existed previously already)
 Additionally I added a unit test to show how it works/fixes the issue with
 non-removable handlers, however this is skipped due to a bug in phpunit
 itself (see https://github.com/sebastianbergmann/phpunit/pull/5852)
 However, this shouldn't be a blocker as the unit tests I added show that
 it still works as it did previously.

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


More information about the wp-trac mailing list