Ticket #6646: 6646.patch
File 6646.patch, 3.0 KB (added by , 2 years ago) |
---|
-
wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/inc/cli/class-export-json.php
90 90 } 91 91 92 92 // Create JED json files for each JS file. 93 $ plugin_json_files = $this->build_json_files( $gp_project, $gp_locale, $translation_set, $plugins, "{$export_dir}/plugins/{$textdomain}-{$gp_locale->wp_locale}" );94 $th eme_json_files = $this->build_json_files( $gp_project, $gp_locale, $translation_set, $themes, "{$export_dir}/themes/{$textdomain}-{$gp_locale->wp_locale}" );93 $this->build_json_files( $gp_project, $gp_locale, $translation_set, $plugins, "{$export_dir}/plugins/{$textdomain}-{$gp_locale->wp_locale}" ); 94 $this->build_json_files( $gp_project, $gp_locale, $translation_set, $themes, "{$export_dir}/themes/{$textdomain}-{$gp_locale->wp_locale}" ); 95 95 96 96 WP_CLI::success( "JSON Files for {$project_slug} {$locale} generated." ); 97 97 } -
wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/inc/cli/class-mass-create-sets.php
20 20 * : Project path to copy to. 21 21 */ 22 22 public function __invoke( $args, $assoc_args ) { 23 global $wpdb;24 23 25 24 $src = $args[0]; 26 25 $dest = $args[1]; -
wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/inc/cli/class-stats.php
236 236 * @return void 237 237 */ 238 238 private function print_wordpress_translation_percentage(): void { 239 global $wpdb;240 239 $core_total = $this->get_core_total(); 241 240 $core_100 = $this->get_core_full_translated(); 242 241 $core_95_100 = $this->get_core_interval( 100, 95 ); -
wordpress.org/public_html/wp-content/plugins/wporg-gp-routes/inc/routes/class-locale.php
920 920 * @return array List of favorited items, eg [ 'wp-themes/twentyten', 'wp-themes/twentyeleven' ] 921 921 */ 922 922 function get_user_favorites( $project_slug = false ) { 923 global $wpdb;924 923 925 924 if ( ! is_user_logged_in() ) { 926 925 return array();