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

WordPress Trac noreply at wordpress.org
Sun Jan 29 10:41:15 UTC 2017


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

Comment (by swissspidy):

 > `post_type` is one of the documented arguments​ in both functions.

 Welp, my bad. I seem to have only looked at `$defaults` and missed it in
 the docblock of `wp_list_pages()`.

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


More information about the wp-trac mailing list