Making WordPress.org


Ignore:
Timestamp:
05/18/2016 02:12:47 AM (10 years ago)
Author:
dd32
Message:

Plugin Directory: Imports: Many fixes to the import processes, optimizations, bugfixes, etc.

See #1584

File:
1 edited

Legend:

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

    r2649 r3164  
    66    die();
    77}
     8
     9ob_start();
    810
    911$opts = getopt( '', array( 'url:', 'abspath:', 'plugin:' ) );
     
    5052try {
    5153    $importer = new CLI\Import;
    52     $importer->import( $plugin_slug );
     54    $importer->import_from_svn( $plugin_slug );
    5355    echo "OK\n";
    5456} catch( \Exception $e ) {
    5557    echo "Failed.\n";
    56     fwrite( STDERR, "Plugin Import Failed: " . $e->getMessage() . "\n" );
     58    fwrite( STDERR, "[{$plugin_slug}] Plugin Import Failed: " . $e->getMessage() . "\n" );
    5759    exit(1);
    5860}
Note: See TracChangeset for help on using the changeset viewer.