Changeset 3388725
- Timestamp:
- 11/03/2025 09:37:35 AM (6 weeks ago)
- Location:
- sg-cachepress/trunk
- Files:
-
- 7 edited
-
core/Cli/Cli_Images.php (modified) (2 diffs)
-
core/File_Cacher/File_Cacher.php (modified) (2 diffs)
-
core/Front_End_Optimization/Front_End_Optimization.php (modified) (1 diff)
-
core/Message_Service/Message_Service.php (modified) (1 diff)
-
core/Supercacher/Supercacher.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
-
sg-cachepress.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sg-cachepress/trunk/core/Cli/Cli_Images.php
r2971883 r3388725 6 6 * WP-CLI: wp sg images value. 7 7 * 8 * Run the `wp sg images {compression-level} {frequency}` command to change the sett gins of specific plugin functionality.8 * Run the `wp sg images {compression-level} {frequency}` command to change the settings of specific plugin functionality. 9 9 * 10 10 * @since 6.0.0 … … 28 28 * --- 29 29 * options: 30 * - 031 30 * - 1 32 31 * - 2 33 * - 332 * - 3 34 33 */ 35 34 public function __invoke( $args, $assoc_args ) { 36 $possible_entries = array( 1, 2, 3 );37 if ( ! isset ( $assoc_args['compression-level'] ) || ! in_array( intval( $assoc_args['compression-level'] ), $possible_entries ) ) {35 $possible_entries = array( 1, 2, 3 ); 36 if ( ! isset( $assoc_args['compression-level'] ) || ! in_array( intval( $assoc_args['compression-level'] ), $possible_entries ) ) { 38 37 return \WP_CLI::error( 'Please specify the compression level' ); 39 38 } 40 39 $image_optimizer = new Images_Optimizer(); 41 40 42 \WP_CLI::log( 'Start Image Optimization' );41 \WP_CLI::log( 'Start Image Optimization' ); 43 42 44 43 // Add empty line. -
sg-cachepress/trunk/core/File_Cacher/File_Cacher.php
r3204886 r3388725 593 593 594 594 /** 595 * Clean the file based cache dir and maybe preheat the cache.595 * Clean the file based cache dir and maybe preheat the cache. 596 596 * 597 597 * @since 7.0.1 … … 601 601 $this->wp_filesystem->delete( $this->get_cache_dir(), true ); 602 602 603 $this->schedule_cleanup(); 604 603 605 // Bail if WP Cron is disabled. 604 606 if ( Helper_Service::is_cron_disabled() ) { 605 607 return; 606 608 } 607 608 $this->schedule_cleanup();609 609 610 610 if ( -
sg-cachepress/trunk/core/Front_End_Optimization/Front_End_Optimization.php
r3163985 r3388725 502 502 Supercacher::purge_cache(); 503 503 Supercacher::flush_memcache(); 504 File_Cacher:: purge_everything();504 File_Cacher::get_instance()->purge_everything(); 505 505 } 506 506 -
sg-cachepress/trunk/core/Message_Service/Message_Service.php
r3150542 r3388725 70 70 'siteground_optimizer_images_permissions' => __( 'Can Optimize Images', 'sg-cachepress' ), 71 71 'siteground_optimizer_environment_permissions' => __( 'Can Optimize Environment', 'sg-cachepress' ), 72 'purge_rest_cache' => __( 'Autoflush WordPress API Cache', 'sg-cachepress' ), 73 'ssl_enabled' => __( 'HTTPS', 'sg-cachepress' ), 72 74 ); 73 75 -
sg-cachepress/trunk/core/Supercacher/Supercacher.php
r3204886 r3388725 120 120 'update_option_woocommerce_coming_soon', 121 121 'update_option_woocommerce_store_pages_only', 122 'elementor/core/files/clear_cache', 122 123 ), 123 124 ); -
sg-cachepress/trunk/readme.txt
r3273064 r3388725 5 5 Requires PHP: 7.0 6 6 Tested up to: 6.8 7 Stable tag: 7.7. 27 Stable tag: 7.7.3 8 8 License: GPLv3 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 119 119 == Changelog == 120 120 121 = Version 7.7.3 = 122 Release Date: Nov 3rd, 2025 123 124 * File-based cache purge improvements 125 * Third-Party plugins compatibility improvements 126 * WP CLI improvements 127 128 121 129 = Version 7.7.2 = 122 130 Release Date: Dec 9th, 2024 … … 173 181 * Improved memcache handling of autoload options 174 182 * Improved handling of heartbeat optimizations 175 176 183 177 184 = Version 7.6.3 = -
sg-cachepress/trunk/sg-cachepress.php
r3204886 r3388725 11 11 * Plugin URI: https://siteground.com 12 12 * Description: This plugin will link your WordPress application with all the performance optimizations provided by SiteGround 13 * Version: 7.7. 213 * Version: 7.7.3 14 14 * Author: SiteGround 15 15 * Author URI: https://www.siteground.com … … 34 34 // Define version constant. 35 35 if ( ! defined( __NAMESPACE__ . '\VERSION' ) ) { 36 define( __NAMESPACE__ . '\VERSION', '7.7. 2' );36 define( __NAMESPACE__ . '\VERSION', '7.7.3' ); 37 37 } 38 38
Note: See TracChangeset
for help on using the changeset viewer.