WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/09/2015 06:26:37 PM (5 years ago)
Author:
ocean90
Message:

Merge similar error strings.

props pavelevap.
fixes #32327.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-press-this.php

    r32143 r32471  
    281281
    282282        } else if ( is_wp_error( $source_tmp_file ) ) {
    283             $source_content = new WP_Error( 'upload-error',  sprintf( __( 'Error: %s' ), sprintf( __( 'Could not download the source URL (native error: %s).' ), $source_tmp_file->get_error_message() ) ) );
     283            $source_content = new WP_Error( 'upload-error',  sprintf( __( 'ERROR: %s' ), sprintf( __( 'Could not download the source URL (native error: %s).' ), $source_tmp_file->get_error_message() ) ) );
    284284        } else if ( ! file_exists( $source_tmp_file ) ) {
    285             $source_content = new WP_Error( 'no-local-file',  sprintf( __( 'Error: %s' ), __( 'Could not save or locate the temporary download file for the source URL.' ) ) );
     285            $source_content = new WP_Error( 'no-local-file',  sprintf( __( 'ERROR: %s' ), __( 'Could not save or locate the temporary download file for the source URL.' ) ) );
    286286        }
    287287
Note: See TracChangeset for help on using the changeset viewer.