Plugin Directory

Changeset 1326047


Ignore:
Timestamp:
01/11/2016 08:47:06 PM (10 years ago)
Author:
davidlyness
Message:

Regain compatibility with Wordpress caching plugins which hook page load very early

Location:
html-cleanup/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • html-cleanup/trunk/html-cleanup.php

    r1120388 r1326047  
    3232
    3333 // Begin filtering content from the time this script is loaded, buffering the HTML output of the page so that it can be filtered by the html_cleanup_callback function
    34 html_cleanup_buffer_start();
     34add_action("init", "html_cleanup_buffer_start");
    3535function html_cleanup_buffer_start() {
    3636    ob_start("html_cleanup_callback");
  • html-cleanup/trunk/readme.txt

    r1290211 r1326047  
    4747== Changelog ==
    4848
     49= 1.2.4 =
     50* Regain compatibility with Wordpress caching plugins which hook the page load very early.
     51
    4952= 1.2.3 =
    5053* Remove unnecessary PHP notice in admin area when WP_DEBUG is enabled.
     
    7073== Upgrade Notice ==
    7174
    72 = 1.2.3 =
    73 HTML Cleanup now no longer causes PHP to generate a notice regarding deleting / flushing a buffer in the admin area when WP_DEBUG is enabled.
     75= 1.2.4 =
     76HTML Cleanup has regained compatibility with Wordpress caching plugins, including those who hook the page load very early.
Note: See TracChangeset for help on using the changeset viewer.