[wp-trac] [WordPress Trac] #49093: get_posts Some fields of the $args argument are not documented

WordPress Trac noreply at wordpress.org
Sun Dec 29 20:48:56 UTC 2019


#49093: get_posts Some fields of the $args argument are not documented
----------------------------+------------------------------
 Reporter:  Marcio Zebedeu  |       Owner:  (none)
     Type:  defect (bug)    |      Status:  assigned
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  General         |     Version:  trunk
 Severity:  minor           |  Resolution:
 Keywords:  close           |     Focuses:  docs
----------------------------+------------------------------

Comment (by Marcio Zebedeu):

 Replying to [comment:1 sebastienserre]:
 > Hello Marcio and thank you for your ticket and contribution
 > There's already a menion to the WP Query documentation pages:
 > `See WP_Query::parse_query() for all available arguments.`
 > Too much doc should loose users I think

 I understand @sebastienserre

  However, the WP_Query::parse_query has many parameters that are not used
 in the get_posts which can somehow confuse the user because not all
 arguments of the WP_Query::parse_query are really necessary to pass in
 get_posts

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


More information about the wp-trac mailing list