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:
@@ -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.' ),
|
||||
)
|
||||
) );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user