mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-12 13:44:21 +01:00
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:
parent
9a54079d9f
commit
213fd6fd24
@ -537,6 +537,7 @@ function wp_default_scripts( &$scripts ) {
|
|||||||
'updatingMsg' => __( 'Updating... please wait.' ),
|
'updatingMsg' => __( 'Updating... please wait.' ),
|
||||||
'updatedMsg' => __( 'Update completed successfully.' ),
|
'updatedMsg' => __( 'Update completed successfully.' ),
|
||||||
'updateCancel' => __( 'Update canceled.' ),
|
'updateCancel' => __( 'Update canceled.' ),
|
||||||
|
'beforeunload' => __( 'Plugin updates may not complete if you navigate away from this page.' ),
|
||||||
)
|
)
|
||||||
) );
|
) );
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user