mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-12 18:42:03 +01:00
In wp-includes/class-wp-customize-setting.php
, break
is unreachable after return
.
See #27882. Built from https://develop.svn.wordpress.org/trunk@28319 git-svn-id: http://core.svn.wordpress.org/trunk@28147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0a4af6d45c
commit
73b102bd84
@ -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…
Reference in New Issue
Block a user