mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Coding Standards: Move assignment out of condition in js/media/views/settings.js
.
Props ankitmaru. Fixes #49107. Built from https://develop.svn.wordpress.org/trunk@47029 git-svn-id: http://core.svn.wordpress.org/trunk@46829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f2e464f8c1
commit
d3a14b7719
@ -8799,7 +8799,8 @@ Settings = View.extend(/** @lends wp.media.view.Settings.prototype */{
|
||||
|
||||
// If the setting has a corresponding user setting,
|
||||
// update that as well.
|
||||
if ( userSetting = $setting.data('userSetting') ) {
|
||||
userSetting = $setting.data('userSetting');
|
||||
if ( userSetting ) {
|
||||
window.setUserSetting( userSetting, value );
|
||||
}
|
||||
},
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.4-alpha-47028';
|
||||
$wp_version = '5.4-alpha-47029';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user