Plugin Directory

Changeset 2130887


Ignore:
Timestamp:
07/30/2019 03:01:41 PM (6 years ago)
Author:
DavidAnderson
Message:

add missing patch

Location:
wp-optimize/tags/3.0.8
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-optimize/tags/3.0.8/cache/file-based-page-cache-functions.php

    r2128638 r2130887  
    684684
    685685    if ('shutdown' == current_filter()) {
    686         echo $buffered;
     686        // Only add the line if it was a page, not something else (e.g. REST response)
     687        if (function_exists('did_action') && did_action('wp_footer')) {
     688            echo $buffered;
     689        } else {
     690            error_log($buffered);
     691        }
    687692    } else {
    688693        if (null == $buffered) add_action('shutdown', 'wpo_cache_add_footer_output', 11);
  • wp-optimize/tags/3.0.8/readme.txt

    r2130879 r2130887  
    182182* TWEAK: Disable redundant lazy-loading feature when Divi theme is active
    183183* TWEAK: Improve accuracy of message shown when it is not possible to automatically enable Gzip compression of static resources
     184* TWEAK: Only output reasons a page was not cached if the wp_footer action was run
    184185
    185186= 3.0.7 - 25/Jul/2019 =
Note: See TracChangeset for help on using the changeset viewer.