This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html><head><meta content="text/html; charset=UTF-8" http-equiv="content-type"><style type="text/css">@import url('https://themes.googleusercontent.com/fonts/css?kit=Ry7ZpkCWHRNK4QK2VqZc1A');.lst-kix_iksx4snm8e8q-8>li:before{content:"\0025a0 "}ul.lst-kix_iksx4snm8e8q-5{list-style-type:none}.lst-kix_iksx4snm8e8q-4>li:before{content:"\0025cb "}ul.lst-kix_iksx4snm8e8q-4{list-style-type:none}ul.lst-kix_iksx4snm8e8q-3{list-style-type:none}ul.lst-kix_iksx4snm8e8q-2{list-style-type:none}ul.lst-kix_iksx4snm8e8q-1{list-style-type:none}ul.lst-kix_iksx4snm8e8q-0{list-style-type:none}.lst-kix_iksx4snm8e8q-2>li:before{content:"\0025a0 "}.lst-kix_iksx4snm8e8q-3>li:before{content:"\0025cf "}.lst-kix_iksx4snm8e8q-0>li:before{content:"\0025cf "}.lst-kix_iksx4snm8e8q-1>li:before{content:"\0025cb "}ul.lst-kix_iksx4snm8e8q-8{list-style-type:none}ul.lst-kix_iksx4snm8e8q-7{list-style-type:none}ul.lst-kix_iksx4snm8e8q-6{list-style-type:none}.lst-kix_iksx4snm8e8q-5>li:before{content:"\0025a0 "}.lst-kix_iksx4snm8e8q-6>li:befor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Measure Web Vitals in Analytics | |
| * | |
| * @copyright 2020 Google LLC | |
| * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 | |
| * | |
| * @wordpress-plugin | |
| * Plugin Name: Measure Vitals | |
| * Description: Measure Web Vitals in Analytics |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Enable the 'analytics-step' setup mode. | |
| * | |
| * @copyright 2020 Google LLC | |
| * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 | |
| * @link https://sitekit.withgoogle.com | |
| * | |
| * @wordpress-plugin | |
| * Plugin Name: Analytics Step Setup |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "modules::analytics:report::1cc2cfc3218eab9aa0d167f96fe944ea": [{ | |
| "nextPageToken": null, | |
| "columnHeader": { | |
| "dimensions": ["ga:channelGrouping"], | |
| "metricHeader": { | |
| "metricHeaderEntries": [{ | |
| "name": "Sessions", | |
| "type": "INTEGER" | |
| }, { | |
| "name": "Users", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Add debugging information for Google Site Kit. | |
| * | |
| * @package Google\Site_Kit | |
| * @copyright 2020 Google LLC | |
| * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 | |
| * @link https://sitekit.withgoogle.com | |
| * | |
| * @wordpress-plugin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Live Reload mini-plugin. | |
| * | |
| * @package wordpress | |
| * @author Adam Silverstein, Google | |
| * @link | |
| * @license GPL-2.0-or-later | |
| * @copyright 2020 Google Inc. | |
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { select, subscribe } from '@wordpress/data'; | |
| const { isAutosavingPost } = select( 'core/editor' ); | |
| var checked = true; // Start in a checked state. | |
| subscribe( () => { | |
| if ( isAutosavingPost() ) { | |
| // When all changes are saved, check again. | |
| checked = false; | |
| } else { | |
| if ( ! checked ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { select, subscribe } from '@wordpress/data'; | |
| const { isSavingPost } = select( 'core/editor' ); | |
| var checked = true; // Start in a checked state. | |
| subscribe( () => { | |
| if ( isSavingPost() ) { | |
| // When all changes are saved, check again. | |
| checked = false; | |
| } else { | |
| if ( ! checked ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| build.sh (gitlab) | |
| sed -i "s/COMMITHASH/$CI_COMMIT_SHORT_SHA/g" functions.php | |
| functions.php | |
| define( 'MS_RESEARCH_ASSET_VERSION', 'COMMITHASH' ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ╰─$ ./vendor/bin/phpcs src/*.php src/**/*.php --standard=WordPress --sniffs=WordPress.WP.I18n | |
| FILE: develop.wordpress/src/wp-login.php | |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
| FOUND 1 ERROR AFFECTING 1 LINE | |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
| 434 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders. | |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |