diff --git a/wp-includes/post.php b/wp-includes/post.php index c8dce0b197..1e291cea05 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -88,6 +88,12 @@ function create_initial_post_types() { '_builtin' => true, 'label_count' => _n_noop('Trash (%s)', 'Trash (%s)') ) ); + + register_post_status( 'auto-draft', array( 'label' => _x('Auto-Draft', 'post'), + 'exclude_from_search' => true, + '_builtin' => true, + 'label_count' => _n_noop('Auto-Draft (%s)', 'Auto-Drafts (%s)') + ) ); } add_action( 'init', 'create_initial_post_types', 0 ); // highest priority