[wp-trac] [WordPress Trac] #38283: Some `WP_Query` query vars undocumented

WordPress Trac noreply at wordpress.org
Thu Oct 20 19:30:43 UTC 2016


#38283: Some `WP_Query` query vars undocumented
--------------------------+-----------------------------
 Reporter:  jdgrimes      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Query         |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  docs
--------------------------+-----------------------------
Changes (by boonebgorges):

 * keywords:   => needs-patch
 * milestone:  Awaiting Review => Future Release


Comment:

 Hi @jdgrimes - Based on the internal logic of `WP_Query` - I haven't yet
 dug into the changelogs - at least some of these params are, as you
 suggest, deprecated. 'subpost', 'subpost_id', and 'caller_get_posts' are
 the three I noticed on a quick search. I don't think we want these
 documented as accepted parameters.

 Those params that are currently in use - like 'attachment' and 'embed',
 among (I'm sure) many others on your list - should probably get
 documentation.

 So, anyone who wants to tackle this issue will have to look at each param
 on a case-by-case basis.

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


More information about the wp-trac mailing list