WordPress.org

Make WordPress Core

Ticket #12319: 12319.patch

File 12319.patch, 796 bytes (added by TobiasBg, 4 years ago)

Patch removes erroneous `

  • custom-navigation.php

     
    146146                        if (isset($_POST['newwindow'.$k])) { $new_window = $_POST['newwindow'.$k]; } else { $new_window = 0; } 
    147147 
    148148                        $post = array( 'post_status' => 'publish', 'post_type' => 'menu_item', 'post_author' => $user_ID, 
    149                                 'ping_status' => 0, 'post_parent' => $post_id, '`menu_order' => $position, 
     149                                'ping_status' => 0, 'post_parent' => $post_id, 'menu_order' => $position, 
    150150                                'guid' => $custom_linkurl, 'post_excerpt' => $custom_anchor_title, 'tax_input' => array( 'menu' => $menu_title ), 
    151151                                'post_content' => $custom_description, 'post_title' => $custom_title ); 
    152152                        if ( $new_window )