Making WordPress.org

Changeset 4091


Ignore:
Timestamp:
09/17/2016 12:04:04 PM (8 years ago)
Author:
ocean90
Message:

Translate, Theme Directory: exec() doesn't include stderr in $output, redirect stderr to stdout.

File:
1 edited

Legend:

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

    r4024 r4091  
    6969
    7070        // Import in a separate process.
    71         $cmd = WPORGTRANSLATE_WPCLI . ' wporg-translate set-theme-project ' . escapeshellarg( $args['theme'] ) . ' ' . escapeshellarg( $args['version'] );
     71        $cmd = WPORGTRANSLATE_WPCLI . ' wporg-translate set-theme-project ' . escapeshellarg( $args['theme'] ) . ' ' . escapeshellarg( $args['version'] ) . ' 2>&1';;
    7272        $output = '';
    7373        $return_var = 0;
Note: See TracChangeset for help on using the changeset viewer.