Make WordPress Core


Ignore:
Timestamp:
04/13/2014 07:01:21 PM (11 years ago)
Author:
nacin
Message:

Theme install: Set a timeout and error message for API responses.

props ocean90.
fixes #27708.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/theme-install.php

    r28037 r28105  
    5757        'upload' => __( 'Upload Theme' ),
    5858        'back'   => __( 'Back' ),
    59         'error'  => ( 'There was a problem trying to load the themes. Please, try again.' ), // @todo improve
     59        'error'  => sprintf( __( 'An unexpected error occurred and we can&#8127;t reach WordPress.org. If you continue to have problems, please try the <a href="%s">support forums</a>.' ), __( 'https://wordpress.org/support/' ) )
    6060    ),
    6161    'installedThemes' => array_keys( $installed_themes ),
Note: See TracChangeset for help on using the changeset viewer.