[wp-trac] [WordPress Trac] #25900: Allow exclude_tree to accept a comma-separated list of parent page IDs

WordPress Trac noreply at wordpress.org
Sat Nov 9 20:25:34 UTC 2013


#25900: Allow exclude_tree to accept a comma-separated list of parent page IDs
-------------------------+------------------------
 Reporter:  awoz         |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  Query        |     Version:  3.7.1
 Severity:  normal       |  Resolution:  duplicate
 Keywords:               |
-------------------------+------------------------
Changes (by SergeyBiryukov):

 * keywords:  needs-patch =>
 * status:  new => closed
 * resolution:   => duplicate
 * milestone:  Awaiting Review =>


Old description:

> Reference:  http://codex.wordpress.org/Function_Reference/wp_list_pages
>
> As documented by wp_list_pages(), consider extending/fixing
> 'exclude_tree' so that it accepts a comma-separated list of parent Page
> IDs. One possible solution for get_pages() was previously posted here:
> http://core.trac.wordpress.org/ticket/16202
>
> I've attempted to use a plugin that calls wp_list_pages with a comma-
> separated list of parent ID. Unfortunately, the core API for this
> function ignores more than one parent ID.
>
> Thanks.

New description:

 Reference:  http://codex.wordpress.org/Function_Reference/wp_list_pages

 As documented by wp_list_pages(), consider extending/fixing 'exclude_tree'
 so that it accepts a comma-separated list of parent Page IDs. One possible
 solution for get_pages() was previously posted here: #16202

 I've attempted to use a plugin that calls wp_list_pages with a comma-
 separated list of parent ID. Unfortunately, the core API for this function
 ignores more than one parent ID.

 Thanks.

--

Comment:

 Duplicate of #9153, #16202, and #19478.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25900#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list