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.

Built from https://develop.svn.wordpress.org/trunk@60980


git-svn-id: http://core.svn.wordpress.org/trunk@60316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Peter Wilson
2025-10-19 21:34:26 +00:00
parent 262ab10fed
commit ee3b03497c
2 changed files with 1 additions and 2 deletions

View File

@@ -495,7 +495,6 @@ function wp_nav_menu_item_post_type_meta_box( $data_object, $box ) {
}
}
// @todo Transient caching of these results with proper invalidation on updating of a post of this type.
$get_posts = new WP_Query();
$posts = $get_posts->query( $args );

View File

@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.9-alpha-60979';
$wp_version = '6.9-alpha-60980';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.