Ticket #18584: 18584.diff
File 18584.diff, 2.0 KB (added by , 12 years ago) |
---|
-
wp-admin/includes/nav-menu.php
173 173 </label> 174 174 </p> 175 175 176 <?php do_action( 'wp_nav_menu_custom_fields', $item, $item_id ); ?> 177 176 178 <div class="menu-item-actions description-wide submitbox"> 177 179 <?php if( 'custom' != $item->type && $original_title !== false ) : ?> 178 180 <p class="link-to-original"> 179 181 <?php printf( __('Original: %s'), '<a href="' . esc_attr( $item->url ) . '">' . esc_html( $original_title ) . '</a>' ); ?> 180 182 </p> 181 183 <?php endif; ?> 184 185 <?php do_action( 'wp_nav_menu_custom_links', $item, $item_id ); ?> 186 182 187 <a class="item-delete submitdelete deletion" id="delete-<?php echo $item_id; ?>" href="<?php 183 188 echo wp_nonce_url( 184 189 add_query_arg( … … 1042 1047 'menu-item-xfn' => ( isset( $_item_object_data['menu-item-xfn'] ) ? $_item_object_data['menu-item-xfn'] : '' ), 1043 1048 ); 1044 1049 1050 $args = apply_filters( 'wp_save_nav_menu_args', $args, $menu_id, $_item_object_data ); 1051 1045 1052 $items_saved[] = wp_update_nav_menu_item( $menu_id, $_actual_db_id, $args ); 1046 1053 1047 1054 } -
wp-admin/nav-menus.php
541 541 <div class="drag-instructions post-body-plain" <?php if ( isset( $menu_items ) && 0 == count( $menu_items ) ) { ?>style="display: none;"<?php } ?>> 542 542 <p><?php echo $starter_copy; ?></p> 543 543 </div> 544 545 <?php do_action( 'wp_nav_menu_content_before' ); ?> 544 546 <?php 545 547 if ( isset( $edit_markup ) && ! is_wp_error( $edit_markup ) ) { 546 548 echo $edit_markup; … … 583 585 <?php endforeach; ?> 584 586 </dl> 585 587 588 <?php do_action( 'wp_nav_menu_custom_settings' ); ?> 589 586 590 <?php endif; ?> 587 591 588 592 </div>