[wp-trac] Re: [WordPress Trac] #7915: Links to pages that are
children of drafts are broken
WordPress Trac
wp-trac at lists.automattic.com
Mon Jan 19 16:31:01 GMT 2009
#7915: Links to pages that are children of drafts are broken
--------------------------+-------------------------------------------------
Reporter: stevish | Owner: anonymous
Type: defect (bug) | Status: new
Priority: low | Milestone: 2.8
Component: General | Version: 2.7
Severity: minor | Resolution:
Keywords: dev-feedback |
--------------------------+-------------------------------------------------
Changes (by Denis-de-Bernardy):
* keywords: => dev-feedback
* version: => 2.7
Comment:
I like the pending idea. how about this workflow:
- if any parent is draft or pending, set the status to future.
- in cron, check if a page's parents are all published before actually
publishing
- on publish the parent page, publish all children with a status of
future
that way, you end up using existing WP workflow to fix the issue. the post
remains around to be browsed by editors, but isn't available to the
public.
--
Ticket URL: <http://trac.wordpress.org/ticket/7915#comment:7>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list