Upgrade/Install: Do not remove event handlers when trying to update a theme.

Previously, when clicking "Update now" the callbacks were erroneously removed. This prevented opening the filesystem credentials modal for a second time.

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


git-svn-id: http://core.svn.wordpress.org/trunk@37960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Pascal Birchler 2016-07-09 11:43:43 +00:00
parent dac2988528
commit aa4334cc50
3 changed files with 2 additions and 3 deletions
wp-admin/js
wp-includes

View File

@ -611,7 +611,6 @@ themes.view.Theme = wp.Backbone.View.extend({
updateTheme: function( event ) {
var _this = this;
event.preventDefault();
this.$el.off( 'click', '.update-message' );
wp.updates.maybeRequestFilesystemCredentials( event );

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.6-beta2-38018';
$wp_version = '4.6-beta2-38019';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.