diff --git a/projects/plugins/wpcomsh/bin/i18n/generate-pot.sh b/projects/plugins/wpcomsh/bin/i18n/generate-pot.sh index 9b8c8efb4d218..62ba9344c52fe 100755 --- a/projects/plugins/wpcomsh/bin/i18n/generate-pot.sh +++ b/projects/plugins/wpcomsh/bin/i18n/generate-pot.sh @@ -9,19 +9,19 @@ find -L . \ -or -path './vendor/*/wordpress' \ -or -path './vendor/*/node_modules' \ -or -path './vendor/*/jetpack_vendor' \ + -or -path './jetpack_vendor/*/vendor' \ + -or -path './jetpack_vendor/*/wordpress' \ + -or -path './jetpack_vendor/*/node_modules' \ + -or -path './jetpack_vendor/*/jetpack_vendor' \ \) \ -prune \ -or \ -name '*.php' -and ! -path './build/*' -and ! -path './custom-colors/*' \ -and \( \ ! -path './vendor/*' \ - -or -path './vendor/automattic/jetpack-mu-wpcom/*' \ -or -path './vendor/automattic/at-pressable-podcasting/*' \ -or -path './vendor/automattic/custom-fonts-typekit/*' \ -or -path './vendor/automattic/custom-fonts/*' \ - -or -path './vendor/automattic/jetpack-assets/*' \ - -or -path './vendor/automattic/jetpack-config/*' \ - -or -path './vendor/automattic/jetpack-post-list/*' \ \) \ -print \ | sed -e 's,^\./,,' \ diff --git a/projects/plugins/wpcomsh/lib/class.color.php b/projects/plugins/wpcomsh/lib/class.color.php index 43419401fc27d..7a6750a2699f4 100644 --- a/projects/plugins/wpcomsh/lib/class.color.php +++ b/projects/plugins/wpcomsh/lib/class.color.php @@ -8,4 +8,4 @@ // phpcs:ignoreFile WordPress.Files.FileName.NotHyphenatedLowercase // Dummy comment to make phpcs happy. -require_once WPCOMSH__PLUGIN_DIR_PATH . '/vendor/automattic/jetpack-classic-theme-helper/_inc/lib/class.color.php'; \ No newline at end of file +require_once WPCOMSH__PLUGIN_DIR_PATH . '/jetpack_vendor/automattic/jetpack-classic-theme-helper/_inc/lib/class.color.php'; diff --git a/projects/plugins/wpcomsh/lib/tonesque.php b/projects/plugins/wpcomsh/lib/tonesque.php index cc95ebcc45442..7900bf25aad4b 100644 --- a/projects/plugins/wpcomsh/lib/tonesque.php +++ b/projects/plugins/wpcomsh/lib/tonesque.php @@ -6,4 +6,4 @@ */ // Dummy comment to make phpcs happy. -require_once WPCOMSH__PLUGIN_DIR_PATH . '/vendor/automattic/jetpack-classic-theme-helper/_inc/lib/tonesque.php'; +require_once WPCOMSH__PLUGIN_DIR_PATH . '/jetpack_vendor/automattic/jetpack-classic-theme-helper/_inc/lib/tonesque.php';