Site Kit by Google - Version 1.3.1

Version Description

Download this release

Release Info

Developer flixos90
Plugin Icon 128x128 Site Kit by Google
Version 1.3.1
Comparing to
See all releases

Code changes from version 1.3.0 to 1.3.1

google-site-kit.php CHANGED
@@ -11,7 +11,7 @@
11
  * Plugin Name: Site Kit by Google
12
  * Plugin URI: https://sitekit.withgoogle.com
13
  * 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
15
  * Author: Google
16
  * Author URI: https://opensource.google.com
17
  * License: Apache License 2.0
@@ -24,7 +24,7 @@ if ( ! defined( 'ABSPATH' ) ) {
24
  }
25
 
26
  // Define most essential constants.
27
- define( 'GOOGLESITEKIT_VERSION', '1.3.0' );
28
  define( 'GOOGLESITEKIT_PLUGIN_MAIN_FILE', __FILE__ );
29
  define( 'GOOGLESITEKIT_PHP_MINIMUM', '5.6.0' );
30
 
@@ -90,6 +90,10 @@ function googlesitekit_opcache_reset() {
90
  return;
91
  }
92
 
 
 
 
 
93
  if ( ! empty( ini_get( 'opcache.restrict_api' ) ) && strpos( __FILE__, ini_get( 'opcache.restrict_api' ) ) !== 0 ) {
94
  return;
95
  }
11
  * Plugin Name: Site Kit by Google
12
  * Plugin URI: https://sitekit.withgoogle.com
13
  * 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.1
15
  * Author: Google
16
  * Author URI: https://opensource.google.com
17
  * License: Apache License 2.0
24
  }
25
 
26
  // Define most essential constants.
27
+ define( 'GOOGLESITEKIT_VERSION', '1.3.1' );
28
  define( 'GOOGLESITEKIT_PLUGIN_MAIN_FILE', __FILE__ );
29
  define( 'GOOGLESITEKIT_PHP_MINIMUM', '5.6.0' );
30
 
90
  return;
91
  }
92
 
93
+ if ( ! function_exists( 'opcache_reset' ) ) {
94
+ return;
95
+ }
96
+
97
  if ( ! empty( ini_get( 'opcache.restrict_api' ) ) && strpos( __FILE__, ini_get( 'opcache.restrict_api' ) ) !== 0 ) {
98
  return;
99
  }
includes/Core/Authentication/Authentication.php CHANGED
@@ -171,7 +171,7 @@ final class Authentication {
171
  $this->verification = new Verification( $this->user_options );
172
  $this->verification_meta = new Verification_Meta( $this->user_options, $this->transients );
173
  $this->verification_file = new Verification_File( $this->user_options );
174
- $this->profile = new Profile( $user_options );
175
  $this->first_admin = new First_Admin( $this->options );
176
  }
177
 
171
  $this->verification = new Verification( $this->user_options );
172
  $this->verification_meta = new Verification_Meta( $this->user_options, $this->transients );
173
  $this->verification_file = new Verification_File( $this->user_options );
174
+ $this->profile = new Profile( $this->user_options );
175
  $this->first_admin = new First_Admin( $this->options );
176
  }
177
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: google
4
  Requires at least: 4.7
5
  Tested up to: 5.4
6
  Requires PHP: 5.6
7
- Stable tag: 1.3.0
8
  License: Apache License 2.0
9
  License URI: https://www.apache.org/licenses/LICENSE-2.0
10
  Tags: google, search-console, analytics, adsense, pagespeed-insights, optimize, tag-manager, site-kit
4
  Requires at least: 4.7
5
  Tested up to: 5.4
6
  Requires PHP: 5.6
7
+ Stable tag: 1.3.1
8
  License: Apache License 2.0
9
  License URI: https://www.apache.org/licenses/LICENSE-2.0
10
  Tags: google, search-console, analytics, adsense, pagespeed-insights, optimize, tag-manager, site-kit