mirror of
git://develop.git.wordpress.org/
synced 2025-02-25 17:13:30 +01:00
In wp-includes/class-wp-customize-setting.php
, break
is unreachable after return
.
See #27882. git-svn-id: https://develop.svn.wordpress.org/trunk@28319 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
376125e0b7
commit
9ad07c8c28
@ -232,10 +232,10 @@ class WP_Customize_Setting {
|
||||
switch( $this->type ) {
|
||||
case 'theme_mod' :
|
||||
return $this->_update_theme_mod( $value );
|
||||
break;
|
||||
|
||||
case 'option' :
|
||||
return $this->_update_option( $value );
|
||||
break;
|
||||
|
||||
default :
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user