diff --git a/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/inc/cli/class-make-core-pot.php b/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/inc/cli/class-make-core-pot.php index 4b636a0a4b..5853e34f4b 100644 --- a/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/inc/cli/class-make-core-pot.php +++ b/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/inc/cli/class-make-core-pot.php @@ -72,7 +72,7 @@ public function __invoke( $args, $assoc_args ) { ]; $command_assoc_args = [ - 'exclude' => 'patterns', + 'exclude' => 'patterns,wp-content', 'include' => 'wp-admin/includes/continents-cities.php', 'package-name' => self::PACKAGE_NAME, 'headers' => $headers, @@ -195,7 +195,7 @@ public function __invoke( $args, $assoc_args ) { } $admin_exclude = [ - 'patterns', + 'patterns', 'wp-content', 'wp-admin/includes/continents-cities.php', // External libraries. 'wp-admin/includes/class-ftp*', @@ -246,7 +246,7 @@ public function __invoke( $args, $assoc_args ) { ]; $command_assoc_args = [ - 'exclude' => 'patterns', + 'exclude' => 'patterns,wp-content', 'include' => implode( ',', $admin_network_files ), 'subtract' => sprintf( '%1$s/wordpress.pot,%1$s/wordpress-admin.pot', $this->destination ), 'subtract-and-merge' => true,