Ticket #18310: 18310.diff
File 18310.diff, 518 bytes (added by , 12 years ago) |
---|
-
post.php
3722 3722 $post_name = sanitize_title($post_title, $post_ID); 3723 3723 $wpdb->update( $wpdb->posts, compact("post_name"), array( 'ID' => $post_ID ) ); 3724 3724 } 3725 3726 // Set GUID 3727 if ( ! isset($guid) ) 3728 $wpdb->update ( $wpdb->posts, arrray( 'guid' => get_permalink( $post_ID ) ), array( 'ID' => $post_ID ) ); 3725 3729 3726 3730 wp_set_post_categories($post_ID, $post_category); 3727 3731