Skip to content

Commit

Permalink
Merge pull request #391 from wp-media/branch/2.9.11
Browse files Browse the repository at this point in the history
2.9.11
  • Loading branch information
GeekPress authored Apr 4, 2017
2 parents e24fa9c + ed38bcd commit 9d57943
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions inc/3rd-party/jetpack.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* @since 2.8
* @author Remy Perona
*/
if ( is_array( $jetpack_active_modules ) && in_array( 'sitemaps', $jetpack_active_modules ) ) {
if ( is_array( $jetpack_active_modules ) && in_array( 'sitemaps', $jetpack_active_modules ) && function_exists( 'jetpack_sitemap_uri' ) ) {
add_filter( 'rocket_first_install_options', '__rocket_add_jetpack_sitemap_option' );
function __rocket_add_jetpack_sitemap_option( $options ) {
$options['jetpack_xml_sitemap'] = 0;
Expand Down Expand Up @@ -53,4 +53,4 @@ function __rocket_sitemap_preload_jetpack_option( $options ) {
return $options;
}
}
endif;
endif;
4 changes: 2 additions & 2 deletions wp-rocket.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: WP Rocket
Plugin URI: https://wp-rocket.me
Description: The best WordPress performance plugin.
Version: 2.9.10
Version: 2.9.11
Code Name: Iridonia
Author: WP Media
Contributors: Jonathan Buttigieg, Julio Potier, Remy Perona
Expand All @@ -19,7 +19,7 @@
defined( 'ABSPATH' ) or die( 'Cheatin’ uh?' );

// Rocket defines
define( 'WP_ROCKET_VERSION' , '2.9.10' );
define( 'WP_ROCKET_VERSION' , '2.9.11' );
define( 'WP_ROCKET_PRIVATE_KEY' , false );
define( 'WP_ROCKET_SLUG' , 'wp_rocket_settings' );
define( 'WP_ROCKET_WEB_MAIN' , false );
Expand Down

0 comments on commit 9d57943

Please sign in to comment.