Version Description
Added
- Improved reliability for scheduling events
Download this release
Release Info
| Developer | bangelov |
| Plugin | |
| Version | 7.50 |
| Comparing to | |
| See all releases | |
Code changes from version 7.49 to 7.50
- all-in-one-wp-migration.php +1 -1
- constants.php +1 -1
- lib/vendor/servmask/cron/class-ai1wm-cron.php +11 -4
- readme.txt +6 -1
all-in-one-wp-migration.php
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
* Description: Migration tool for all your blog data. Import or Export your blog content with a single click.
|
| 6 |
* Author: ServMask
|
| 7 |
* Author URI: https://servmask.com/
|
| 8 |
-
* Version: 7.
|
| 9 |
* Text Domain: all-in-one-wp-migration
|
| 10 |
* Domain Path: /languages
|
| 11 |
* Network: True
|
| 5 |
* Description: Migration tool for all your blog data. Import or Export your blog content with a single click.
|
| 6 |
* Author: ServMask
|
| 7 |
* Author URI: https://servmask.com/
|
| 8 |
+
* Version: 7.50
|
| 9 |
* Text Domain: all-in-one-wp-migration
|
| 10 |
* Domain Path: /languages
|
| 11 |
* Network: True
|
constants.php
CHANGED
|
@@ -35,7 +35,7 @@ define( 'AI1WM_DEBUG', false );
|
|
| 35 |
// ==================
|
| 36 |
// = Plugin Version =
|
| 37 |
// ==================
|
| 38 |
-
define( 'AI1WM_VERSION', '7.
|
| 39 |
|
| 40 |
// ===============
|
| 41 |
// = Plugin Name =
|
| 35 |
// ==================
|
| 36 |
// = Plugin Version =
|
| 37 |
// ==================
|
| 38 |
+
define( 'AI1WM_VERSION', '7.50' );
|
| 39 |
|
| 40 |
// ===============
|
| 41 |
// = Plugin Name =
|
lib/vendor/servmask/cron/class-ai1wm-cron.php
CHANGED
|
@@ -84,18 +84,25 @@ class Ai1wm_Cron {
|
|
| 84 |
/**
|
| 85 |
* Checks whether cronjob already exists
|
| 86 |
*
|
| 87 |
-
* @param string
|
|
|
|
| 88 |
* @return boolean
|
| 89 |
*/
|
| 90 |
-
public static function exists( $hook ) {
|
| 91 |
$cron = get_option( AI1WM_CRON, array() );
|
| 92 |
if ( empty( $cron ) ) {
|
| 93 |
return false;
|
| 94 |
}
|
| 95 |
|
| 96 |
foreach ( $cron as $timestamp => $hooks ) {
|
| 97 |
-
if (
|
| 98 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 99 |
}
|
| 100 |
}
|
| 101 |
|
| 84 |
/**
|
| 85 |
* Checks whether cronjob already exists
|
| 86 |
*
|
| 87 |
+
* @param string $hook Event hook
|
| 88 |
+
* @param array $args Event callback arguments
|
| 89 |
* @return boolean
|
| 90 |
*/
|
| 91 |
+
public static function exists( $hook, $args = array() ) {
|
| 92 |
$cron = get_option( AI1WM_CRON, array() );
|
| 93 |
if ( empty( $cron ) ) {
|
| 94 |
return false;
|
| 95 |
}
|
| 96 |
|
| 97 |
foreach ( $cron as $timestamp => $hooks ) {
|
| 98 |
+
if ( empty( $args ) ) {
|
| 99 |
+
if ( isset( $hooks[ $hook ] ) ) {
|
| 100 |
+
return true;
|
| 101 |
+
}
|
| 102 |
+
} else {
|
| 103 |
+
if ( isset( $hooks[ $hook ][ md5( serialize( $args ) ) ] ) ) {
|
| 104 |
+
return true;
|
| 105 |
+
}
|
| 106 |
}
|
| 107 |
}
|
| 108 |
|
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ Tags: move, transfer, copy, migrate, backup, clone, restore, db migration, wordp
|
|
| 4 |
Requires at least: 3.3
|
| 5 |
Tested up to: 5.8
|
| 6 |
Requires PHP: 5.2.17
|
| 7 |
-
Stable tag: 7.
|
| 8 |
License: GPLv2 or later
|
| 9 |
|
| 10 |
Move, transfer, copy, migrate, and backup a site with 1-click. Quick, easy, and reliable.
|
|
@@ -89,6 +89,11 @@ All-in-One WP Migration is in full compliance with General Data Protection Regul
|
|
| 89 |
See our [GDPR Compliant Privacy Policy here](https://www.iubenda.com/privacy-policy/946881).
|
| 90 |
|
| 91 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 92 |
= 7.49 =
|
| 93 |
**Added**
|
| 94 |
|
| 4 |
Requires at least: 3.3
|
| 5 |
Tested up to: 5.8
|
| 6 |
Requires PHP: 5.2.17
|
| 7 |
+
Stable tag: 7.50
|
| 8 |
License: GPLv2 or later
|
| 9 |
|
| 10 |
Move, transfer, copy, migrate, and backup a site with 1-click. Quick, easy, and reliable.
|
| 89 |
See our [GDPR Compliant Privacy Policy here](https://www.iubenda.com/privacy-policy/946881).
|
| 90 |
|
| 91 |
== Changelog ==
|
| 92 |
+
= 7.50 =
|
| 93 |
+
**Added**
|
| 94 |
+
|
| 95 |
+
* Improved reliability for scheduling events
|
| 96 |
+
|
| 97 |
= 7.49 =
|
| 98 |
**Added**
|
| 99 |
|
