Plugin Directory

Changeset 3148853

Timestamp:
09/09/2024 05:55:31 PM (18 months ago)
Author:
google
Message:

Update to version 1.135.0 from GitHub

Location:
google-site-kit
Files:
84 added
76 deleted
40 edited
1 copied

Legend:

Unmodified
Added
Removed
  • google-site-kit/tags/1.135.0/dist/config.php

    r3134468 r3148853  
    88
    99return array(
    10     'features' => array( 'adsPax','audienceSegmentation','conversionInfra','gm3Components','privacySandboxModule','rrmModule' ),
     10    'features' => array( 'adsPax','audienceSegmentation','conversionInfra','gm3Components','privacySandboxModule','rrmModule' ),
    1111);
  • google-site-kit/tags/1.135.0/dist/manifest.php

    r3141863 r3148853  
    1919    'analytics-advanced-tracking'                          => array( "analytics-advanced-tracking-ea84b2c367b69f5c094b.js", null ),
    2020    'googlesitekit-i18n'                                   => array( "googlesitekit-i18n-33cdd2dee5d1d1f4fb34.js", null ),
    21     'googlesitekit-admin-css'                              => array( "googlesitekit-admin-css-ba6e9e2a0bcfb5f1a637.min.css", null ),
     21    'googlesitekit-admin-css'                              => array( "googlesitekit-admin-css-.min.css", null ),
    2222    'googlesitekit-adminbar-css'                           => array( "googlesitekit-adminbar-css-6db776544b37175be17f.min.css", null ),
    2323    'googlesitekit-authorize-application-css'              => array( "googlesitekit-authorize-application-css-ce25e97404abc5a02921.min.css", null ),
    2424    'googlesitekit-wp-dashboard-css'                       => array( "googlesitekit-wp-dashboard-css-d1180e1ae01fd577a4c5.min.css", null ),
    25     'googlesitekit-vendor'                                 => array( "googlesitekit-vendor-625942ce3e249bc6cbbb.js", null ),
    26     'googlesitekit-runtime'                                => array( "runtime-f562582a775dd979d8cc.js", null ),
    27     'googlesitekit-activation'                             => array( "googlesitekit-activation-0156e9e9183768884a51.js", null ),
    28     'googlesitekit-ad-blocking-recovery'                   => array( "googlesitekit-ad-blocking-recovery-5ec12229d17f3e26e18d.js", null ),
    29     'googlesitekit-adminbar'                               => array( "googlesitekit-adminbar-26b6ac7482380c6f0503.js", null ),
    30     'googlesitekit-api'                                    => array( "googlesitekit-api-ab52eed0ee6a44be38b3.js", null ),
    31     'googlesitekit-components'                             => array( array( "googlesitekit-components-gm2-0f8ff214aaee64f1e091.js", null ), array( "googlesitekit-components-gm3-d2883b93374979796649.js", null ) ),
    32     'googlesitekit-data'                                   => array( "googlesitekit-data-def4f4a434351223837f.js", null ),
    33     'googlesitekit-datastore-forms'                        => array( "googlesitekit-datastore-forms-c9b81525d9016cbbbef6.js", null ),
    34     'googlesitekit-datastore-location'                     => array( "googlesitekit-datastore-location-03c93cc12544ccbbdf50.js", null ),
    35     'googlesitekit-datastore-site'                         => array( "googlesitekit-datastore-site-4e71ab7c3bb633e19a32.js", null ),
    36     'googlesitekit-datastore-ui'                           => array( "googlesitekit-datastore-ui-99ab3cc36ca122895f43.js", null ),
    37     'googlesitekit-datastore-user'                         => array( "googlesitekit-datastore-user-addf75df8db655765af0.js", null ),
    38     'googlesitekit-entity-dashboard'                       => array( "googlesitekit-entity-dashboard-bf6ba3f0b9c923f11709.js", null ),
    39     'googlesitekit-main-dashboard'                         => array( "googlesitekit-main-dashboard-db649d3c3b6d9027a824.js", null ),
    40     'googlesitekit-modules'                                => array( "googlesitekit-modules-dc6e37a871796540fbac.js", null ),
    41     'googlesitekit-modules-ads'                            => array( "googlesitekit-modules-ads-8a01949acbaf5f9513e3.js", null ),
    42     'googlesitekit-modules-adsense'                        => array( "googlesitekit-modules-adsense-d4e969b135b277b3f61b.js", null ),
    43     'googlesitekit-modules-analytics-4'                    => array( "googlesitekit-modules-analytics-4-00f0bb07e4bd025aa07f.js", null ),
    44     'googlesitekit-modules-pagespeed-insights'             => array( "googlesitekit-modules-pagespeed-insights-e5394ed3d712ca668967.js", null ),
    45     'googlesitekit-modules-reader-revenue-manager'         => array( "googlesitekit-modules-reader-revenue-manager-3ac3cc164752a4e67945.js", null ),
    46     'googlesitekit-modules-search-console'                 => array( "googlesitekit-modules-search-console-54fe3c8e34c8e7b2cdd7.js", null ),
    47     'googlesitekit-modules-tagmanager'                     => array( "googlesitekit-modules-tagmanager-36854685cfc078aa9ea4.js", null ),
    48     'googlesitekit-notifications'                          => array( "googlesitekit-notifications-e5815fba60fe1cb1e172.js", null ),
    49     'googlesitekit-polyfills'                              => array( "googlesitekit-polyfills-c5dfeeeb4566ab655187.js", null ),
    50     'googlesitekit-settings'                               => array( "googlesitekit-settings-c5ed8a54309d018a6b77.js", null ),
    51     'googlesitekit-splash'                                 => array( "googlesitekit-splash-76b922a28fcdee85f514.js", null ),
    52     'googlesitekit-user-input'                             => array( "googlesitekit-user-input-1c36e0eb8c8ea1c166b1.js", null ),
    53     'googlesitekit-widgets'                                => array( "googlesitekit-widgets-c4b49ec1e2ef6587bc2d.js", null ),
    54     'googlesitekit-wp-dashboard'                           => array( "googlesitekit-wp-dashboard-bfa6aa6193cf3a1caccc.js", null ),
     25    'googlesitekit-vendor'                                 => array( "googlesitekit-vendor-b.js", null ),
     26    'googlesitekit-runtime'                                => array( "runtime-.js", null ),
     27    'googlesitekit-activation'                             => array( "googlesitekit-activation-0.js", null ),
     28    'googlesitekit-ad-blocking-recovery'                   => array( "googlesitekit-ad-blocking-recovery-5.js", null ),
     29    'googlesitekit-adminbar'                               => array( "googlesitekit-adminbar-.js", null ),
     30    'googlesitekit-api'                                    => array( "googlesitekit-api-.js", null ),
     31    'googlesitekit-components'                             => array( array( "googlesitekit-components-gm2-.js", null ) ),
     32    'googlesitekit-data'                                   => array( "googlesitekit-data-.js", null ),
     33    'googlesitekit-datastore-forms'                        => array( "googlesitekit-datastore-forms-6.js", null ),
     34    'googlesitekit-datastore-location'                     => array( "googlesitekit-datastore-location-.js", null ),
     35    'googlesitekit-datastore-site'                         => array( "googlesitekit-datastore-site-.js", null ),
     36    'googlesitekit-datastore-ui'                           => array( "googlesitekit-datastore-ui-.js", null ),
     37    'googlesitekit-datastore-user'                         => array( "googlesitekit-datastore-user-.js", null ),
     38    'googlesitekit-entity-dashboard'                       => array( "googlesitekit-entity-dashboard-.js", null ),
     39    'googlesitekit-main-dashboard'                         => array( "googlesitekit-main-dashboard-d.js", null ),
     40    'googlesitekit-modules'                                => array( "googlesitekit-modules-.js", null ),
     41    'googlesitekit-modules-ads'                            => array( "googlesitekit-modules-ads-.js", null ),
     42    'googlesitekit-modules-adsense'                        => array( "googlesitekit-modules-adsense-d.js", null ),
     43    'googlesitekit-modules-analytics-4'                    => array( "googlesitekit-modules-analytics-4-.js", null ),
     44    'googlesitekit-modules-pagespeed-insights'             => array( "googlesitekit-modules-pagespeed-insights-.js", null ),
     45    'googlesitekit-modules-reader-revenue-manager'         => array( "googlesitekit-modules-reader-revenue-manager-.js", null ),
     46    'googlesitekit-modules-search-console'                 => array( "googlesitekit-modules-search-console-.js", null ),
     47    'googlesitekit-modules-tagmanager'                     => array( "googlesitekit-modules-tagmanager-3.js", null ),
     48    'googlesitekit-notifications'                          => array( "googlesitekit-notifications-.js", null ),
     49    'googlesitekit-polyfills'                              => array( "googlesitekit-polyfills-.js", null ),
     50    'googlesitekit-settings'                               => array( "googlesitekit-settings-.js", null ),
     51    'googlesitekit-splash'                                 => array( "googlesitekit-splash-.js", null ),
     52    'googlesitekit-user-input'                             => array( "googlesitekit-user-input-.js", null ),
     53    'googlesitekit-widgets'                                => array( "googlesitekit-widgets-.js", null ),
     54    'googlesitekit-wp-dashboard'                           => array( "googlesitekit-wp-dashboard-.js", null ),
    5555);
  • google-site-kit/tags/1.135.0/google-site-kit.php

    r3141863 r3148853  
    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.134.0
     14 * Version:           1.13.0
    1515 * Requires at least: 5.2
    1616 * Requires PHP:      7.4
     
    2727
    2828// Define most essential constants.
    29 define( 'GOOGLESITEKIT_VERSION', '1.134.0' );
     29define( 'GOOGLESITEKIT_VERSION', '1.13.0' );
    3030define( 'GOOGLESITEKIT_PLUGIN_MAIN_FILE', __FILE__ );
    3131define( 'GOOGLESITEKIT_PHP_MINIMUM', '7.4.0' );
  • google-site-kit/tags/1.135.0/includes/Core/Assets/Assets.php

    r3127664 r3148853  
    802802        }
    803803
    804         return null;
     804        return ;
    805805    }
    806806
  • google-site-kit/tags/1.135.0/includes/Core/Authentication/Authentication.php

    r3141863 r3148853  
    814814    private function get_update_core_url() {
    815815        if ( ! current_user_can( 'update_core' ) ) {
    816             return null;
     816            return ;
    817817        }
    818818
  • google-site-kit/tags/1.135.0/includes/Core/Authentication/Clients/OAuth_Client.php

    r3118692 r3148853  
    400400     */
    401401    public function authorize_user() {
    402         $code       = htmlspecialchars( $this->context->input()->filter( INPUT_GET, 'code' ) );
    403         $error_code = htmlspecialchars( $this->context->input()->filter( INPUT_GET, 'error' ) );
     402        $code       = htmlspecialchars( $this->context->input()->filter( INPUT_GET, 'code' ) );
     403        $error_code = htmlspecialchars( $this->context->input()->filter( INPUT_GET, 'error' ) );
    404404        // If the OAuth redirects with an error code, handle it.
    405405        if ( ! empty( $error_code ) ) {
  • google-site-kit/tags/1.135.0/includes/Core/Authentication/Setup.php

    r3134468 r3148853  
    137137     */
    138138    public function handle_action_setup_start() {
    139         $nonce        = htmlspecialchars( $this->context->input()->filter( INPUT_GET, 'nonce' ) );
     139        $nonce        = htmlspecialchars( $this->context->input()->filter( INPUT_GET, 'nonce' ) );
    140140        $redirect_url = $this->context->input()->filter( INPUT_GET, 'redirect', FILTER_DEFAULT );
    141141
     
    217217    public function handle_action_verify() {
    218218        $input               = $this->context->input();
    219         $step                = htmlspecialchars( $input->filter( INPUT_GET, 'step' ) );
    220         $nonce               = htmlspecialchars( $input->filter( INPUT_GET, 'nonce' ) );
    221         $code                = htmlspecialchars( $input->filter( INPUT_GET, 'googlesitekit_code' ) );
    222         $site_code           = htmlspecialchars( $input->filter( INPUT_GET, 'googlesitekit_site_code' ) );
    223         $verification_token  = htmlspecialchars( $input->filter( INPUT_GET, 'googlesitekit_verification_token' ) );
    224         $verification_method = htmlspecialchars( $input->filter( INPUT_GET, 'googlesitekit_verification_token_type' ) );
     219        $step                = htmlspecialchars( $input->filter( INPUT_GET, 'step' ) );
     220        $nonce               = htmlspecialchars( $input->filter( INPUT_GET, 'nonce' ) );
     221        $code                = htmlspecialchars( $input->filter( INPUT_GET, 'googlesitekit_code' ) );
     222        $site_code           = htmlspecialchars( $input->filter( INPUT_GET, 'googlesitekit_site_code' ) );
     223        $verification_token  = htmlspecialchars( $input->filter( INPUT_GET, 'googlesitekit_verification_token' ) );
     224        $verification_method = htmlspecialchars( $input->filter( INPUT_GET, 'googlesitekit_verification_token_type' ) );
    225225
    226226        $this->verify_nonce( $nonce );
     
    276276    public function handle_action_exchange_site_code() {
    277277        $input     = $this->context->input();
    278         $step      = htmlspecialchars( $input->filter( INPUT_GET, 'step' ) );
    279         $nonce     = htmlspecialchars( $input->filter( INPUT_GET, 'nonce' ) );
    280         $code      = htmlspecialchars( $input->filter( INPUT_GET, 'googlesitekit_code' ) );
    281         $site_code = htmlspecialchars( $input->filter( INPUT_GET, 'googlesitekit_site_code' ) );
     278        $step      = htmlspecialchars( $input->filter( INPUT_GET, 'step' ) );
     279        $nonce     = htmlspecialchars( $input->filter( INPUT_GET, 'nonce' ) );
     280        $code      = htmlspecialchars( $input->filter( INPUT_GET, 'googlesitekit_code' ) );
     281        $site_code = htmlspecialchars( $input->filter( INPUT_GET, 'googlesitekit_site_code' ) );
    282282
    283283        $this->verify_nonce( $nonce );
  • google-site-kit/tags/1.135.0/includes/Core/Util/Entity_Factory.php

    r3110734 r3148853  
    1111namespace Google\Site_Kit\Core\Util;
    1212
    13 use Google\Site_Kit\Context;
    1413use Google\Site_Kit\Plugin;
    1514use WP_Query;
  • google-site-kit/tags/1.135.0/includes/Core/Util/URL.php

    r3118692 r3148853  
    139139     */
    140140    public static function permute_site_hosts( $hostname ) {
     141
     142
     143
     144
    141145        // See \Requests_IDNAEncoder::is_ascii.
    142146        $is_ascii = preg_match( '/(?:[^\x00-\x7F])/', $hostname ) !== 1;
  • google-site-kit/tags/1.135.0/includes/Core/Util/WP_Query_Factory.php

    r2790825 r3148853  
    114114
    115115        // Strip leading and trailing slashes.
    116         $url_path = trim( $url_path, '/' );
     116        if ( is_string( $url_path ) ) {
     117            $url_path = trim( $url_path, '/' );
     118        }
    117119
    118120        // Fetch the rewrite rules.
  • google-site-kit/tags/1.135.0/includes/Modules/Ads.php

    r3118692 r3148853  
    142142                    array(
    143143                        // When updating, mirror the fixed version for google-pax-sdk in package.json.
    144                         'src'          => 'https://www.gstatic.com/pax/1.0.9/pax_integrator.js',
     144                        'src'          => 'https://www.gstatic.com/pax/1.0./pax_integrator.js',
    145145                        'execution'    => 'async',
    146146                        'dependencies' => array(
  • google-site-kit/tags/1.135.0/includes/Modules/Analytics_4.php

    r3141863 r3148853  
    9191use Google\Site_Kit\Core\REST_API\REST_Routes;
    9292use Google\Site_Kit\Core\User\Audience_Settings;
     93
     94
     95
    9396use stdClass;
    9497use WP_Error;
     
    219222        $synchronize_ads_linked->register();
    220223
     224
     225
     226
     227
     228
     229
     230
     231
     232
    221233        ( new Advanced_Tracking( $this->context ) )->register();
    222234
     
    286298                            'adsLinked'                 => false,
    287299                            'adsLinkedLastSyncedAt'     => 0,
     300
    288301                            'availableAudiencesLastSyncedAt' => 0,
    289302                        )
     
    292305                    if ( ! empty( $new_value['propertyID'] ) ) {
    293306                        do_action( Synchronize_AdSenseLinked::CRON_SYNCHRONIZE_ADSENSE_LINKED );
     307
     308
     309
     310
    294311                    }
    295312                }
     
    20572074
    20582075        $matches = array();
    2059         if ( preg_match( '#properties/([^/]+)#', $property[ $id_key ], $matches ) ) {
     2076        if ( preg_match( '#properties/([^/]+)#', $property[ $id_key ], $matches ) ) {
    20602077            $obj->_id = $matches[1];
    20612078        }
    20622079
    20632080        $matches = array();
    2064         if ( preg_match( '#accounts/([^/]+)#', $property['parent'], $matches ) ) {
     2081        if ( preg_match( '#accounts/([^/]+)#', $property['parent'], $matches ) ) {
    20652082            $obj->_accountID = $matches[1]; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
    20662083        }
  • google-site-kit/tags/1.135.0/includes/Modules/Analytics_4/Advanced_Tracking/Event.php

    r3041535 r3148853  
    5959     * @return array The configuration in JSON-serializable format.
    6060     */
     61
    6162    public function jsonSerialize() {
    6263        return $this->config;
  • google-site-kit/tags/1.135.0/includes/Modules/Analytics_4/Report/ReportParsers.php

    r3118692 r3148853  
    8282    public function parse_dateranges( Data_Request $data ) {
    8383        $date_ranges = array();
    84         $start_date  = $data['startDate'];
    85         $end_date    = $data['endDate'];
     84        $start_date  = $data['startDate'];
     85        $end_date    = $data['endDate'];
    8686        if ( strtotime( $start_date ) && strtotime( $end_date ) ) {
    87             $compare_start_date = $data['compareStartDate'];
    88             $compare_end_date   = $data['compareEndDate'];
     87            $compare_start_date = $data['compareStartDate'];
     88            $compare_end_date   = $data['compareEndDate'];
    8989            $date_ranges[]      = array( $start_date, $end_date );
    9090
  • google-site-kit/tags/1.135.0/includes/Modules/Analytics_4/Report/RequestHelpers.php

    r3110734 r3148853  
    158158                $metrics,
    159159                function ( $metric ) use ( $valid_name_expression ) {
    160                     return ! preg_match( "#$valid_name_expression#", $metric->getName() );
     160                    return ! preg_match( "#$valid_name_expression#", $metric->getName() );
    161161                }
    162162            )
  • google-site-kit/tags/1.135.0/includes/Modules/Analytics_4/Settings.php

    r3118692 r3148853  
    103103            'availableAudiences'               => null,
    104104            'availableAudiencesLastSyncedAt'   => 0,
     105
    105106        );
    106107    }
  • google-site-kit/tags/1.135.0/includes/Modules/Reader_Revenue_Manager.php

    r3141863 r3148853  
    268268        $sc_settings    = $this->options->get( Search_Console_Settings::OPTION );
    269269        $sc_property_id = $sc_settings['propertyID'];
    270         $raw_url        = str_replace(
    271             array( 'sc-domain:', 'https://', 'http://', 'www.' ),
    272             '',
    273             $sc_property_id
    274         );
    275270
    276271        if ( 0 === strpos( $sc_property_id, 'sc-domain:' ) ) { // Domain property.
     272
    277273            $filter = join(
    278274                ' OR ',
    279275                array_map(
    280                     function ( $host ) {
    281                         return sprintf( 'domain = "%s"', $host );
     276                    function ( $ ) {
     277                        return sprintf( 'domain = "%s"', $ );
    282278                    },
    283                     URL::permute_site_hosts( $raw_url )
     279                    URL::permute_site_hosts( $ )
    284280                )
    285281            );
     
    288284                ' OR ',
    289285                array_map(
    290                     function ( $host ) {
    291                         return sprintf( 'site_url = "%s"', $host );
     286                    function ( $ ) {
     287                        return sprintf( 'site_url = "%s"', $ );
    292288                    },
    293                     URL::permute_site_url( $raw_url )
     289                    URL::permute_site_url( $ )
    294290                )
    295291            );
  • google-site-kit/tags/1.135.0/includes/Modules/Search_Console.php

    r3118692 r3148853  
    304304                $entries     = Sort::case_insensitive_list_sort(
    305305                    $this->map_sites( (array) $response->getSiteEntry() ),
    306                     'name'
     306                    '
    307307                );
    308308                $strict      = filter_var( $data['strict'], FILTER_VALIDATE_BOOLEAN );
  • google-site-kit/tags/1.135.0/includes/vendor/composer/autoload_classmap.php

    r3141863 r3148853  
    263263    'Google\\Site_Kit\\Modules\\Analytics_4\\Advanced_Tracking\\Event_List_Registry' => $baseDir . '/Modules/Analytics_4/Advanced_Tracking/Event_List_Registry.php',
    264264    'Google\\Site_Kit\\Modules\\Analytics_4\\Advanced_Tracking\\Script_Injector' => $baseDir . '/Modules/Analytics_4/Advanced_Tracking/Script_Injector.php',
     265
     266
     267
    265268    'Google\\Site_Kit\\Modules\\Analytics_4\\Custom_Dimensions_Data_Available' => $baseDir . '/Modules/Analytics_4/Custom_Dimensions_Data_Available.php',
    266269    'Google\\Site_Kit\\Modules\\Analytics_4\\GoogleAnalyticsAdmin\\AccountProvisioningService' => $baseDir . '/Modules/Analytics_4/GoogleAnalyticsAdmin/AccountProvisioningService.php',
  • google-site-kit/tags/1.135.0/readme.txt

    r3141863 r3148853  
    55Tested up to:      6.6
    66Requires PHP:      7.4
    7 Stable tag:        1.134.0
     7Stable tag:        1.13.0
    88License:           Apache License 2.0
    99License URI:       https://www.apache.org/licenses/LICENSE-2.0
     
    110110== Changelog ==
    111111
    112 = 1.134.0 =
     112= 1.135.0 =
     113
     114**Added**
     115
     116* Add a cron task to fetch Analytics report data for conversion events reporting. See [#9130](https://github.com/google/site-kit-wp/issues/9130).
    113117
    114118**Enhanced**
    115119
    116 * Refactor the ZeroDataNotification to use the new lighter Notification component. See [#9184](https://github.com/google/site-kit-wp/issues/9184).
    117 * Modify the Reader Revenue Manager's `resetPublications` action to clear publications before invalidating the `getPublications` resolver. See [#9176](https://github.com/google/site-kit-wp/issues/9176).
    118 * Improve the Reader Revenue Manager settings edit screen by handling cases where the configured publication is unavailable, or the user lacks access by displaying appropriate notices. See [#9151](https://github.com/google/site-kit-wp/issues/9151).
    119 * Improve the check for whether a user has access to the Reader Revenue Manager module, requiring the user to have visibility of the connected publication ID. See [#9150](https://github.com/google/site-kit-wp/issues/9150).
    120 * Refactor the GatheringDataNotification to use a newly refactored version of the BannerNotification component. See [#9071](https://github.com/google/site-kit-wp/issues/9071).
    121 * Add the `async` attribute to the Subscribe with Google script tag. See [#9055](https://github.com/google/site-kit-wp/issues/9055).
    122 * Refactor the ZeroDataNotification to use the new Notifications approach. See [#8977](https://github.com/google/site-kit-wp/issues/8977).
    123 * Update notifications to use new notifications infrastructure. See [#8976](https://github.com/google/site-kit-wp/issues/8976).
    124 * Improve error handling for widgets. See [#8939](https://github.com/google/site-kit-wp/issues/8939).
    125 * Handle errors when retrieving the user count to show in the Audience Selection Panel for audiences which are in the partial data state. See [#8923](https://github.com/google/site-kit-wp/issues/8923).
    126 * Adjust the CTA and "New" badge positions for widget areas on mobile and tablet viewports. See [#8863](https://github.com/google/site-kit-wp/issues/8863).
    127 * Add Analytics tracking events for the Reader Revenue Manager module. See [#8847](https://github.com/google/site-kit-wp/issues/8847).
    128 * Add the Reader Revenue Manager module setup CTA banner notification to the Site Kit main dashboard, visible only on HTTPS-enabled sites. See [#8846](https://github.com/google/site-kit-wp/issues/8846).
    129 * Add the Reader Revenue Manager module success setup banner notification. See [#8840](https://github.com/google/site-kit-wp/issues/8840).
    130 * Detached audience segmentation settings from the Analytics module. See [#8810](https://github.com/google/site-kit-wp/issues/8810).
    131 * Implement the placeholder tile variants for the Audience Tile that appear when only one audience is selected. See [#8146](https://github.com/google/site-kit-wp/issues/8146).
    132 * Add fallback for remote feature activation. See [#7531](https://github.com/google/site-kit-wp/issues/7531).
    133 
    134 **Changed**
    135 
    136 * Remove UA Analytics tracking from Site Kit admin. See [#9042](https://github.com/google/site-kit-wp/issues/9042).
     120* Add an "Edit in Reader Revenue Manager" link to the RRM module's settings view screen. See [#9192](https://github.com/google/site-kit-wp/issues/9192).
     121* Add `conversionReporting` feature flag to plugin. See [#9152](https://github.com/google/site-kit-wp/issues/9152).
     122* Add support for Analytics Conversion Report Events in data store. See [#9132](https://github.com/google/site-kit-wp/issues/9132).
     123* Fix the undefined array key "name" warning. See [#9113](https://github.com/google/site-kit-wp/issues/9113).
     124* Don't show the Audiences Widget Area on the dashboard when the "Display visitor groups in dashboard" switch is toggled off in the Settings section. See [#9065](https://github.com/google/site-kit-wp/issues/9065).
     125* Refactor PAX notification to use new notification infrastructure. See [#8980](https://github.com/google/site-kit-wp/issues/8980).
     126* Update Google Tag scope notifications to use new notifications infrastructure. See [#8979](https://github.com/google/site-kit-wp/issues/8979).
     127* Update banner notification code for the "Unsatisfied Scopes Alert" banner notification. See [#8978](https://github.com/google/site-kit-wp/issues/8978).
     128* Optimize Audience Segmentation related API calls to be made only when the area is being viewed. See [#8879](https://github.com/google/site-kit-wp/issues/8879).
     129* Add the `PublicationOnboardingStateNotice` component, rendering a notice based on the onboarding state of the current publication and presented in Storybook. See [#8838](https://github.com/google/site-kit-wp/issues/8838).
     130* Fix PHP 8.1 deprecation notices. See [#8589](https://github.com/google/site-kit-wp/issues/8589).
     131* Enhance Audience Segmentation CTAs to not appear on shared dashboard. See [#8174](https://github.com/google/site-kit-wp/issues/8174).
     132* Show a notice in the Audience Creation Notice when the Analytics edit scope is missing, and proceed directly to the OAuth flow upon clicking a CTA to create an audience. See [#8165](https://github.com/google/site-kit-wp/issues/8165).
     133* Show an Audience Tile in an error state if an error occurred while retrieving its data; show a combined error state if all audiences have an error. See [#8147](https://github.com/google/site-kit-wp/issues/8147).
    137134
    138135**Fixed**
    139136
    140 * Update the "See full details" link in Reader Revenue Manager. See [#9144](https://github.com/google/site-kit-wp/issues/9144).
    141 * Ensure that a Selection Panel without any available items doesn't display the available items title. See [#9109](https://github.com/google/site-kit-wp/issues/9109).
    142 * Fix bug where selected audiences which have been archived would remain visible in the loading state. See [#9095](https://github.com/google/site-kit-wp/issues/9095).
     137* ).
     138* ).
     139* ).
    143140
    144141[See changelog for all versions](https://raw.githubusercontent.com/google/site-kit-wp/main/changelog.txt).
  • google-site-kit/trunk/dist/config.php

    r3134468 r3148853  
    88
    99return array(
    10     'features' => array( 'adsPax','audienceSegmentation','conversionInfra','gm3Components','privacySandboxModule','rrmModule' ),
     10    'features' => array( 'adsPax','audienceSegmentation','conversionInfra','gm3Components','privacySandboxModule','rrmModule' ),
    1111);
  • google-site-kit/trunk/dist/manifest.php

    r3141863 r3148853  
    1919    'analytics-advanced-tracking'                          => array( "analytics-advanced-tracking-ea84b2c367b69f5c094b.js", null ),
    2020    'googlesitekit-i18n'                                   => array( "googlesitekit-i18n-33cdd2dee5d1d1f4fb34.js", null ),
    21     'googlesitekit-admin-css'                              => array( "googlesitekit-admin-css-ba6e9e2a0bcfb5f1a637.min.css", null ),
     21    'googlesitekit-admin-css'                              => array( "googlesitekit-admin-css-.min.css", null ),
    2222    'googlesitekit-adminbar-css'                           => array( "googlesitekit-adminbar-css-6db776544b37175be17f.min.css", null ),
    2323    'googlesitekit-authorize-application-css'              => array( "googlesitekit-authorize-application-css-ce25e97404abc5a02921.min.css", null ),
    2424    'googlesitekit-wp-dashboard-css'                       => array( "googlesitekit-wp-dashboard-css-d1180e1ae01fd577a4c5.min.css", null ),
    25     'googlesitekit-vendor'                                 => array( "googlesitekit-vendor-625942ce3e249bc6cbbb.js", null ),
    26     'googlesitekit-runtime'                                => array( "runtime-f562582a775dd979d8cc.js", null ),
    27     'googlesitekit-activation'                             => array( "googlesitekit-activation-0156e9e9183768884a51.js", null ),
    28     'googlesitekit-ad-blocking-recovery'                   => array( "googlesitekit-ad-blocking-recovery-5ec12229d17f3e26e18d.js", null ),
    29     'googlesitekit-adminbar'                               => array( "googlesitekit-adminbar-26b6ac7482380c6f0503.js", null ),
    30     'googlesitekit-api'                                    => array( "googlesitekit-api-ab52eed0ee6a44be38b3.js", null ),
    31     'googlesitekit-components'                             => array( array( "googlesitekit-components-gm2-0f8ff214aaee64f1e091.js", null ), array( "googlesitekit-components-gm3-d2883b93374979796649.js", null ) ),
    32     'googlesitekit-data'                                   => array( "googlesitekit-data-def4f4a434351223837f.js", null ),
    33     'googlesitekit-datastore-forms'                        => array( "googlesitekit-datastore-forms-c9b81525d9016cbbbef6.js", null ),
    34     'googlesitekit-datastore-location'                     => array( "googlesitekit-datastore-location-03c93cc12544ccbbdf50.js", null ),
    35     'googlesitekit-datastore-site'                         => array( "googlesitekit-datastore-site-4e71ab7c3bb633e19a32.js", null ),
    36     'googlesitekit-datastore-ui'                           => array( "googlesitekit-datastore-ui-99ab3cc36ca122895f43.js", null ),
    37     'googlesitekit-datastore-user'                         => array( "googlesitekit-datastore-user-addf75df8db655765af0.js", null ),
    38     'googlesitekit-entity-dashboard'                       => array( "googlesitekit-entity-dashboard-bf6ba3f0b9c923f11709.js", null ),
    39     'googlesitekit-main-dashboard'                         => array( "googlesitekit-main-dashboard-db649d3c3b6d9027a824.js", null ),
    40     'googlesitekit-modules'                                => array( "googlesitekit-modules-dc6e37a871796540fbac.js", null ),
    41     'googlesitekit-modules-ads'                            => array( "googlesitekit-modules-ads-8a01949acbaf5f9513e3.js", null ),
    42     'googlesitekit-modules-adsense'                        => array( "googlesitekit-modules-adsense-d4e969b135b277b3f61b.js", null ),
    43     'googlesitekit-modules-analytics-4'                    => array( "googlesitekit-modules-analytics-4-00f0bb07e4bd025aa07f.js", null ),
    44     'googlesitekit-modules-pagespeed-insights'             => array( "googlesitekit-modules-pagespeed-insights-e5394ed3d712ca668967.js", null ),
    45     'googlesitekit-modules-reader-revenue-manager'         => array( "googlesitekit-modules-reader-revenue-manager-3ac3cc164752a4e67945.js", null ),
    46     'googlesitekit-modules-search-console'                 => array( "googlesitekit-modules-search-console-54fe3c8e34c8e7b2cdd7.js", null ),
    47     'googlesitekit-modules-tagmanager'                     => array( "googlesitekit-modules-tagmanager-36854685cfc078aa9ea4.js", null ),
    48     'googlesitekit-notifications'                          => array( "googlesitekit-notifications-e5815fba60fe1cb1e172.js", null ),
    49     'googlesitekit-polyfills'                              => array( "googlesitekit-polyfills-c5dfeeeb4566ab655187.js", null ),
    50     'googlesitekit-settings'                               => array( "googlesitekit-settings-c5ed8a54309d018a6b77.js", null ),
    51     'googlesitekit-splash'                                 => array( "googlesitekit-splash-76b922a28fcdee85f514.js", null ),
    52     'googlesitekit-user-input'                             => array( "googlesitekit-user-input-1c36e0eb8c8ea1c166b1.js", null ),
    53     'googlesitekit-widgets'                                => array( "googlesitekit-widgets-c4b49ec1e2ef6587bc2d.js", null ),
    54     'googlesitekit-wp-dashboard'                           => array( "googlesitekit-wp-dashboard-bfa6aa6193cf3a1caccc.js", null ),
     25    'googlesitekit-vendor'                                 => array( "googlesitekit-vendor-b.js", null ),
     26    'googlesitekit-runtime'                                => array( "runtime-.js", null ),
     27    'googlesitekit-activation'                             => array( "googlesitekit-activation-0.js", null ),
     28    'googlesitekit-ad-blocking-recovery'                   => array( "googlesitekit-ad-blocking-recovery-5.js", null ),
     29    'googlesitekit-adminbar'                               => array( "googlesitekit-adminbar-.js", null ),
     30    'googlesitekit-api'                                    => array( "googlesitekit-api-.js", null ),
     31    'googlesitekit-components'                             => array( array( "googlesitekit-components-gm2-.js", null ) ),
     32    'googlesitekit-data'                                   => array( "googlesitekit-data-.js", null ),
     33    'googlesitekit-datastore-forms'                        => array( "googlesitekit-datastore-forms-6.js", null ),
     34    'googlesitekit-datastore-location'                     => array( "googlesitekit-datastore-location-.js", null ),
     35    'googlesitekit-datastore-site'                         => array( "googlesitekit-datastore-site-.js", null ),
     36    'googlesitekit-datastore-ui'                           => array( "googlesitekit-datastore-ui-.js", null ),
     37    'googlesitekit-datastore-user'                         => array( "googlesitekit-datastore-user-.js", null ),
     38    'googlesitekit-entity-dashboard'                       => array( "googlesitekit-entity-dashboard-.js", null ),
     39    'googlesitekit-main-dashboard'                         => array( "googlesitekit-main-dashboard-d.js", null ),
     40    'googlesitekit-modules'                                => array( "googlesitekit-modules-.js", null ),
     41    'googlesitekit-modules-ads'                            => array( "googlesitekit-modules-ads-.js", null ),
     42    'googlesitekit-modules-adsense'                        => array( "googlesitekit-modules-adsense-d.js", null ),
     43    'googlesitekit-modules-analytics-4'                    => array( "googlesitekit-modules-analytics-4-.js", null ),
     44    'googlesitekit-modules-pagespeed-insights'             => array( "googlesitekit-modules-pagespeed-insights-.js", null ),
     45    'googlesitekit-modules-reader-revenue-manager'         => array( "googlesitekit-modules-reader-revenue-manager-.js", null ),
     46    'googlesitekit-modules-search-console'                 => array( "googlesitekit-modules-search-console-.js", null ),
     47    'googlesitekit-modules-tagmanager'                     => array( "googlesitekit-modules-tagmanager-3.js", null ),
     48    'googlesitekit-notifications'                          => array( "googlesitekit-notifications-.js", null ),
     49    'googlesitekit-polyfills'                              => array( "googlesitekit-polyfills-.js", null ),
     50    'googlesitekit-settings'                               => array( "googlesitekit-settings-.js", null ),
     51    'googlesitekit-splash'                                 => array( "googlesitekit-splash-.js", null ),
     52    'googlesitekit-user-input'                             => array( "googlesitekit-user-input-.js", null ),
     53    'googlesitekit-widgets'                                => array( "googlesitekit-widgets-.js", null ),
     54    'googlesitekit-wp-dashboard'                           => array( "googlesitekit-wp-dashboard-.js", null ),
    5555);
  • google-site-kit/trunk/google-site-kit.php

    r3141863 r3148853  
    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.134.0
     14 * Version:           1.13.0
    1515 * Requires at least: 5.2
    1616 * Requires PHP:      7.4
     
    2727
    2828// Define most essential constants.
    29 define( 'GOOGLESITEKIT_VERSION', '1.134.0' );
     29define( 'GOOGLESITEKIT_VERSION', '1.13.0' );
    3030define( 'GOOGLESITEKIT_PLUGIN_MAIN_FILE', __FILE__ );
    3131define( 'GOOGLESITEKIT_PHP_MINIMUM', '7.4.0' );
  • google-site-kit/trunk/includes/Core/Assets/Assets.php

    r3127664 r3148853  
    802802        }
    803803
    804         return null;
     804        return ;
    805805    }
    806806
  • google-site-kit/trunk/includes/Core/Authentication/Authentication.php

    r3141863 r3148853  
    814814    private function get_update_core_url() {
    815815        if ( ! current_user_can( 'update_core' ) ) {
    816             return null;
     816            return ;
    817817        }
    818818
  • google-site-kit/trunk/includes/Core/Authentication/Clients/OAuth_Client.php

    r3118692 r3148853  
    400400     */
    401401    public function authorize_user() {
    402         $code       = htmlspecialchars( $this->context->input()->filter( INPUT_GET, 'code' ) );
    403         $error_code = htmlspecialchars( $this->context->input()->filter( INPUT_GET, 'error' ) );
     402        $code       = htmlspecialchars( $this->context->input()->filter( INPUT_GET, 'code' ) );
     403        $error_code = htmlspecialchars( $this->context->input()->filter( INPUT_GET, 'error' ) );
    404404        // If the OAuth redirects with an error code, handle it.
    405405        if ( ! empty( $error_code ) ) {
  • google-site-kit/trunk/includes/Core/Authentication/Setup.php

    r3134468 r3148853  
    137137     */
    138138    public function handle_action_setup_start() {
    139         $nonce        = htmlspecialchars( $this->context->input()->filter( INPUT_GET, 'nonce' ) );
     139        $nonce        = htmlspecialchars( $this->context->input()->filter( INPUT_GET, 'nonce' ) );
    140140        $redirect_url = $this->context->input()->filter( INPUT_GET, 'redirect', FILTER_DEFAULT );
    141141
     
    217217    public function handle_action_verify() {
    218218        $input               = $this->context->input();
    219         $step                = htmlspecialchars( $input->filter( INPUT_GET, 'step' ) );
    220         $nonce               = htmlspecialchars( $input->filter( INPUT_GET, 'nonce' ) );
    221         $code                = htmlspecialchars( $input->filter( INPUT_GET, 'googlesitekit_code' ) );
    222         $site_code           = htmlspecialchars( $input->filter( INPUT_GET, 'googlesitekit_site_code' ) );
    223         $verification_token  = htmlspecialchars( $input->filter( INPUT_GET, 'googlesitekit_verification_token' ) );
    224         $verification_method = htmlspecialchars( $input->filter( INPUT_GET, 'googlesitekit_verification_token_type' ) );
     219        $step                = htmlspecialchars( $input->filter( INPUT_GET, 'step' ) );
     220        $nonce               = htmlspecialchars( $input->filter( INPUT_GET, 'nonce' ) );
     221        $code                = htmlspecialchars( $input->filter( INPUT_GET, 'googlesitekit_code' ) );
     222        $site_code           = htmlspecialchars( $input->filter( INPUT_GET, 'googlesitekit_site_code' ) );
     223        $verification_token  = htmlspecialchars( $input->filter( INPUT_GET, 'googlesitekit_verification_token' ) );
     224        $verification_method = htmlspecialchars( $input->filter( INPUT_GET, 'googlesitekit_verification_token_type' ) );
    225225
    226226        $this->verify_nonce( $nonce );
     
    276276    public function handle_action_exchange_site_code() {
    277277        $input     = $this->context->input();
    278         $step      = htmlspecialchars( $input->filter( INPUT_GET, 'step' ) );
    279         $nonce     = htmlspecialchars( $input->filter( INPUT_GET, 'nonce' ) );
    280         $code      = htmlspecialchars( $input->filter( INPUT_GET, 'googlesitekit_code' ) );
    281         $site_code = htmlspecialchars( $input->filter( INPUT_GET, 'googlesitekit_site_code' ) );
     278        $step      = htmlspecialchars( $input->filter( INPUT_GET, 'step' ) );
     279        $nonce     = htmlspecialchars( $input->filter( INPUT_GET, 'nonce' ) );
     280        $code      = htmlspecialchars( $input->filter( INPUT_GET, 'googlesitekit_code' ) );
     281        $site_code = htmlspecialchars( $input->filter( INPUT_GET, 'googlesitekit_site_code' ) );
    282282
    283283        $this->verify_nonce( $nonce );
  • google-site-kit/trunk/includes/Core/Util/Entity_Factory.php

    r3110734 r3148853  
    1111namespace Google\Site_Kit\Core\Util;
    1212
    13 use Google\Site_Kit\Context;
    1413use Google\Site_Kit\Plugin;
    1514use WP_Query;
  • google-site-kit/trunk/includes/Core/Util/URL.php

    r3118692 r3148853  
    139139     */
    140140    public static function permute_site_hosts( $hostname ) {
     141
     142
     143
     144
    141145        // See \Requests_IDNAEncoder::is_ascii.
    142146        $is_ascii = preg_match( '/(?:[^\x00-\x7F])/', $hostname ) !== 1;
  • google-site-kit/trunk/includes/Core/Util/WP_Query_Factory.php

    r2790825 r3148853  
    114114
    115115        // Strip leading and trailing slashes.
    116         $url_path = trim( $url_path, '/' );
     116        if ( is_string( $url_path ) ) {
     117            $url_path = trim( $url_path, '/' );
     118        }
    117119
    118120        // Fetch the rewrite rules.
  • google-site-kit/trunk/includes/Modules/Ads.php

    r3118692 r3148853  
    142142                    array(
    143143                        // When updating, mirror the fixed version for google-pax-sdk in package.json.
    144                         'src'          => 'https://www.gstatic.com/pax/1.0.9/pax_integrator.js',
     144                        'src'          => 'https://www.gstatic.com/pax/1.0./pax_integrator.js',
    145145                        'execution'    => 'async',
    146146                        'dependencies' => array(
  • google-site-kit/trunk/includes/Modules/Analytics_4.php

    r3141863 r3148853  
    9191use Google\Site_Kit\Core\REST_API\REST_Routes;
    9292use Google\Site_Kit\Core\User\Audience_Settings;
     93
     94
     95
    9396use stdClass;
    9497use WP_Error;
     
    219222        $synchronize_ads_linked->register();
    220223
     224
     225
     226
     227
     228
     229
     230
     231
     232
    221233        ( new Advanced_Tracking( $this->context ) )->register();
    222234
     
    286298                            'adsLinked'                 => false,
    287299                            'adsLinkedLastSyncedAt'     => 0,
     300
    288301                            'availableAudiencesLastSyncedAt' => 0,
    289302                        )
     
    292305                    if ( ! empty( $new_value['propertyID'] ) ) {
    293306                        do_action( Synchronize_AdSenseLinked::CRON_SYNCHRONIZE_ADSENSE_LINKED );
     307
     308
     309
     310
    294311                    }
    295312                }
     
    20572074
    20582075        $matches = array();
    2059         if ( preg_match( '#properties/([^/]+)#', $property[ $id_key ], $matches ) ) {
     2076        if ( preg_match( '#properties/([^/]+)#', $property[ $id_key ], $matches ) ) {
    20602077            $obj->_id = $matches[1];
    20612078        }
    20622079
    20632080        $matches = array();
    2064         if ( preg_match( '#accounts/([^/]+)#', $property['parent'], $matches ) ) {
     2081        if ( preg_match( '#accounts/([^/]+)#', $property['parent'], $matches ) ) {
    20652082            $obj->_accountID = $matches[1]; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
    20662083        }
  • google-site-kit/trunk/includes/Modules/Analytics_4/Advanced_Tracking/Event.php

    r3041535 r3148853  
    5959     * @return array The configuration in JSON-serializable format.
    6060     */
     61
    6162    public function jsonSerialize() {
    6263        return $this->config;
  • google-site-kit/trunk/includes/Modules/Analytics_4/Report/ReportParsers.php

    r3118692 r3148853  
    8282    public function parse_dateranges( Data_Request $data ) {
    8383        $date_ranges = array();
    84         $start_date  = $data['startDate'];
    85         $end_date    = $data['endDate'];
     84        $start_date  = $data['startDate'];
     85        $end_date    = $data['endDate'];
    8686        if ( strtotime( $start_date ) && strtotime( $end_date ) ) {
    87             $compare_start_date = $data['compareStartDate'];
    88             $compare_end_date   = $data['compareEndDate'];
     87            $compare_start_date = $data['compareStartDate'];
     88            $compare_end_date   = $data['compareEndDate'];
    8989            $date_ranges[]      = array( $start_date, $end_date );
    9090
  • google-site-kit/trunk/includes/Modules/Analytics_4/Report/RequestHelpers.php

    r3110734 r3148853  
    158158                $metrics,
    159159                function ( $metric ) use ( $valid_name_expression ) {
    160                     return ! preg_match( "#$valid_name_expression#", $metric->getName() );
     160                    return ! preg_match( "#$valid_name_expression#", $metric->getName() );
    161161                }
    162162            )
  • google-site-kit/trunk/includes/Modules/Analytics_4/Settings.php

    r3118692 r3148853  
    103103            'availableAudiences'               => null,
    104104            'availableAudiencesLastSyncedAt'   => 0,
     105
    105106        );
    106107    }
  • google-site-kit/trunk/includes/Modules/Reader_Revenue_Manager.php

    r3141863 r3148853  
    268268        $sc_settings    = $this->options->get( Search_Console_Settings::OPTION );
    269269        $sc_property_id = $sc_settings['propertyID'];
    270         $raw_url        = str_replace(
    271             array( 'sc-domain:', 'https://', 'http://', 'www.' ),
    272             '',
    273             $sc_property_id
    274         );
    275270
    276271        if ( 0 === strpos( $sc_property_id, 'sc-domain:' ) ) { // Domain property.
     272
    277273            $filter = join(
    278274                ' OR ',
    279275                array_map(
    280                     function ( $host ) {
    281                         return sprintf( 'domain = "%s"', $host );
     276                    function ( $ ) {
     277                        return sprintf( 'domain = "%s"', $ );
    282278                    },
    283                     URL::permute_site_hosts( $raw_url )
     279                    URL::permute_site_hosts( $ )
    284280                )
    285281            );
     
    288284                ' OR ',
    289285                array_map(
    290                     function ( $host ) {
    291                         return sprintf( 'site_url = "%s"', $host );
     286                    function ( $ ) {
     287                        return sprintf( 'site_url = "%s"', $ );
    292288                    },
    293                     URL::permute_site_url( $raw_url )
     289                    URL::permute_site_url( $ )
    294290                )
    295291            );
  • google-site-kit/trunk/includes/Modules/Search_Console.php

    r3118692 r3148853  
    304304                $entries     = Sort::case_insensitive_list_sort(
    305305                    $this->map_sites( (array) $response->getSiteEntry() ),
    306                     'name'
     306                    '
    307307                );
    308308                $strict      = filter_var( $data['strict'], FILTER_VALIDATE_BOOLEAN );
  • google-site-kit/trunk/includes/vendor/composer/autoload_classmap.php

    r3141863 r3148853  
    263263    'Google\\Site_Kit\\Modules\\Analytics_4\\Advanced_Tracking\\Event_List_Registry' => $baseDir . '/Modules/Analytics_4/Advanced_Tracking/Event_List_Registry.php',
    264264    'Google\\Site_Kit\\Modules\\Analytics_4\\Advanced_Tracking\\Script_Injector' => $baseDir . '/Modules/Analytics_4/Advanced_Tracking/Script_Injector.php',
     265
     266
     267
    265268    'Google\\Site_Kit\\Modules\\Analytics_4\\Custom_Dimensions_Data_Available' => $baseDir . '/Modules/Analytics_4/Custom_Dimensions_Data_Available.php',
    266269    'Google\\Site_Kit\\Modules\\Analytics_4\\GoogleAnalyticsAdmin\\AccountProvisioningService' => $baseDir . '/Modules/Analytics_4/GoogleAnalyticsAdmin/AccountProvisioningService.php',
  • google-site-kit/trunk/readme.txt

    r3141863 r3148853  
    55Tested up to:      6.6
    66Requires PHP:      7.4
    7 Stable tag:        1.134.0
     7Stable tag:        1.13.0
    88License:           Apache License 2.0
    99License URI:       https://www.apache.org/licenses/LICENSE-2.0
     
    110110== Changelog ==
    111111
    112 = 1.134.0 =
     112= 1.135.0 =
     113
     114**Added**
     115
     116* Add a cron task to fetch Analytics report data for conversion events reporting. See [#9130](https://github.com/google/site-kit-wp/issues/9130).
    113117
    114118**Enhanced**
    115119
    116 * Refactor the ZeroDataNotification to use the new lighter Notification component. See [#9184](https://github.com/google/site-kit-wp/issues/9184).
    117 * Modify the Reader Revenue Manager's `resetPublications` action to clear publications before invalidating the `getPublications` resolver. See [#9176](https://github.com/google/site-kit-wp/issues/9176).
    118 * Improve the Reader Revenue Manager settings edit screen by handling cases where the configured publication is unavailable, or the user lacks access by displaying appropriate notices. See [#9151](https://github.com/google/site-kit-wp/issues/9151).
    119 * Improve the check for whether a user has access to the Reader Revenue Manager module, requiring the user to have visibility of the connected publication ID. See [#9150](https://github.com/google/site-kit-wp/issues/9150).
    120 * Refactor the GatheringDataNotification to use a newly refactored version of the BannerNotification component. See [#9071](https://github.com/google/site-kit-wp/issues/9071).
    121 * Add the `async` attribute to the Subscribe with Google script tag. See [#9055](https://github.com/google/site-kit-wp/issues/9055).
    122 * Refactor the ZeroDataNotification to use the new Notifications approach. See [#8977](https://github.com/google/site-kit-wp/issues/8977).
    123 * Update notifications to use new notifications infrastructure. See [#8976](https://github.com/google/site-kit-wp/issues/8976).
    124 * Improve error handling for widgets. See [#8939](https://github.com/google/site-kit-wp/issues/8939).
    125 * Handle errors when retrieving the user count to show in the Audience Selection Panel for audiences which are in the partial data state. See [#8923](https://github.com/google/site-kit-wp/issues/8923).
    126 * Adjust the CTA and "New" badge positions for widget areas on mobile and tablet viewports. See [#8863](https://github.com/google/site-kit-wp/issues/8863).
    127 * Add Analytics tracking events for the Reader Revenue Manager module. See [#8847](https://github.com/google/site-kit-wp/issues/8847).
    128 * Add the Reader Revenue Manager module setup CTA banner notification to the Site Kit main dashboard, visible only on HTTPS-enabled sites. See [#8846](https://github.com/google/site-kit-wp/issues/8846).
    129 * Add the Reader Revenue Manager module success setup banner notification. See [#8840](https://github.com/google/site-kit-wp/issues/8840).
    130 * Detached audience segmentation settings from the Analytics module. See [#8810](https://github.com/google/site-kit-wp/issues/8810).
    131 * Implement the placeholder tile variants for the Audience Tile that appear when only one audience is selected. See [#8146](https://github.com/google/site-kit-wp/issues/8146).
    132 * Add fallback for remote feature activation. See [#7531](https://github.com/google/site-kit-wp/issues/7531).
    133 
    134 **Changed**
    135 
    136 * Remove UA Analytics tracking from Site Kit admin. See [#9042](https://github.com/google/site-kit-wp/issues/9042).
     120* Add an "Edit in Reader Revenue Manager" link to the RRM module's settings view screen. See [#9192](https://github.com/google/site-kit-wp/issues/9192).
     121* Add `conversionReporting` feature flag to plugin. See [#9152](https://github.com/google/site-kit-wp/issues/9152).
     122* Add support for Analytics Conversion Report Events in data store. See [#9132](https://github.com/google/site-kit-wp/issues/9132).
     123* Fix the undefined array key "name" warning. See [#9113](https://github.com/google/site-kit-wp/issues/9113).
     124* Don't show the Audiences Widget Area on the dashboard when the "Display visitor groups in dashboard" switch is toggled off in the Settings section. See [#9065](https://github.com/google/site-kit-wp/issues/9065).
     125* Refactor PAX notification to use new notification infrastructure. See [#8980](https://github.com/google/site-kit-wp/issues/8980).
     126* Update Google Tag scope notifications to use new notifications infrastructure. See [#8979](https://github.com/google/site-kit-wp/issues/8979).
     127* Update banner notification code for the "Unsatisfied Scopes Alert" banner notification. See [#8978](https://github.com/google/site-kit-wp/issues/8978).
     128* Optimize Audience Segmentation related API calls to be made only when the area is being viewed. See [#8879](https://github.com/google/site-kit-wp/issues/8879).
     129* Add the `PublicationOnboardingStateNotice` component, rendering a notice based on the onboarding state of the current publication and presented in Storybook. See [#8838](https://github.com/google/site-kit-wp/issues/8838).
     130* Fix PHP 8.1 deprecation notices. See [#8589](https://github.com/google/site-kit-wp/issues/8589).
     131* Enhance Audience Segmentation CTAs to not appear on shared dashboard. See [#8174](https://github.com/google/site-kit-wp/issues/8174).
     132* Show a notice in the Audience Creation Notice when the Analytics edit scope is missing, and proceed directly to the OAuth flow upon clicking a CTA to create an audience. See [#8165](https://github.com/google/site-kit-wp/issues/8165).
     133* Show an Audience Tile in an error state if an error occurred while retrieving its data; show a combined error state if all audiences have an error. See [#8147](https://github.com/google/site-kit-wp/issues/8147).
    137134
    138135**Fixed**
    139136
    140 * Update the "See full details" link in Reader Revenue Manager. See [#9144](https://github.com/google/site-kit-wp/issues/9144).
    141 * Ensure that a Selection Panel without any available items doesn't display the available items title. See [#9109](https://github.com/google/site-kit-wp/issues/9109).
    142 * Fix bug where selected audiences which have been archived would remain visible in the loading state. See [#9095](https://github.com/google/site-kit-wp/issues/9095).
     137* ).
     138* ).
     139* ).
    143140
    144141[See changelog for all versions](https://raw.githubusercontent.com/google/site-kit-wp/main/changelog.txt).
Note: See TracChangeset for help on using the changeset viewer.