Changes from trunk/wp-admin/includes/nav-menu.php at r17143 to branches/3.0/wp-admin/includes/nav-menu.php at r15470
- File:
-
- 1 edited
-
branches/3.0/wp-admin/includes/nav-menu.php (modified) (11 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/wp-admin/includes/nav-menu.php
r17143 r15470 14 14 * 15 15 * @param string $output Passed by reference. 16 * @param int $depth Depth of page. 16 17 */ 17 18 function start_lvl(&$output) {} … … 22 23 * 23 24 * @param string $output Passed by reference. 25 * @param int $depth Depth of page. 24 26 */ 25 27 function end_lvl(&$output) { … … 33 35 * @param object $item Menu item data object. 34 36 * @param int $depth Depth of menu item. Used for padding. 37 * @param int $current_page Menu item ID. 35 38 * @param object $args 36 39 */ … … 162 165 <label for="edit-menu-item-description-<?php echo $item_id; ?>"> 163 166 <?php _e( 'Description' ); ?><br /> 164 <textarea id="edit-menu-item-description-<?php echo $item_id; ?>" class="widefat edit-menu-item-description" rows="3" cols="20" name="menu-item-description[<?php echo $item_id; ?>]"><?php echo esc_html( $item->description ); // textarea_escaped?></textarea>167 <textarea id="edit-menu-item-description-<?php echo $item_id; ?>" class="widefat edit-menu-item-description" rows="3" cols="20" name="menu-item-description[<?php echo $item_id; ?>]"><?php echo esc_html( $item->description ); ?></textarea> 165 168 <span class="description"><?php _e('The description will be displayed in the menu if the current theme supports it.'); ?></span> 166 169 </label> … … 216 219 * @param object $item Menu item data object. 217 220 * @param int $depth Depth of menu item. Used for padding. 221 * @param int $current_page Menu item ID. 218 222 * @param object $args 219 223 */ … … 246 250 $output .= '<input type="hidden" class="menu-item-target" name="menu-item[' . $possible_object_id . '][menu-item-target]" value="'. esc_attr( $item->target ) .'" />'; 247 251 $output .= '<input type="hidden" class="menu-item-attr_title" name="menu-item[' . $possible_object_id . '][menu-item-attr_title]" value="'. esc_attr( $item->attr_title ) .'" />'; 252 $output .= '<input type="hidden" class="menu-item-description" name="menu-item[' . $possible_object_id . '][menu-item-description]" value="'. esc_attr( $item->description ) .'" />'; 248 253 $output .= '<input type="hidden" class="menu-item-classes" name="menu-item[' . $possible_object_id . '][menu-item-classes]" value="'. esc_attr( implode( ' ', $item->classes ) ) .'" />'; 249 254 $output .= '<input type="hidden" class="menu-item-xfn" name="menu-item[' . $possible_object_id . '][menu-item-xfn]" value="'. esc_attr( $item->xfn ) .'" />'; … … 495 500 <p class="button-controls"> 496 501 <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" /> 497 < ?php submit_button( __( 'Save' ), 'primary', 'nav-menu-locations', false, disabled( $nav_menu_selected_id, 0, false ) ); ?>502 <input type="submit"<?php disabled( $nav_menu_selected_id, 0 ); ?> class="button-primary" name="nav-menu-locations" value="<?php esc_attr_e( 'Save' ); ?>" /> 498 503 </p> 499 504 <?php … … 648 653 <ul id="<?php echo $post_type_name; ?>checklist-most-recent" class="categorychecklist form-no-clear"> 649 654 <?php 650 $recent_args = array_merge( $args, array( 'orderby' => 'post_date', 'order' => 'DESC', ' posts_per_page' => 15 ) );655 $recent_args = array_merge( $args, array( 'orderby' => 'post_date', 'order' => 'DESC', 'showposts' => 15 ) ); 651 656 $most_recent = $get_posts->query( $recent_args ); 652 657 $args['walker'] = $walker; … … 669 674 ?> 670 675 <p class="quick-search-wrap"> 671 <input type="text" class="quick-search input-with-default-title" title="<?php esc_attr_e('Search'); ?>" value="<?php echo $searched; ?>" name="quick-search-posttype-<?php echo $post_type_name; ?>" />676 <input type="text" class="quick-search regular-text input-with-default-title" title="<?php esc_attr_e('Search'); ?>" value="<?php echo $searched; ?>" name="quick-search-posttype-<?php echo $post_type_name; ?>" /> 672 677 <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" /> 673 < ?php submit_button( __( 'Search' ), 'quick-search-submit button-secondary hide-if-js', 'submit', false ); ?>678 <input type="submit" class="quick-search-submit button-secondary hide-if-js" value="<?php esc_attr_e('Search'); ?>" /> 674 679 </p> 675 680 … … 896 901 ?> 897 902 <p class="quick-search-wrap"> 898 <input type="text" class="quick-search input-with-default-title" title="<?php esc_attr_e('Search'); ?>" value="<?php echo $searched; ?>" name="quick-search-taxonomy-<?php echo $taxonomy_name; ?>" />903 <input type="text" class="quick-search regular-text input-with-default-title" title="<?php esc_attr_e('Search'); ?>" value="<?php echo $searched; ?>" name="quick-search-taxonomy-<?php echo $taxonomy_name; ?>" /> 899 904 <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" /> 900 < ?php submit_button( __( 'Search' ), 'quick-search-submit button-secondary hide-if-js', 'submit', false ); ?>905 <input type="submit" class="quick-search-submit button-secondary hide-if-js" value="<?php esc_attr_e('Search'); ?>" /> 901 906 </p> 902 907 … … 1098 1103 * @since 3.0.0 1099 1104 * 1105 * @param string $menu_item_id The ID of the menu item to format. 1100 1106 * @return string|WP_Error $output The menu formatted to edit or error object on failure. 1101 1107 */
Note: See TracChangeset
for help on using the changeset viewer.