Ticket #31606: 31606.diff
| File 31606.diff, 1.0 KB (added by , 12 years ago) |
|---|
-
src/wp-admin/includes/ajax-actions.php
2914 2914 $status['error'] = $result->get_error_message(); 2915 2915 wp_send_json_error( $status ); 2916 2916 } else if ( is_null( $result ) ) { 2917 $status['errorCode'] = __( 'unable_to_connect_to_filesystem' );2917 $status['errorCode'] = 'unable_to_connect_to_filesystem'; 2918 2918 $status['error'] = __( 'Unable to connect to the filesystem. Please confirm your credentials.' ); 2919 2919 wp_send_json_error( $status ); 2920 2920 } … … 2964 2964 $status['error'] = $result->get_error_message(); 2965 2965 wp_send_json_error( $status ); 2966 2966 } else if ( is_bool( $result ) && ! $result ) { 2967 $status['errorCode'] = __( 'unable_to_connect_to_filesystem' );2967 $status['errorCode'] = 'unable_to_connect_to_filesystem'; 2968 2968 $status['error'] = __( 'Unable to connect to the filesystem. Please confirm your credentials.' ); 2969 2969 wp_send_json_error( $status ); 2970 2970 }
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)