Skip to content

Commit 6f39ee5

Browse files
authored
Merge pull request #310 from wp-media/branch-2.9.4
2.9.4
2 parents 4a07c04 + 8d022b9 commit 6f39ee5

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

inc/3rd-party/plugins/sf-move-login.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,11 @@ function rocket_add_sfml_exclude_pages( $urls ) {
3636
$sfml_slugs = array_map( 'home_url', $sfml_slugs );
3737
$sfml_slugs = array_map( 'trailingslashit', $sfml_slugs );
3838
$sfml_slugs = array_map( 'rocket_clean_exclude_file', $sfml_slugs );
39-
$sfml_slugs = array_map( function( $sfml_slug ) {
40-
return $sfml_slug . '?';
41-
}, $sfml_slugs );
42-
39+
40+
foreach( $sfml_slugs as $key => $slug ) {
41+
$sfml_slugs[ $key ] = $slug . '?':
42+
}
43+
4344
return array_merge( $urls, $sfml_slugs );
4445
}
4546

inc/admin/admin.php

100755100644
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,11 +273,11 @@ function __rocket_rollback() {
273273
$plugin_file = basename( WP_ROCKET_FILE );
274274
$version = WP_ROCKET_LASTVERSION;
275275
$c_key = get_rocket_option( 'consumer_key' );
276-
$url = sprintf( 'http://support.wp-rocket.me/%s/wp-rocket_%s.zip', $c_key, $version );
276+
$url = sprintf( 'https://wp-rocket.me/%s/wp-rocket_%s.zip', $c_key, $version );
277277
$temp_array = array(
278278
'slug' => $plugin_folder,
279279
'new_version' => $version,
280-
'url' => 'http://wp-rocket.me',
280+
'url' => 'https://wp-rocket.me',
281281
'package' => $url
282282
);
283283

wp-rocket.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Plugin Name: WP Rocket
44
Plugin URI: https://wp-rocket.me
55
Description: The best WordPress performance plugin.
6-
Version: 2.9.3
6+
Version: 2.9.4
77
Code Name: Iridonia
88
Author: WP Media
99
Contributors: Jonathan Buttigieg, Julio Potier, Remy Perona
@@ -19,7 +19,7 @@
1919
defined( 'ABSPATH' ) or die( 'Cheatin’ uh?' );
2020

2121
// Rocket defines
22-
define( 'WP_ROCKET_VERSION' , '2.9.3' );
22+
define( 'WP_ROCKET_VERSION' , '2.9.4' );
2323
define( 'WP_ROCKET_PRIVATE_KEY' , false );
2424
define( 'WP_ROCKET_SLUG' , 'wp_rocket_settings' );
2525
define( 'WP_ROCKET_WEB_MAIN' , 'https://wp-rocket.me/' );

0 commit comments

Comments
 (0)