WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #22430, comment 15


Ignore:
Timestamp:
08/06/2020 01:31:16 PM (11 months ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22430, comment 15

    initial v1  
    1212
    1313Recently in some frustration I subtracted 1 from the $levels variable.
    14 
     14{{{
    1515function wp_ob_end_flush_all() {
    1616// print wp_debug_backtrace_summary();
     
    2020}
    2121}
    22 
     22}}}
    2323And 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.
    2424
     
    3434
    3535Then I found this little gem under Examples:
    36 
     36{{{
    3737<?php
    3838while (@ob_end_flush());
    3939?>
    40 
     40}}}
    4141So, I decided to try it in the WP function
    42 
     42{{{
    4343function wp_ob_end_flush_all() {
    4444while (@ob_end_flush());
    4545}
    46 
     46}}}
    4747And still, no warnings are being thrown up.
    4848