Changeset 2606195
- Timestamp:
- 09/28/2021 12:28:28 PM (4 years ago)
- Location:
- wp-lozad/trunk
- Files:
-
- 3 edited
-
classes/FrontPageProcessing.php (modified) (2 diffs)
-
lozad.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-lozad/trunk/classes/FrontPageProcessing.php
r2602929 r2606195 40 40 } elseif ( 41 41 $cache_enabled 42 && has_filter('wp_cache_ob_callback_filter') 42 43 && function_exists('wp_cache_user_agent_is_rejected') && !wp_cache_user_agent_is_rejected() 43 44 && function_exists('wpsc_is_backend') && !wpsc_is_backend() … … 45 46 add_filter('wp_cache_ob_callback_filter', [$this, 'lozadContentProcessing'], $hookLevel); 46 47 } else { 47 add_action('template_redirect', [$this, 'lozadContentProcessing'], $hookLevel); 48 add_action('template_redirect', function () { 49 ob_start(function ($buffer) { 50 return $this->lozadContentProcessing($buffer); 51 }); 52 }, $hookLevel); 48 53 } 49 54 return true; -
wp-lozad/trunk/lozad.php
r2602929 r2606195 4 4 Description: lazy loading of images by baroda algorithm 5 5 Author: Evgeniy Kozenok 6 Version: 1.5. 06 Version: 1.5.1 7 7 */ 8 8 -
wp-lozad/trunk/readme.txt
r2602929 r2606195 4 4 Requires at least: 5.0 5 5 Tested up to: 5.8 6 Stable tag: 1.5. 06 Stable tag: 1.5.1 7 7 License: GPL2 8 8 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 24 24 25 25 == Changelog == 26 = 1.5.1 = 27 * 2021-09-28: fix template_redirect action hook 28 29 = 1.5.0 = 30 * 2021-09-22: add hook level option 31 26 32 = 1.4.9 = 27 33 * 2021-08-09: get_home_path func replace by ABSPATH const
Note: See TracChangeset
for help on using the changeset viewer.