#8243 closed enhancement (fixed)
Make draft pages to appear in "recent drafts" dashboard gadget
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.4 | Priority: | normal |
Severity: | normal | Version: | 2.7 |
Component: | Posts, Post Types | Keywords: | good-first-bug |
Focuses: | administration | Cc: |
Description
In 2.7 beta 2, draft Pages do not appear in "recent drafts" dashboard gadget. It would be very nice to see draft pages there as well. Another option is to make it optional and allow one to select whether he/she wants to see draft pages in the gadget.
Attachments (3)
Change History (12)
#2
@
15 years ago
- Keywords has-patch added
There doesn't seem much call for this judging by the lack of traction, but I believe the attached one line change makes Pages appear as well as Posts. (It does for me.)
#3
@
12 years ago
I like this a LOT now that custom post types are more commonplace. I'm uploading a more complicated patch that not only changes the post_type argument but also modifies the "View all..." link at the bottom of the widget to create a list of links to each of the post types' drafts.
#5
@
10 years ago
- Keywords needs-patch good-first-bug needs-docs added; has-patch removed
I would prefer a filter on the $query_args
#6
@
9 years ago
- Keywords needs-patch needs-docs removed
As @wonderboymusic suggests, I think a filter on the $query_args
is the way forward. The patch I've just added does just that and also adds the requisite docs.
Change post type to any