Changeset 32874 for trunk/src/wp-includes/class-wp-customize-setting.php
- Timestamp:
- 06/19/2015 10:00:33 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-setting.php
r32806 r32874 859 859 if ( 'post_type' === $value['type'] ) { 860 860 $original_title = get_the_title( $value['object_id'] ); 861 } else 861 } elseif ( 'taxonomy' === $value['type'] ) { 862 862 $original_title = get_term_field( 'name', $value['object_id'], $value['object'], 'raw' ); 863 863 if ( is_wp_error( $original_title ) ) { … … 1738 1738 if ( $auto_add && false === $i ) { 1739 1739 array_push( $nav_menu_options['auto_add'], $this->term_id ); 1740 } else 1740 } elseif ( ! $auto_add && false !== $i ) { 1741 1741 array_splice( $nav_menu_options['auto_add'], $i, 1 ); 1742 1742 }
Note: See TracChangeset
for help on using the changeset viewer.