mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-04 12:01:40 +00: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:
@@ -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 :
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user