Changeset 2578286
- Timestamp:
- 08/04/2021 05:46:47 PM (5 years ago)
- Location:
- speedien
- Files:
-
- 5 edited
- 10 copied
-
tags/1.0.8 (copied) (copied from speedien/trunk)
-
tags/1.0.8/advanced-cache.php (copied) (copied from speedien/trunk/advanced-cache.php) (1 diff)
-
tags/1.0.8/readme.txt (copied) (copied from speedien/trunk/readme.txt) (2 diffs)
-
tags/1.0.8/speedien.php (copied) (copied from speedien/trunk/speedien.php) (1 diff)
-
tags/1.0.8/speedien_admin_bar.php (copied) (copied from speedien/trunk/speedien_admin_bar.php)
-
tags/1.0.8/speedien_admin_notice.php (copied) (copied from speedien/trunk/speedien_admin_notice.php)
-
tags/1.0.8/speedien_cache.php (copied) (copied from speedien/trunk/speedien_cache.php) (1 diff)
-
tags/1.0.8/speedien_config.php (copied) (copied from speedien/trunk/speedien_config.php)
-
tags/1.0.8/speedien_purge_hooks.php (copied) (copied from speedien/trunk/speedien_purge_hooks.php) (2 diffs)
-
tags/1.0.8/speedien_ui.php (copied) (copied from speedien/trunk/speedien_ui.php)
-
trunk/advanced-cache.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/speedien.php (modified) (1 diff)
-
trunk/speedien_cache.php (modified) (1 diff)
-
trunk/speedien_purge_hooks.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
speedien/tags/1.0.8/advanced-cache.php
r2578285 r2578286 9 9 } 10 10 11 if(!empty($_GET['no-optimization']) ) {11 if(!empty($_GET['no-optimization']) || !empty($_GET['PageSpeed'])) { 12 12 return false; 13 13 } -
speedien/tags/1.0.8/readme.txt
r2578285 r2578286 5 5 Tested up to: 5.8 6 6 Requires PHP: 5.6 7 Stable tag: 1.0. 77 Stable tag: 1.0.8 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 137 137 == Changelog == 138 138 139 = 1.0.8 - 4 Aug, 2021 = 140 - Improved cache purge error handling 141 - Added cache bypass mechanism for Divi page builder 142 139 143 = 1.0.7 - 30 Jun, 2021 = 140 144 - Added support for defining credentials through wp-config.php -
speedien/tags/1.0.8/speedien.php
r2578285 r2578286 7 7 * Text Domain: speedien 8 8 * Domain Path: / 9 * Version: 1.0. 79 * Version: 1.0.8 10 10 */ 11 11 -
speedien/tags/1.0.8/speedien_cache.php
r2578285 r2578286 9 9 foreach($speedien_cache_exclusions as $slug) 10 10 { 11 if(strpos( $_SERVER['REQUEST_URI'], $slug) !== false)11 if(strpos(strtolower($_SERVER['REQUEST_URI']), $slug) !== false) 12 12 { 13 13 $bypass_cache = 1; -
speedien/tags/1.0.8/speedien_purge_hooks.php
r2578285 r2578286 10 10 add_action('edit_attachment', 'speedien_purge_post', 10, 2); 11 11 add_action('wpmu_new_blog', 'speedien_purge_post', 10, 2); 12 add_action('transition_post_status', 'speedien_purge_ post', 10, 2);12 add_action('transition_post_status', 'speedien_purge_cpt', 10, 3); 13 13 add_action('edit_term', 'speedien_purge_post', 10, 2); 14 14 add_action('delete_term', 'speedien_purge_post', 10, 2); 15 15 16 16 17 function speedien_purge_post($post_id, $post )17 function speedien_purge_post($post_id, $post = NULL) 18 18 { 19 19 $removeChar = ["https://", "http://"]; … … 33 33 } 34 34 35 } 36 37 function speedien_purge_cpt($new_status, $old_status, $post) 38 { 39 speedien_purge_post($post->ID, $post); 35 40 } 36 41 -
speedien/trunk/advanced-cache.php
r2552371 r2578286 9 9 } 10 10 11 if(!empty($_GET['no-optimization']) ) {11 if(!empty($_GET['no-optimization']) || !empty($_GET['PageSpeed'])) { 12 12 return false; 13 13 } -
speedien/trunk/readme.txt
r2572431 r2578286 5 5 Tested up to: 5.8 6 6 Requires PHP: 5.6 7 Stable tag: 1.0. 77 Stable tag: 1.0.8 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 137 137 == Changelog == 138 138 139 = 1.0.8 - 4 Aug, 2021 = 140 - Improved cache purge error handling 141 - Added cache bypass mechanism for Divi page builder 142 139 143 = 1.0.7 - 30 Jun, 2021 = 140 144 - Added support for defining credentials through wp-config.php -
speedien/trunk/speedien.php
r2556538 r2578286 7 7 * Text Domain: speedien 8 8 * Domain Path: / 9 * Version: 1.0. 79 * Version: 1.0.8 10 10 */ 11 11 -
speedien/trunk/speedien_cache.php
r2556538 r2578286 9 9 foreach($speedien_cache_exclusions as $slug) 10 10 { 11 if(strpos( $_SERVER['REQUEST_URI'], $slug) !== false)11 if(strpos(strtolower($_SERVER['REQUEST_URI']), $slug) !== false) 12 12 { 13 13 $bypass_cache = 1; -
speedien/trunk/speedien_purge_hooks.php
r2517881 r2578286 10 10 add_action('edit_attachment', 'speedien_purge_post', 10, 2); 11 11 add_action('wpmu_new_blog', 'speedien_purge_post', 10, 2); 12 add_action('transition_post_status', 'speedien_purge_ post', 10, 2);12 add_action('transition_post_status', 'speedien_purge_cpt', 10, 3); 13 13 add_action('edit_term', 'speedien_purge_post', 10, 2); 14 14 add_action('delete_term', 'speedien_purge_post', 10, 2); 15 15 16 16 17 function speedien_purge_post($post_id, $post )17 function speedien_purge_post($post_id, $post = NULL) 18 18 { 19 19 $removeChar = ["https://", "http://"]; … … 33 33 } 34 34 35 } 36 37 function speedien_purge_cpt($new_status, $old_status, $post) 38 { 39 speedien_purge_post($post->ID, $post); 35 40 } 36 41
Note: See TracChangeset
for help on using the changeset viewer.