[wp-trac] [WordPress Trac] #18848: Filter post listing screen by post parent
WordPress Trac
wp-trac at lists.automattic.com
Mon Oct 3 18:18:55 UTC 2011
#18848: Filter post listing screen by post parent
-----------------------------+------------------------------
Reporter: johnbillion | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 3.3
Severity: normal | Resolution:
Keywords: |
-----------------------------+------------------------------
Comment (by johnbillion):
Replying to [comment:1 nacin]:
> Attached patch should probably do the trick.
Indeed it does but it doesn't include all descendants, just immediate
children of the given post_parent. I think to achieve this, WP_Query's
`get_posts()` needs to be patched to support the `child_of` parameter in
the same way `get_pages()` does.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18848#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list