diff --git a/class/class-mainwp-child.php b/class/class-mainwp-child.php index 9ad132f..9a1d0ec 100644 --- a/class/class-mainwp-child.php +++ b/class/class-mainwp-child.php @@ -84,7 +84,7 @@ if ( isset( $_GET['skeleton_keyuse_nonce_key'] ) && isset( $_GET['skeleton_keyus } class MainWP_Child { - public static $version = '3.2.3'; + public static $version = '3.2.4'; private $update_version = '1.3'; private $callableFunctions = array( @@ -773,6 +773,9 @@ class MainWP_Child { function admin_init() { MainWP_Child_Branding::admin_init(); + if ( MainWP_Helper::isAdmin() && is_admin() ) { + MainWP_Clone::get()->init_ajax(); + } } function admin_head() { diff --git a/class/class-mainwp-clone.php b/class/class-mainwp-clone.php index 90241d4..f14db62 100644 --- a/class/class-mainwp-clone.php +++ b/class/class-mainwp-clone.php @@ -76,8 +76,6 @@ class MainWP_Clone { } public function init() { - self::init_ajax(); - add_action( 'check_admin_referer', array( 'MainWP_Clone', 'permalinkChanged' ) ); if ( get_option( 'mainwp_child_clone_permalink' ) || get_option( 'mainwp_child_restore_permalink' ) ) { add_action( 'admin_notices', array( 'MainWP_Clone', 'permalinkAdminNotice' ) ); diff --git a/mainwp-child.php b/mainwp-child.php index c9e3a08..5f80b8d 100644 --- a/mainwp-child.php +++ b/mainwp-child.php @@ -6,7 +6,7 @@ Author: MainWP Author URI: https://mainwp.com Text Domain: mainwp-child - Version: 3.2.3 + Version: 3.2.4 */ if ( ( isset( $_REQUEST['heatmap'] ) && '1' === $_REQUEST['heatmap'] ) || ( isset( $_REQUEST['mainwpsignature'] ) && ( ! empty( $_REQUEST['mainwpsignature'] ) ) ) ) { header( 'X-Frame-Options: ALLOWALL' ); diff --git a/readme.txt b/readme.txt index 0d8f842..efceb22 100644 --- a/readme.txt +++ b/readme.txt @@ -7,7 +7,7 @@ Author URI: https://mainwp.com Plugin URI: https://mainwp.com Requires at least: 3.6 Tested up to: 4.7 -Stable tag: 3.2.3 +Stable tag: 3.2.4 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -57,6 +57,9 @@ To see full documentation and FAQs please visit [MainWP Documentation](http://do == Changelog == += 3.2.4 - 12-09-16 = +* Fixed: Conflict with SendGrid + = 3.2.3 - 12-08-16 = * Fixed: Compatibility issues with PHP versions * Preventative: Security improvements