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 #37285. 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:
parent
dac2988528
commit
aa4334cc50
|
@ -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
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue