Changes between Initial Version and Version 1 of Ticket #22430, comment 15
- Timestamp:
- 08/06/2020 01:31:16 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #22430, comment 15
initial v1 12 12 13 13 Recently in some frustration I subtracted 1 from the $levels variable. 14 14 {{{ 15 15 function wp_ob_end_flush_all() { 16 16 // print wp_debug_backtrace_summary(); … … 20 20 } 21 21 } 22 22 }}} 23 23 And the warning went away. This seems MAD if this is ACTUALLY the solution. Because I see a lot of frustrated and puzzled people having this problem. 24 24 … … 34 34 35 35 Then I found this little gem under Examples: 36 36 {{{ 37 37 <?php 38 38 while (@ob_end_flush()); 39 39 ?> 40 40 }}} 41 41 So, I decided to try it in the WP function 42 42 {{{ 43 43 function wp_ob_end_flush_all() { 44 44 while (@ob_end_flush()); 45 45 } 46 46 }}} 47 47 And still, no warnings are being thrown up. 48 48