Plugin Directory

Changeset 3169549


Ignore:
Timestamp:
10/15/2024 07:46:29 PM (18 months ago)
Author:
a2hosting
Message:

v3.0.12

Location:
a2-optimized-wp/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • a2-optimized-wp/trunk/a2-optimized.php

    r3168674 r3169549  
    1010 * Plugin Name: A2 Optimized WP
    1111 * Plugin URI: https://wordpress.org/plugins/a2-optimized/
    12  * Version: 3.0.11
     12 * Version: 3.0.12
    1313 * Author: A2 Hosting
    1414 * Author URI: https://www.a2hosting.com/
  • a2-optimized-wp/trunk/app/models/admin/class-admin-settings.php

    r3168601 r3169549  
    5959            }
    6060
    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';
    6863            $run_checks = $_POST['run_checks'] !== 'false';
    6964
  • a2-optimized-wp/trunk/readme.txt

    r3168674 r3169549  
    33Tags: a2 hosting, cache, speed, optimize, site performanceRequires at least: 5.1
    44Tested up to: 6.6
    5 Stable tag: 3.0.11
     5Stable tag: 3.0.12
    66Requires PHP: 7.0
    77License: GPLv3
Note: See TracChangeset for help on using the changeset viewer.