Ticket #1820 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

ability to save pages as draft

Reported by: nilsjeppe Assigned to: ryan
Priority: low Milestone: 2.1
Component: General Version: 2.0
Severity: normal Keywords: pages draft bg|has-patch bg|squashed
Cc:

Description

Please add the ability to save pages as "draft", similar to posts. Oftentimes, I will want to start writing a page, but have not enough time to complete it right away.

Attachments

save_pages_as_draft.diff (10.3 kB) - added by davidhouse on 11/06/05 14:57:37.
save_pages_as_draft.2.diff (12.0 kB) - added by davidhouse on 11/06/05 17:03:14.

Change History

11/05/05 03:01:48 changed by error

I've worked around this by password protecting the page before it's ready, and also modifying the editing form so I could edit the timestamp and "future publish" the page, but this really needs looking at.

11/05/05 03:03:41 changed by markjaquith

I still think the best approach is a unified posting screen, maybe with a "post/page" switch, where the only difference is the category/page_parent swap.

11/06/05 14:57:19 changed by davidhouse

  • keywords set to pages draft bg|has-patch bg|squashed.
  • owner changed from anonymous to davidhouse.
  • status changed from new to assigned.

I agree that a unified posting screen would be ideal, but that will take a lot more discussion and planning. In the interim, here's an attachment that allows you to save a page as a draft.

11/06/05 14:57:37 changed by davidhouse

  • attachment save_pages_as_draft.diff added.

11/06/05 15:02:35 changed by davidhouse

Oh, and it requires a DB change so don't forget to run upgrade.php. Commitors: I haven't done anything about changing the DB version in this patch (couldn't find where to do it), so if you're committing this patch and it requires a change, could you do that for me? Thanks.

11/06/05 16:29:35 changed by davidhouse

  • keywords changed from pages draft bg|has-patch bg|squashed to pages draft bg|has-patch.

Don't commit that patch, I've found and are fixing some problems with it.

11/06/05 17:02:51 changed by davidhouse

  • keywords changed from pages draft bg|has-patch to pages draft bg|has-patch bg|squashed.

New patch. Problems fixed. World hunger solved.

11/06/05 17:03:14 changed by davidhouse

  • attachment save_pages_as_draft.2.diff added.

11/16/05 03:29:59 changed by ryan

We're going to fix this more thoroughly in a future release. Instead of overloading post_status, a post_type field will be added. post_type can be post, page, or attachment. post_status will be publish, private, and draft.

11/16/05 03:30:10 changed by ryan

  • milestone set to 2.1.

01/29/06 12:00:11 changed by doc

  • version changed from 1.5.2 to 2.0.

This is fantastic news. I raised this in a seperate ticket at the first of the year...

http://trac.wordpress.org/ticket/2194

02/09/06 01:23:06 changed by ryan

  • owner changed from davidhouse to ryan.
  • status changed from assigned to new.

02/09/06 10:04:03 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

(In [3510]) Allow draft pages. Use post_type for object types. Reserve post_status strictly for status. fixes #1820