File tree Expand file tree Collapse file tree 3 files changed +9
-8
lines changed
Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 33Plugin Name: WP Rocket
44Plugin URI: https://wp-rocket.me
55Description: The best WordPress performance plugin.
6- Version: 2.9.3
6+ Version: 2.9.4
77Code Name: Iridonia
88Author: WP Media
99Contributors: Jonathan Buttigieg, Julio Potier, Remy Perona
1919defined ( '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 ' );
2323define ( 'WP_ROCKET_PRIVATE_KEY ' , false );
2424define ( 'WP_ROCKET_SLUG ' , 'wp_rocket_settings ' );
2525define ( 'WP_ROCKET_WEB_MAIN ' , 'https://wp-rocket.me/ ' );
You can’t perform that action at this time.
0 commit comments