Ticket #18049: 18049.patch
File 18049.patch, 544 bytes (added by , 13 years ago) |
---|
-
wp-admin/includes/post.php
424 424 if ( current_theme_supports( 'post-formats' ) && post_type_supports( $post->post_type, 'post-formats' ) && get_option( 'default_post_format' ) ) 425 425 set_post_format( $post, get_option( 'default_post_format' ) ); 426 426 } else { 427 $post = new stdClass; 427 428 $post->ID = 0; 428 429 $post->post_author = ''; 429 430 $post->post_date = '';