Making WordPress.org

Changeset 3215


Ignore:
Timestamp:
05/23/2016 07:31:53 AM (9 years ago)
Author:
dd32
Message:

Plugins Directory: Revert [3214] as although it works, at least one one host, it doesn't fully solve the issue.

See #1578

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/tools/class-svn.php

    r3214 r3215  
    3333        $esc_url  = escapeshellarg( $url );
    3434
    35         $output = shell_exec( "LC_ALL=C.UTF-8 svn import $esc_options $esc_path $esc_url 2>&1" );
     35        $output = shell_exec( "svn import $esc_options $esc_path $esc_url 2>&1" );
    3636        if ( preg_match( '/Committed revision (?P<revision>\d+)[.]/i', $output, $m ) ) {
    3737            $revision = (int) $m['revision'];
     
    6464        $esc_destination = escapeshellarg( $destination );
    6565
    66         $output = shell_exec( "LC_ALL=C.UTF-8 svn export $esc_options $esc_url $esc_destination 2>&1" );
     66        $output = shell_exec( "svn export $esc_options $esc_url $esc_destination 2>&1" );
    6767        if ( preg_match( '/Exported revision (?P<revision>\d+)[.]/i', $output, $m ) ) {
    6868            $revision = (int) $m['revision'];
     
    9494        $esc_url = escapeshellarg( $url );
    9595
    96         $output = shell_exec( "LC_ALL=C.UTF-8 svn ls $esc_options $esc_url 2>&1" );
     96        $output = shell_exec( "svn ls $esc_options $esc_url 2>&1" );
    9797
    9898        $errors = self::parse_svn_errors( $output );
Note: See TracChangeset for help on using the changeset viewer.