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 ) {
|
switch( $this->type ) {
|
||||||
case 'theme_mod' :
|
case 'theme_mod' :
|
||||||
return $this->_update_theme_mod( $value );
|
return $this->_update_theme_mod( $value );
|
||||||
break;
|
|
||||||
case 'option' :
|
case 'option' :
|
||||||
return $this->_update_option( $value );
|
return $this->_update_option( $value );
|
||||||
break;
|
|
||||||
default :
|
default :
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue