Add beforeunload string for shiny updates.

See #31769.
Props johnbillion, adamsilverstein, jorbin. 


Built from https://develop.svn.wordpress.org/trunk@31989


git-svn-id: http://core.svn.wordpress.org/trunk@31968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Aaron Jorbin 2015-04-02 22:36:26 +00:00
parent 9a54079d9f
commit 213fd6fd24
2 changed files with 2 additions and 1 deletions

View File

@ -537,6 +537,7 @@ function wp_default_scripts( &$scripts ) {
'updatingMsg' => __( 'Updating... please wait.' ),
'updatedMsg' => __( 'Update completed successfully.' ),
'updateCancel' => __( 'Update canceled.' ),
'beforeunload' => __( 'Plugin updates may not complete if you navigate away from this page.' ),
)
) );

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.2-beta3-31988';
$wp_version = '4.2-beta3-31989';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.