Making WordPress.org

Changeset 11123


Ignore:
Timestamp:
07/19/2021 03:32:15 AM (4 years ago)
Author:
dd32
Message:

Translate: Pass the correct translation set variable in [11122], this caused a PHP Notice and the .json revsion date property to be set improperly.

Follow up to [11122].
See https://github.com/WordPress/pattern-directory/issues/282.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/inc/cli/class-export-json.php

    r11122 r11123  
    9191
    9292        // Create JED json files for each JS file.
    93         $plugin_json_files = $this->build_json_files( $gp_project, $gp_locale, $set, $plugins, "{$export_dir}/plugins/{$textdomain}-{$gp_locale->wp_locale}" );
    94         $theme_json_files  = $this->build_json_files( $gp_project, $gp_locale, $set, $themes, "{$export_dir}/themes/{$textdomain}-{$gp_locale->wp_locale}" );
     93        $plugin_json_files = $this->build_json_files( $gp_project, $gp_locale, $translation_set, $plugins, "{$export_dir}/plugins/{$textdomain}-{$gp_locale->wp_locale}" );
     94        $theme_json_files  = $this->build_json_files( $gp_project, $gp_locale, $translation_set, $themes, "{$export_dir}/themes/{$textdomain}-{$gp_locale->wp_locale}" );
    9595
    9696        WP_CLI::success( "JSON Files for {$project_slug} {$locale} generated." );
Note: See TracChangeset for help on using the changeset viewer.