Ticket #12319: 12319.patch
File 12319.patch, 796 bytes (added by , 15 years ago) |
---|
-
custom-navigation.php
146 146 if (isset($_POST['newwindow'.$k])) { $new_window = $_POST['newwindow'.$k]; } else { $new_window = 0; } 147 147 148 148 $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, 150 150 'guid' => $custom_linkurl, 'post_excerpt' => $custom_anchor_title, 'tax_input' => array( 'menu' => $menu_title ), 151 151 'post_content' => $custom_description, 'post_title' => $custom_title ); 152 152 if ( $new_window )