From 0ceaac92637bdefa6c9db6ce47bf8b336d771a3b Mon Sep 17 00:00:00 2001 From: mmtr Date: Thu, 13 Feb 2020 13:00:32 +0100 Subject: [PATCH] Rename module to make clear relation with WP.com ToS --- bin/phpcs-whitelist.js | 2 +- modules/module-extras.php | 2 +- modules/{tos/jetpack-tos.php => wpcom-tos/wpcom-tos.php} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename modules/{tos/jetpack-tos.php => wpcom-tos/wpcom-tos.php} (100%) diff --git a/bin/phpcs-whitelist.js b/bin/phpcs-whitelist.js index 48dc6ae30bd5f..ebcff2e67e599 100644 --- a/bin/phpcs-whitelist.js +++ b/bin/phpcs-whitelist.js @@ -39,8 +39,8 @@ module.exports = [ 'modules/verification-tools.php', 'modules/widgets/contact-info.php', 'modules/widgets/social-icons.php', - 'modules/tos/jetpack-tos.php', 'modules/wpcom-block-editor/class-jetpack-wpcom-block-editor.php', + 'modules/wpcom-tos/wpcom-tos.php', 'packages', 'tests/e2e/plugins/e2e-plan-data-interceptor.php', ]; diff --git a/modules/module-extras.php b/modules/module-extras.php index e7d664b54aa05..2828213a61d3a 100644 --- a/modules/module-extras.php +++ b/modules/module-extras.php @@ -44,9 +44,9 @@ 'calypsoify/class.jetpack-calypsoify.php', 'plugin-search.php', 'simple-payments/simple-payments.php', - 'tos/jetpack-tos.php', 'woocommerce-analytics/wp-woocommerce-analytics.php', 'wpcom-block-editor/class-jetpack-wpcom-block-editor.php', + 'wpcom-tos/wpcom-tos.php', ); // Add connected features to our existing list if the site is currently connected. diff --git a/modules/tos/jetpack-tos.php b/modules/wpcom-tos/wpcom-tos.php similarity index 100% rename from modules/tos/jetpack-tos.php rename to modules/wpcom-tos/wpcom-tos.php