Changeset 53508 for trunk/src/wp-includes/nav-menu.php
- Timestamp:
- 06/15/2022 01:35:28 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/nav-menu.php
r53504 r53508 754 754 755 755 /** 756 * Prime all linked objects tomenu items.756 * Updates post and term caches for all linked objects for a list of menu items. 757 757 * 758 758 * @since 6.1.0 759 759 * 760 * @param WP_Post[] $menu_items Array post objects of menu items.760 * @param WP_Post[] $menu_items Array of menu item post objects. 761 761 */ 762 762 function update_menu_item_cache( $menu_items ) { … … 768 768 continue; 769 769 } 770 770 771 $object_id = get_post_meta( $menu_item->ID, '_menu_item_object_id', true ); 771 772 $type = get_post_meta( $menu_item->ID, '_menu_item_type', true );
Note: See TracChangeset
for help on using the changeset viewer.