Changeset 35100 for trunk/src/wp-includes/class-wp-widget.php
- Timestamp:
- 10/13/2015 01:12:12 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-widget.php
r34782 r35100 540 540 $settings = get_option( $this->option_name ); 541 541 542 if ( false === $settings && isset( $this->alt_option_name ) ) { 543 $settings = get_option( $this->alt_option_name ); 542 if ( false === $settings ) { 543 if ( isset( $this->alt_option_name ) ) { 544 $settings = get_option( $this->alt_option_name ); 545 } else { 546 // Save an option so it can be autoloaded next time. 547 $this->save_settings( array() ); 548 } 544 549 } 545 550
Note: See TracChangeset
for help on using the changeset viewer.