Changeset 40036 for trunk/src/wp-includes/class-wp-customize-setting.php
- Timestamp:
- 02/01/2017 01:39:39 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-setting.php
r39600 r40036 588 588 if ( 'option' === $this->type ) { 589 589 return get_option( $id_base, $default ); 590 } else if ( 'theme_mod') {590 } elseif ( 'theme_mod' === $this->type ) { 591 591 return get_theme_mod( $id_base, $default ); 592 592 } else { … … 617 617 } 618 618 return update_option( $id_base, $value, $autoload ); 619 } else if ( 'theme_mod') {619 } elseif ( 'theme_mod' === $this->type ) { 620 620 set_theme_mod( $id_base, $value ); 621 621 return true;
Note: See TracChangeset
for help on using the changeset viewer.