Skip to content

Commit bef7ff2

Browse files
committed
#19 Fix typo in WP_DISABLE_CRON code path.
1 parent 6d28ac8 commit bef7ff2

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

includes/instacron.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function need_cron() {
2626
if ( $now >= $next ) {
2727
$next = $now + INDEX_WP_USERS_FOR_SPEED_DELAY_CRONKICK;
2828
update_option( $option, $next, false );
29-
update_action( 'shutdown', 'IndexWpUsersForSpeed\kick_cron', 9999, 0 );
29+
add_action( 'shutdown', 'IndexWpUsersForSpeed\kick_cron', 9999, 0 );
3030
}
3131
}
3232
}

index-wp-users-for-speed.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
* @license GPL-2.0-or-later
88
* @wordpress-plugin0
99
* Plugin Name: Index WP Users For Speed
10-
* Version: 1.1.8
11-
* Stable tag: 1.1.8
10+
* Version: 1.1.9
11+
* Stable tag: 1.1.9
1212
* Plugin URI: https://plumislandmedia.org/index-wp-users-for-speed/
1313
* Description: Speed up your WordPress site with thousands of users.
1414
* Requires at least: 5.2
@@ -34,7 +34,7 @@
3434

3535
const INDEX_WP_USERS_FOR_SPEED_NAME = 'index-wp-users-for-speed';
3636
define( 'INDEX_WP_USERS_FOR_SPEED_FILENAME', plugin_basename( __FILE__ ) );
37-
const INDEX_WP_USERS_FOR_SPEED_VERSION = '1.1.8';
37+
const INDEX_WP_USERS_FOR_SPEED_VERSION = '1.1.9';
3838
const INDEX_WP_USERS_FOR_SPEED_PREFIX = 'index-wp-users-for-speed-';
3939
const INDEX_WP_USERS_FOR_SPEED_PREFIX_TASK = 'index-wp-users-for-speed-task';
4040
const INDEX_WP_USERS_FOR_SPEED_HOOKNAME = 'index_wp_users_for_speed_task';

languages/index-wp-users-for-speed.pot

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
# This file is distributed under the GPL v2 or later.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: Index WP Users For Speed 1.1.8\n"
5+
"Project-Id-Version: Index WP Users For Speed 1.1.9\n"
66
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/index-wp-users-for-speed\n"
77
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
88
"Language-Team: LANGUAGE <[email protected]>\n"
99
"MIME-Version: 1.0\n"
1010
"Content-Type: text/plain; charset=UTF-8\n"
1111
"Content-Transfer-Encoding: 8bit\n"
12-
"POT-Creation-Date: 2024-11-06T19:21:55+00:00\n"
12+
"POT-Creation-Date: 2024-11-07T11:26:27+00:00\n"
1313
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1414
"X-Generator: WP-CLI 2.9.0\n"
1515
"X-Domain: index-wp-users-for-speed\n"

readme.txt

+5-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Tags: users, database, index, performance, largesite
44
Requires at least: 5.2
55
Tested up to: 6.7
66
Requires PHP: 5.6
7-
Stable tag: 1.1.8
7+
Stable tag: 1.1.9
88
Network: true
99
License: GPL v2 or later
1010
License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -125,6 +125,10 @@ If you configure your WordPress installation using composer, you may install thi
125125

126126
== Changelog ==
127127

128+
= 1.1.9 =
129+
130+
Fix typo in cron-disabled code path.
131+
128132
= 1.1.8 =
129133

130134
Use transactions to hopefully avoid deadlocks. Use options instead of transients.

0 commit comments

Comments
 (0)