Allow draft pages. Use post_type for object types. Reserve post_status strictly for status. fixes #1820

git-svn-id: https://develop.svn.wordpress.org/trunk@3510 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2006-02-09 10:03:48 +00:00
parent db5355013c
commit f961003343
21 changed files with 143 additions and 95 deletions

View File

@@ -16,7 +16,7 @@ if ( current_user_can('edit_pages') ) {
get_currentuserinfo();
$post = get_default_post_to_edit();
$post->post_status = 'static';
$post->post_type = 'page';
include('edit-page-form.php');
}