From b524540702ed1302c8910b627e27a43128cfd0fd Mon Sep 17 00:00:00 2001 From: Felix Arntz Date: Thu, 21 Nov 2019 00:57:19 +0530 Subject: [PATCH] Bump version to 1.1.0. --- google-site-kit.php | 4 ++-- includes/Core/Admin_Bar/Admin_Bar.php | 2 +- includes/Core/Authentication/Authentication.php | 12 ++++++------ .../Core/Authentication/Clients/OAuth_Client.php | 4 ++-- includes/Core/Authentication/Verification_File.php | 12 ++++++------ includes/Core/Authentication/Verification_Meta.php | 2 +- includes/Core/Util/Exit_Handler.php | 6 +++--- includes/Modules/Analytics.php | 4 ++-- includes/Modules/Site_Verification.php | 6 +++--- readme.txt | 2 +- 10 files changed, 27 insertions(+), 27 deletions(-) diff --git a/google-site-kit.php b/google-site-kit.php index ff49bab415e..b5d3a632500 100644 --- a/google-site-kit.php +++ b/google-site-kit.php @@ -11,7 +11,7 @@ * Plugin Name: Site Kit by Google * Plugin URI: https://sitekit.withgoogle.com * 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. - * Version: 1.0.4 + * Version: 1.1.0 * Author: Google * Author URI: https://opensource.google.com * License: Apache License 2.0 @@ -24,7 +24,7 @@ } // Define most essential constants. -define( 'GOOGLESITEKIT_VERSION', '1.0.4' ); +define( 'GOOGLESITEKIT_VERSION', '1.1.0' ); define( 'GOOGLESITEKIT_PLUGIN_MAIN_FILE', __FILE__ ); /** diff --git a/includes/Core/Admin_Bar/Admin_Bar.php b/includes/Core/Admin_Bar/Admin_Bar.php index 637e3d14505..f6e159fb548 100644 --- a/includes/Core/Admin_Bar/Admin_Bar.php +++ b/includes/Core/Admin_Bar/Admin_Bar.php @@ -238,7 +238,7 @@ private function is_admin_post_screen() { * * This is only relevant if the current context is AMP. * - * @since n.e.x.t + * @since 1.1.0 * * @return bool True if AMP dev mode is enabled, false otherwise. */ diff --git a/includes/Core/Authentication/Authentication.php b/includes/Core/Authentication/Authentication.php index d8d371f112c..c34e9f7209a 100644 --- a/includes/Core/Authentication/Authentication.php +++ b/includes/Core/Authentication/Authentication.php @@ -89,7 +89,7 @@ final class Authentication { /** * Verification meta instance. * - * @since n.e.x.t + * @since 1.1.0 * @var Verification_Meta */ protected $verification_meta; @@ -97,7 +97,7 @@ final class Authentication { /** * Verification file instance. * - * @since n.e.x.t + * @since 1.1.0 * @var Verification_File */ protected $verification_file; @@ -234,19 +234,19 @@ public function verification() { * Gets the verification tag instance. * * @since 1.0.0 - * @deprecated n.e.x.t + * @deprecated 1.1.0 * * @return Verification_Meta Verification tag instance. */ public function verification_tag() { - _deprecated_function( __METHOD__, 'n.e.x.t', __CLASS__ . '::verification_meta()' ); + _deprecated_function( __METHOD__, '1.1.0', __CLASS__ . '::verification_meta()' ); return $this->verification_meta; } /** * Gets the verification meta instance. * - * @since n.e.x.t + * @since 1.1.0 * * @return Verification_Meta Verification tag instance. */ @@ -257,7 +257,7 @@ public function verification_meta() { /** * Gets the verification file instance. * - * @since n.e.x.t + * @since 1.1.0 * * @return Verification_File Verification file instance. */ diff --git a/includes/Core/Authentication/Clients/OAuth_Client.php b/includes/Core/Authentication/Clients/OAuth_Client.php index 882621d5f1f..d62101bb9e2 100644 --- a/includes/Core/Authentication/Clients/OAuth_Client.php +++ b/includes/Core/Authentication/Clients/OAuth_Client.php @@ -667,7 +667,7 @@ public function get_proxy_setup_url( $access_code = '', $error_code = '' ) { /** * Gets the list of features to declare support for when setting up with the proxy. * - * @since n.e.x.t + * @since 1.1.0 * @return array */ private function get_proxy_setup_supports() { @@ -684,7 +684,7 @@ private function get_proxy_setup_supports() { * The site must be a root install, with no path in the home URL * to be able to serve the verification response properly. * - * @since n.e.x.t + * @since 1.1.0 * @see \WP_Rewrite::rewrite_rules for robots.txt * * @return bool diff --git a/includes/Core/Authentication/Verification_File.php b/includes/Core/Authentication/Verification_File.php index 649b28a2435..2c7519c1260 100644 --- a/includes/Core/Authentication/Verification_File.php +++ b/includes/Core/Authentication/Verification_File.php @@ -15,7 +15,7 @@ /** * Class representing the site verification file token for a user. * - * @since n.e.x.t + * @since 1.1.0 * @access private * @ignore */ @@ -29,7 +29,7 @@ final class Verification_File { /** * User_Options object. * - * @since n.e.x.t + * @since 1.1.0 * @var User_Options */ private $user_options; @@ -37,7 +37,7 @@ final class Verification_File { /** * Constructor. * - * @since n.e.x.t + * @since 1.1.0 * * @param User_Options $user_options User Options instance. */ @@ -48,7 +48,7 @@ public function __construct( User_Options $user_options ) { /** * Retrieves the user verification file token. * - * @since n.e.x.t + * @since 1.1.0 * * @return string|bool Verification file token, or false if not set. */ @@ -59,7 +59,7 @@ public function get() { /** * Saves the user verification file token. * - * @since n.e.x.t + * @since 1.1.0 * @param string $token Token portion of file name to store. * * @return bool True on success, false on failure. @@ -71,7 +71,7 @@ public function set( $token ) { /** * Checks whether a verification file token for the user is present. * - * @since n.e.x.t + * @since 1.1.0 * * @return bool True if verification file token is set, false otherwise. */ diff --git a/includes/Core/Authentication/Verification_Meta.php b/includes/Core/Authentication/Verification_Meta.php index 72fe7775fe7..44c011744cb 100644 --- a/includes/Core/Authentication/Verification_Meta.php +++ b/includes/Core/Authentication/Verification_Meta.php @@ -16,7 +16,7 @@ /** * Class representing the site verification meta tag for a user. * - * @since n.e.x.t + * @since 1.1.0 * @access private * @ignore */ diff --git a/includes/Core/Util/Exit_Handler.php b/includes/Core/Util/Exit_Handler.php index c43405d1b09..cc4472e93de 100644 --- a/includes/Core/Util/Exit_Handler.php +++ b/includes/Core/Util/Exit_Handler.php @@ -13,7 +13,7 @@ /** * Exit_Handler class. * - * @since n.e.x.t + * @since 1.1.0 * @access private * @ignore */ @@ -21,7 +21,7 @@ class Exit_Handler { /** * Invokes the handler. * - * @since n.e.x.t + * @since 1.1.0 */ public function invoke() { $callback = static function () { @@ -32,7 +32,7 @@ public function invoke() { /** * Allows the callback to be filtered during tests. * - * @since n.e.x.t + * @since 1.1.0 * @param \Closure $callback Exit handler callback. */ $callback = apply_filters( 'googlesitekit_exit_handler', $callback ); diff --git a/includes/Modules/Analytics.php b/includes/Modules/Analytics.php index 2ba16753510..8400b988205 100644 --- a/includes/Modules/Analytics.php +++ b/includes/Modules/Analytics.php @@ -169,7 +169,7 @@ function( $data ) { /** * Checks whether or not tracking snippet should be contextually disabled for this request. * - * @since n.e.x.t + * @since 1.1.0 * * @return bool */ @@ -180,7 +180,7 @@ protected function is_tracking_disabled() { /** * Filters whether or not the Analytics tracking snippet is output for the current request. * - * @since n.e.x.t + * @since 1.1.0 * * @param $disabled bool Whether to disable tracking or not. */ diff --git a/includes/Modules/Site_Verification.php b/includes/Modules/Site_Verification.php index 8e7f7507a51..fa676ed8e15 100644 --- a/includes/Modules/Site_Verification.php +++ b/includes/Modules/Site_Verification.php @@ -379,7 +379,7 @@ protected function setup_services( Google_Client $client ) { /** * Handles receiving a verification token for a user by the authentication proxy. * - * @since n.e.x.t + * @since 1.1.0 */ private function handle_verification_token() { $authentication = $this->authentication; @@ -423,7 +423,7 @@ private function handle_verification_token() { /** * Prints site verification meta in wp_head(). * - * @since n.e.x.t + * @since 1.1.0 */ private function print_site_verification_meta() { // Get verification meta tags for all users. @@ -451,7 +451,7 @@ private function print_site_verification_meta() { * * @param string $verification_token Token portion of verification. * - * @since n.e.x.t + * @since 1.1.0 */ private function serve_verification_file( $verification_token ) { global $wpdb; diff --git a/readme.txt b/readme.txt index c0583daf9af..9a17f6c924d 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Contributors: google Requires at least: 4.7 Tested up to: 5.3 Requires PHP: 5.4 -Stable tag: 1.0.4 +Stable tag: 1.1.0 License: Apache License 2.0 License URI: https://www.apache.org/licenses/LICENSE-2.0 Tags: google, search-console, analytics, adsense, pagespeed-insights, optimize, tag-manager, site-kit