Make WordPress Core


Ignore:
Timestamp:
04/03/2015 01:33:30 AM (10 years ago)
Author:
azaozz
Message:

Press This:

  • Show a spinner while saving a post.
  • Do not redirect after saving a draft.
  • Make the unidentified error message clearer.

Fixes #31875.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/script-loader.php

    r31989 r31992  
    479479        did_action( 'init' ) && $scripts->localize( 'press-this', 'pressThisL10n', array(
    480480            'newPost' => __( 'Title' ),
    481             'unexpectedError' => __( 'Sorry, but an unexpected error occurred.' ),
     481            'serverError' => __( 'Connection lost or the server is busy. Please try again later.' ),
    482482            'saveAlert' => __( 'The changes you made will be lost if you navigate away from this page.' ),
    483483            /* translators: %d: nth embed found in a post */
Note: See TracChangeset for help on using the changeset viewer.