Skip to content

Commit 41e33f3

Browse files
committed
Merge branch 'master' into develop
2 parents 9c8a2f7 + 0f31aaf commit 41e33f3

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

google-site-kit.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Plugin Name: Site Kit by Google
1212
* Plugin URI: https://sitekit.withgoogle.com
1313
* Description: Site Kit is a one-stop solution for WordPress users to use everything Google has to offer to make them successful on the web.
14-
* Version: 1.3.0
14+
* Version: 1.3.1
1515
* Author: Google
1616
* Author URI: https://opensource.google.com
1717
* License: Apache License 2.0
@@ -24,7 +24,7 @@
2424
}
2525

2626
// Define most essential constants.
27-
define( 'GOOGLESITEKIT_VERSION', '1.3.0' );
27+
define( 'GOOGLESITEKIT_VERSION', '1.3.1' );
2828
define( 'GOOGLESITEKIT_PLUGIN_MAIN_FILE', __FILE__ );
2929
define( 'GOOGLESITEKIT_PHP_MINIMUM', '5.6.0' );
3030

@@ -90,6 +90,10 @@ function googlesitekit_opcache_reset() {
9090
return;
9191
}
9292

93+
if ( ! function_exists( 'opcache_reset' ) ) {
94+
return;
95+
}
96+
9397
if ( ! empty( ini_get( 'opcache.restrict_api' ) ) && strpos( __FILE__, ini_get( 'opcache.restrict_api' ) ) !== 0 ) {
9498
return;
9599
}

0 commit comments

Comments
 (0)