Changeset 3169549
- Timestamp:
- 10/15/2024 07:46:29 PM (18 months ago)
- Location:
- a2-optimized-wp/trunk
- Files:
-
- 3 edited
-
a2-optimized.php (modified) (1 diff)
-
app/models/admin/class-admin-settings.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
a2-optimized-wp/trunk/a2-optimized.php
r3168674 r3169549 10 10 * Plugin Name: A2 Optimized WP 11 11 * Plugin URI: https://wordpress.org/plugins/a2-optimized/ 12 * Version: 3.0.1 112 * Version: 3.0.12 13 13 * Author: A2 Hosting 14 14 * Author URI: https://www.a2hosting.com/ -
a2-optimized-wp/trunk/app/models/admin/class-admin-settings.php
r3168601 r3169549 59 59 } 60 60 61 if (!isset($_POST['a2_page']) || !isset($_POST['target_url']) || !isset($_POST['run_checks'])) { 62 echo json_encode(['result' => 'fail', 'status' => 'No page specified']); 63 wp_die(); 64 } 65 66 $target_url = $_POST['target_url']; 67 $page = $_POST['a2_page']; 61 $target_url = isset($_POST['target_url']) && !empty($_POST['target_url']) ? $_POST['target_url'] : get_home_url(); 62 $page = isset($_POST['a2_page']) && !empty($_POST['a2_page']) ? $_POST['a2_page'] : 'server_performance'; 68 63 $run_checks = $_POST['run_checks'] !== 'false'; 69 64 -
a2-optimized-wp/trunk/readme.txt
r3168674 r3169549 3 3 Tags: a2 hosting, cache, speed, optimize, site performanceRequires at least: 5.1 4 4 Tested up to: 6.6 5 Stable tag: 3.0.1 15 Stable tag: 3.0.12 6 6 Requires PHP: 7.0 7 7 License: GPLv3
Note: See TracChangeset
for help on using the changeset viewer.