Making WordPress.org

Changeset 2670


Ignore:
Timestamp:
03/02/2016 09:04:05 PM (9 years ago)
Author:
ocean90
Message:

Theme Directory: Switch to the WP CLI command for translate.wordpress.org imports.

See #1352.

File:
1 edited

Legend:

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

    r2656 r2670  
    864864    }
    865865
    866     // See https://meta.trac.wordpress.org/ticket/1352
    867     // $cmd = WPORGTRANSLATE_WPCLI . ' wporg-translate set-theme-project ' . escapeshellarg( $theme_post->post_name ) . ' ' . escapeshellarg( $version );
    868     $cmd = '/usr/local/bin/php ' . WPORGPATH . 'translate/bin/projects/add-wp-themes-project.php ' . escapeshellarg( $theme_post->post_name ) . ' ' . escapeshellarg( $version );
     866    $cmd = WPORGTRANSLATE_WPCLI . ' wporg-translate set-theme-project ' . escapeshellarg( $theme_post->post_name ) . ' ' . escapeshellarg( $version );
    869867
    870868    shell_exec( $cmd );
Note: See TracChangeset for help on using the changeset viewer.