Changeset 3069105
- Timestamp:
- 04/11/2024 03:30:54 PM (2 years ago)
- Location:
- a2-optimized-wp/tags/3.0.8.3
- Files:
-
- 5 edited
- 1 copied
-
. (copied) (copied from a2-optimized-wp/trunk)
-
a2-optimized.php (modified) (2 diffs)
-
app/templates/admin/page-settings/page-settings.php (modified) (1 diff)
-
assets/js/admin/a2-optimized.js (modified) (3 diffs)
-
core/A2_Optimized_Optimizations.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
a2-optimized-wp/tags/3.0.8.3/a2-optimized.php
r3045919 r3069105 10 10 * Plugin Name: A2 Optimized WP 11 11 * Plugin URI: https://wordpress.org/plugins/a2-optimized/ 12 * Version: 3.0.8. 112 * Version: 3.0.8.3 13 13 * Author: A2 Hosting 14 14 * Author URI: https://www.a2hosting.com/ … … 25 25 26 26 define( 'A2OPT_VERSION', '3.0' ); 27 define( 'A2OPT_FULL_VERSION', '3.0.8. 1' );27 define( 'A2OPT_FULL_VERSION', '3.0.8.3' ); 28 28 define( 'A2OPT_MIN_PHP', '5.6' ); 29 29 define( 'A2OPT_MIN_WP', '5.1' ); -
a2-optimized-wp/tags/3.0.8.3/app/templates/admin/page-settings/page-settings.php
r2999241 r3069105 636 636 class="navlink-button" :class="nav.webperf_class">Web Performance</button> 637 637 </div> 638 <!-- 638 639 <div class="col-md-5 col-md-offset-1 col-lg-12 col-lg-offset-0 navlink-wrapper"> 639 640 <button type="button" @click="$emit('nav-change-url', 'admin.php?page=a2-optimized&a2_page=hosting_matchup')" 640 641 class="navlink-button" :class="nav.hmatch_class">Hosting Matchup</button> 641 642 </div> 643 --> 642 644 <div class="col-md-5 col-md-offset-1 col-lg-12 col-lg-offset-0 navlink-wrapper"> 643 645 <button type="button" @click="$emit('nav-change-url', 'admin.php?page=a2-optimized&a2_page=advanced_settings')" -
a2-optimized-wp/tags/3.0.8.3/assets/js/admin/a2-optimized.js
r2984569 r3069105 833 833 page_data.show_coaching = true; 834 834 }, 2000); 835 } 835 }; 836 836 }); 837 837 }, … … 889 889 .then((response) => { 890 890 let status_message = response.data.status_message; 891 let valid_data = false; 891 let valid_data = false; 892 893 page_data.closeModal(); 892 894 893 895 if (run_checks && status_message == '') { … … 896 898 if (response.data.overall_score){ 897 899 page_data.last_check_date = response.data.overall_score.last_check_date; 898 valid_data = true;899 } else if (response.data.pagespeed_desktop.overall_score) {900 page_data.last_check_date = response.data.pagespeed_desktop.overall_score.last_check_date;901 valid_data = true;902 } else {903 // Invalid data904 page_data.closeModal();905 alert("There was a problem getting benchmark data from Google Pagespeed, please try again in a few mintues.");906 }907 } 908 if(valid_data){909 page_data.frontend_benchmark_status = status_message;910 if (page == 'hosting-matchup') {911 page_data.graphs = response.data.graphs;912 page_data.graph_data = response.data.graph_data;913 914 that.$root.$emit('render_hosting_matchup_graphs');915 } else {916 page_data.graphs = response.data;917 }918 page_data.updateView++;919 page_data.closeModal();920 }900 valid_data = true; 901 } else if (response.data.pagespeed_desktop.overall_score) { 902 page_data.last_check_date = response.data.pagespeed_desktop.overall_score.last_check_date; 903 valid_data = true; 904 } else { 905 // Invalid data 906 page_data.closeModal(); 907 alert("There was a problem getting benchmark data from Google Pagespeed, please try again in a few mintues."); 908 } 909 } 910 if(valid_data){ 911 page_data.frontend_benchmark_status = status_message; 912 if (page == 'hosting-matchup') { 913 page_data.graphs = response.data.graphs; 914 page_data.graph_data = response.data.graph_data; 915 916 that.$root.$emit('render_hosting_matchup_graphs'); 917 } else { 918 page_data.graphs = response.data; 919 } 920 page_data.updateView++; 921 page_data.closeModal(); 922 } 921 923 }); 922 924 }, -
a2-optimized-wp/tags/3.0.8.3/core/A2_Optimized_Optimizations.php
r3045919 r3069105 853 853 'post_revisions' => [ 854 854 'title' => 'Post Revisions', 855 'description' => 'The number of post revisions should be less than than 10 for most sites. This could slow down page loads.',855 'description' => 'The number of post revisions should be less than than 100 for most sites. This could slow down page loads.', 856 856 'status' => $this->is_active('post_revisions', false), 857 857 ], … … 1292 1292 if (defined('WP_POST_REVISIONS') && WP_POST_REVISIONS == true) { 1293 1293 // post revisions are active 1294 if (is_numeric(WP_POST_REVISIONS) && WP_POST_REVISIONS <= 10 ) {1295 $result['current'] = 'Post revisions are enabled, but less than 10 .';1294 if (is_numeric(WP_POST_REVISIONS) && WP_POST_REVISIONS <= 100) { 1295 $result['current'] = 'Post revisions are enabled, but less than 100.'; 1296 1296 $result['value'] = true; 1297 1297 } else { 1298 $result['current'] = 'Post revisions are enabled with a limit higher than 10 .';1298 $result['current'] = 'Post revisions are enabled with a limit higher than 100.'; 1299 1299 $result['value'] = false; 1300 1300 } -
a2-optimized-wp/tags/3.0.8.3/readme.txt
r3068559 r3069105 4 4 Requires at least: 5.1 5 5 Tested up to: 6.5.2 6 Stable tag: 3.0.8. 26 Stable tag: 3.0.8.3 7 7 Requires PHP: 7.0 8 8 License: GPLv3
Note: See TracChangeset
for help on using the changeset viewer.