WordPress.org

Making WordPress.org

Changeset 2344


Ignore:
Timestamp:
01/20/2016 11:22:31 PM (4 years ago)
Author:
ocean90
Message:

Translate, Plugin Directory: Open source CLI command for adding/updating plugin projects.

See #1352.

Location:
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-plugin-directory
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-plugin-directory/wporg-gp-plugin-directory.php

    r2307 r2344  
    2929    function register_cli_commands() {
    3030        require_once __DIR__ . '/cli/import-plugin-translations.php';
    31     #   require_once __DIR__ . '/cli/add-plugin-project.php';
     31        require_once __DIR__ . '/cli/set-plugin-project.php';
    3232
    3333        WP_CLI::add_command( 'wporg-translate import-plugin-translations', 'WPorg_GP_CLI_Import_Plugin_Translations' );
    34     #   WP_CLI::add_command( 'wporg-translate add-plugin-project', 'WPorg_GP_CLI_Set_Plugin_Project' );
     34        WP_CLI::add_command( 'wporg-translate set-plugin-project', 'WPorg_GP_CLI_Set_Plugin_Project' );
    3535    }
    3636
Note: See TracChangeset for help on using the changeset viewer.