[wp-trac] [WordPress Trac] #34156: Clarify parameters in get_posts() docblock

WordPress Trac noreply at wordpress.org
Mon Oct 5 20:58:00 UTC 2015


#34156: Clarify parameters in get_posts() docblock
-------------------------+-----------------
 Reporter:  johnbillion  |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  4.4
Component:  Query        |    Version:
 Severity:  normal       |   Keywords:
  Focuses:  docs         |
-------------------------+-----------------
 The parameters listed in the docblock for `get_posts()` are confusing
 because it includes a subset of the arguments inherited from `WP_Query` in
 addition to its own parameters.

 The parameters which are inherited from `WP_Query` and which do not have a
 different default value shouldn't be listed.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34156>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list