[wp-trac] [WordPress Trac] #38136: The docs for get_pages() - the post_status argument can also be an array

WordPress Trac noreply at wordpress.org
Sun Oct 16 01:08:07 UTC 2016


#38136: The docs for get_pages() - the post_status argument can also be an array
--------------------------+-----------------------------
 Reporter:  birgire       |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  reviewing
 Priority:  normal        |   Milestone:  4.7
Component:  General       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+-----------------------------

Comment (by SergeyBiryukov):

 @desrosj: [attachment:38136.diff] has a couple of issues:

 * It removes `$post_type` entry for `wp_list_pages()` and creates a
 duplicate `$post_status` entry.
 * No need for additional tab before `function` (or in the preceding
 docblock).

 Will handle on commit :)

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


More information about the wp-trac mailing list