From 213fd6fd24163104ce2d53802d1144a6eb7c3fea Mon Sep 17 00:00:00 2001 From: Aaron Jorbin Date: Thu, 2 Apr 2015 22:36:26 +0000 Subject: [PATCH] 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 --- wp-includes/script-loader.php | 1 + wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php index 883eadd0e5..ea7f5f4ef7 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -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.' ), ) ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index c263b882af..bcacd678ca 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.