[wp-trac] [WordPress Trac] #39369: The document of wp_list_pages() is not clear.

WordPress Trac noreply at wordpress.org
Sun Jan 29 10:58:06 UTC 2017


#39369: The document of wp_list_pages() is not clear.
-------------------------------+-----------------------------
 Reporter:  doublehhh          |       Owner:  SergeyBiryukov
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:  4.8
Component:  Posts, Post Types  |     Version:  trunk
 Severity:  normal             |  Resolution:  fixed
 Keywords:  has-patch          |     Focuses:  docs
-------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:   => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"40027"]:
 {{{
 #!CommitTicketReference repository="" revision="40027"
 Docs: Clarify that `wp_list_pages()` and `get_pages()` only work with
 hierarchical post types.

 Props doublehhh.
 Fixes #39369.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39369#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list