Changeset 15007
- Timestamp:
- 05/27/2010 10:17:58 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/nav-menu.php
r14994 r15007 433 433 $_nav_menu_placeholder = 0 > $_nav_menu_placeholder ? $_nav_menu_placeholder - 1 : -1; 434 434 435 // @note: hacky query, see #12660436 $args = array( 'post_type' => 'nav_menu_item', 'post_status' => 'any', 'meta_key' => '_menu_item_type', 'numberposts' => -1, 'orderby' => 'title', );437 438 // @todo transient caching of these results with proper invalidation on updating links439 $links = get_posts( $args );440 441 435 $current_tab = 'create'; 442 436 if ( isset( $_REQUEST['customlink-tab'] ) && in_array( $_REQUEST['customlink-tab'], array('create', 'all') ) ) {
Note: See TracChangeset
for help on using the changeset viewer.