Make WordPress Core

Changeset 60980


Ignore:
Timestamp:
10/19/2025 09:32:50 PM (2 months ago)
Author:
peterwilsoncc
Message:

Menus: Remove caching todo from wp_nav_menu_item_post_type_meta_box().

Remove the note to introduce caching to wp_nav_menu_item_post_type_meta_box() as caching has since been introduced to WP_Query and therefore get_posts(). The comment is out of date.

See #63168.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/nav-menu.php

    r60775 r60980  
    496496    }
    497497
    498     // @todo Transient caching of these results with proper invalidation on updating of a post of this type.
    499498    $get_posts = new WP_Query();
    500499    $posts     = $get_posts->query( $args );
Note: See TracChangeset for help on using the changeset viewer.