[wp-hackers] do pages and posts make sense?

Rob Miller r at robm.me.uk
Thu May 18 23:36:29 GMT 2006


Paul Menard wrote:
> I've read through the other comments to this. I agree adding Page
> categories would not seem logical.
>
> One rider on this I would like to add however is some ability to make
> Page draft. Of the 23 WordPress installations I support for clients the
> biggest request seems to be 'Why can't a make the Page draft like I
> can Posts?'
>
> Seems there are many content authors who want to create the page an
> save the Page for future edits but not actually publish it.
>
> I do realize the problem however. In the wp_posts table the post_status
> column values are 'static' for Pages, publish, draft or private for 
> Posts. I'm
> sure there are other values like attachment. So would the simple solution
> be coming up with a new token? Then all of the logic changes to the core
> code to support displaying or not displaying this Page.
>
>
> Paul
>
>
>

This has already changed, although I can't remember quite when it was. 
Posts now have a post_status (which can be publish/draft/private/etc) 
and a post_type (which can be post/page/attachment etc).

-- 
Rob Miller
http://robm.me.uk/ | http://kantian.co.uk/



More information about the wp-hackers mailing list