Ticket #18889: ticket18889.patch
File ticket18889.patch, 2.3 KB (added by , 13 years ago) |
---|
-
wp-admin/includes/nav-menu.php
85 85 <li id="menu-item-<?php echo $item_id; ?>" class="<?php echo implode(' ', $classes ); ?>"> 86 86 <dl class="menu-item-bar"> 87 87 <dt class="menu-item-handle"> 88 89 <?php do_action( 'edit_menu_item_handle_header', $item ) ?> 90 88 91 <span class="item-title"><?php echo esc_html( $title ); ?></span> 89 92 <span class="item-controls"> 90 93 <span class="item-type"><?php echo esc_html( $item->type_label ); ?></span> … … 119 122 echo ( isset( $_GET['edit-menu-item'] ) && $item_id == $_GET['edit-menu-item'] ) ? admin_url( 'nav-menus.php' ) : add_query_arg( 'edit-menu-item', $item_id, remove_query_arg( $removed_args, admin_url( 'nav-menus.php#menu-item-settings-' . $item_id ) ) ); 120 123 ?>"><?php _e( 'Edit Menu Item' ); ?></a> 121 124 </span> 125 126 <?php do_action( 'edit_menu_item_handle_footer', $item ) ?> 127 122 128 </dt> 123 129 </dl> 124 130 125 131 <div class="menu-item-settings" id="menu-item-settings-<?php echo $item_id; ?>"> 132 133 <?php do_action( 'edit_menu_item_settings_header', $item ) ?> 134 126 135 <?php if( 'custom' == $item->type ) : ?> 127 136 <p class="field-url description description-wide"> 128 137 <label for="edit-menu-item-url-<?php echo $item_id; ?>"> … … 169 178 </label> 170 179 </p> 171 180 181 <?php do_action( 'edit_menu_item_settings', $item ) ?> 182 172 183 <div class="menu-item-actions description-wide submitbox"> 173 184 <?php if( 'custom' != $item->type && $original_title !== false ) : ?> 174 185 <p class="link-to-original"> … … 189 200 ?>#menu-item-settings-<?php echo $item_id; ?>"><?php _e('Cancel'); ?></a> 190 201 </div> 191 202 203 <?php do_action( 'edit_menu_item_settings_footer', $item ) ?> 204 192 205 <input class="menu-item-data-db-id" type="hidden" name="menu-item-db-id[<?php echo $item_id; ?>]" value="<?php echo $item_id; ?>" /> 193 206 <input class="menu-item-data-object-id" type="hidden" name="menu-item-object-id[<?php echo $item_id; ?>]" value="<?php echo esc_attr( $item->object_id ); ?>" /> 194 207 <input class="menu-item-data-object" type="hidden" name="menu-item-object[<?php echo $item_id; ?>]" value="<?php echo esc_attr( $item->object ); ?>" />