Make WordPress Core

Opened 18 years ago

Closed 17 years ago

Last modified 17 years ago

#3945 closed enhancement (fixed)

More full-featured draft management

Reported by: foolswisdom's profile foolswisdom Owned by: mdawaffe's profile mdawaffe
Milestone: 2.3 Priority: normal
Severity: normal Version: 2.2
Component: Administration Keywords:
Focuses: Cc:

Description

More full-featured draft management

Attachments (5)

3945.diff (18.6 KB) - added by mdawaffe 17 years ago.
3945b.diff (17.6 KB) - added by mdawaffe 17 years ago.
for posts. all on one tab. pagination may need some work
3945c.diff (17.7 KB) - added by mdawaffe 17 years ago.
pagination tweaks
3945d.diff (18.5 KB) - added by mdawaffe 17 years ago.
posts and pages
3945e.diff (25.3 KB) - added by mdawaffe 17 years ago.
posts, pages, h2 from query, i18n

Download all attachments as: .zip

Change History (15)

#1 @rob1n
18 years ago

Can we squeeze this into 2.2? ;)

#2 @mdawaffe
17 years ago

  • Owner changed from markjaquith to mdawaffe
  • Status changed from new to assigned
  • Version set to 2.2

It'd be nice to have drafts be on a separate page for easy reference. I've seen plenty of sites with over 100 drafts (who am I to question their workflow?) and the edit page gets insane.

Here's my proposal:

  1. Extend WP_Query to allow for post_status queries.
  2. Put Drafts on their own tab where we still separate out your own drafts from those of others.
  3. Like Manage -> Posts, make Manage -> Drafts searchable, monthable, and categoriable.

Patch accomplishes all of these, though will likely need some healthy tweaking.

Supercedes #4286.

@mdawaffe
17 years ago

#3 @mdawaffe
17 years ago

rboren and I came up with what we think is a better idea.

  1. Keep it on the same tab.
  2. Combine Search, month, cat, and a new "what kind of post" (draft, future, private, normal, any) dropdown into one form.
  3. Default the dropdowns to any.

Advantages:

  1. more pivots, fewer tabs.
  2. can do the same for pages.

@mdawaffe
17 years ago

for posts. all on one tab. pagination may need some work

#4 @mdawaffe
17 years ago

3945b.diff - Just does posts, not pages.

  1. Same tab
  2. New post_status dropdown
  3. default for drops is any

@mdawaffe
17 years ago

pagination tweaks

@mdawaffe
17 years ago

posts and pages

#5 @mdawaffe
17 years ago

3945d.diff

Does pages too. Same as posts, but no separation between your drafts and others' drafts.

#6 @ryan
17 years ago

Both edit.php and edit-post-rows.php include navigation links, resulting in double sets of navigation.

edit-post-rows.php is included in an "if" block and in that block's inner "if" block. Looks like including it twice is possible. I couldn't get it to fall into both blocks though.

Would be nice if the h2 text updated to reflect the query.

Other than that looks good here.

@mdawaffe
17 years ago

posts, pages, h2 from query, i18n

#7 @mdawaffe
17 years ago

3945e.diff (make sure to delete any edit-post-pages.php copies from earlier patches before applying this one.)

  1. Navigation links fixed.
  2. Pasts: query by search terms, post_status, month, category.
  3. Pages: query by search terms, post_status.
  4. H2 element reflects query and is i18nized.

#8 @ryan
17 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [5575]) Better draft, private, and future post/page management from mdawaffe. fixes #3945

#9 @ryan
17 years ago

(In [5583]) Nomenclature changes. see #3945

#10 @ryan
17 years ago

(In [5587]) Post and page management filter additions from mdawaffe. see #3945

Note: See TracTickets for help on using tickets.