Changeset 43571 for trunk/src/wp-admin/includes/nav-menu.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/nav-menu.php
r43569 r43571 106 106 } elseif ( 'taxonomy' == $matches[1] ) { 107 107 $terms = get_terms( 108 $matches[2], array( 108 $matches[2], 109 array( 109 110 'name__like' => $query, 110 111 'number' => 10, … … 150 151 $user = wp_get_current_user(); 151 152 update_user_option( 152 $user->ID, 'managenav-menuscolumnshidden', 153 $user->ID, 154 'managenav-menuscolumnshidden', 153 155 array( 154 156 0 => 'link-target', … … 440 442 <?php 441 443 $recent_args = array_merge( 442 $args, array( 444 $args, 445 array( 443 446 'orderby' => 'post_date', 444 447 'order' => 'DESC', … … 531 534 $_nav_menu_placeholder = ( 0 > $_nav_menu_placeholder ) ? intval( $_nav_menu_placeholder ) - 1 : -1; 532 535 array_unshift( 533 $posts, (object) array( 536 $posts, 537 (object) array( 534 538 'front_or_home' => true, 535 539 'ID' => 0, … … 552 556 $_nav_menu_placeholder = ( 0 > $_nav_menu_placeholder ) ? intval( $_nav_menu_placeholder ) - 1 : -1; 553 557 array_unshift( 554 $posts, (object) array( 558 $posts, 559 (object) array( 555 560 'ID' => 0, 556 561 'object_id' => $_nav_menu_placeholder, … … 678 683 $num_pages = ceil( 679 684 wp_count_terms( 680 $taxonomy_name, array_merge( 681 $args, array( 685 $taxonomy_name, 686 array_merge( 687 $args, 688 array( 682 689 'number' => '', 683 690 'offset' => '', … … 764 771 <?php 765 772 $popular_terms = get_terms( 766 $taxonomy_name, array( 773 $taxonomy_name, 774 array( 767 775 'orderby' => 'count', 768 776 'order' => 'DESC', … … 801 809 $searched = esc_attr( $_REQUEST[ 'quick-search-taxonomy-' . $taxonomy_name ] ); 802 810 $search_results = get_terms( 803 $taxonomy_name, array( 811 $taxonomy_name, 812 array( 804 813 'name__like' => $searched, 805 814 'fields' => 'all', … … 1097 1106 function wp_nav_menu_update_menu_items( $nav_menu_selected_id, $nav_menu_selected_title ) { 1098 1107 $unsorted_menu_items = wp_get_nav_menu_items( 1099 $nav_menu_selected_id, array( 1108 $nav_menu_selected_id, 1109 array( 1100 1110 'orderby' => 'ID', 1101 1111 'output' => ARRAY_A,
Note: See TracChangeset
for help on using the changeset viewer.