Ticket #9353: post.diff
| File post.diff, 1007 bytes (added by aldenta, 4 years ago) |
|---|
-
wp-admin/includes/post.php
356 356 $post->ping_status = get_option( 'default_ping_status' ); 357 357 $post->post_pingback = get_option( 'default_pingback_flag' ); 358 358 $post->post_category = get_option( 'default_category' ); 359 $post->post_content = apply_filters( 'default_content', $post_content );359 $post->post_content = apply_filters( 'default_content', $post_content ); 360 360 $post->post_title = apply_filters( 'default_title', $post_title ); 361 $post->post_excerpt = apply_filters( 'default_excerpt', $post_excerpt );362 $post->page_template = 'default';363 $post->post_parent = 0;361 $post->post_excerpt = apply_filters( 'default_excerpt', $post_excerpt ); 362 $post->page_template = apply_filters( 'default_template', 'default' ); 363 $post->post_parent = apply_filters( 'default_parent', 0 ); 364 364 $post->menu_order = 0; 365 365 366 366 return $post;