Add beforeunload string for shiny updates.

See #31769.
Props johnbillion, adamsilverstein, jorbin. 



git-svn-id: https://develop.svn.wordpress.org/trunk@31989 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Aaron Jorbin 2015-04-02 22:35:48 +00:00
parent 3bf1329f40
commit bd13a5ec12
1 changed files with 1 additions and 0 deletions

View File

@ -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.' ),
) )
) ); ) );