Page editing form cleaning and repair.

git-svn-id: https://develop.svn.wordpress.org/trunk@2652 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2005-06-19 03:07:16 +00:00
parent 2b50612117
commit 68571f0e05
3 changed files with 8 additions and 9 deletions

View File

@@ -149,6 +149,9 @@ function get_default_post_to_edit() {
$post->post_content = apply_filters('default_content', $content);
$post->post_title = apply_filters('default_title', $edited_post_title);
$post->post_excerpt = apply_filters('default_excerpt', $excerpt);
$post->page_template = 'default';
$post->post_parent = 0;
$post->menu_order = 0;
return $post;
}