- Timestamp:
- 02/18/2026 04:38:42 AM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/customize/class-wp-customize-nav-menu-setting.php
r52597 r61670 467 467 * 468 468 * @since 4.3.0 469 * @since 7.0.0 Return type updated from null|void to bool for compatibility with base class. 469 470 * 470 471 * @see wp_update_nav_menu_object() … … 479 480 * @type bool $auto_add Whether pages will auto_add to this menu. Default false. 480 481 * } 481 * @return null|void482 * @return bool Whether updated. 482 483 */ 483 484 protected function update( $value ) { 484 485 if ( $this->is_updated ) { 485 return ;486 return ( 'error' !== $this->update_status ); 486 487 } 487 488 … … 583 584 } 584 585 } 586 587 return ( 'error' !== $this->update_status ); 585 588 } 586 589
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)