- Timestamp:
- 09/09/2021 02:31:13 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php
r49624 r51783 654 654 * 655 655 * @since 4.3.0 656 * 657 * @param array $menu_item_value The value to sanitize. 656 * @since 5.9.0 Renamed `$menu_item_value` to `$value` for PHP 8 named parameter support. 657 * 658 * @param array $value The menu item value to sanitize. 658 659 * @return array|false|null|WP_Error Null or WP_Error if an input isn't valid. False if it is marked for deletion. 659 660 * Otherwise the sanitized value. 660 661 */ 661 public function sanitize( $menu_item_value ) { 662 public function sanitize( $value ) { 663 // Restores the more descriptive, specific name for use within this method. 664 $menu_item_value = $value; 665 662 666 // Menu is marked for deletion. 663 667 if ( false === $menu_item_value ) {
Note: See TracChangeset
for help on using the changeset viewer.