[wp-trac] [WordPress Trac] #39120: Add get/set methods to remaining main query classes (comments and terms)

WordPress Trac noreply at wordpress.org
Tue Dec 6 20:40:37 UTC 2016


#39120: Add get/set methods to remaining main query classes (comments and terms)
-------------------------+-----------------------------
 Reporter:  Offereins    |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Query        |    Version:
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 Interacting with the `$query_vars` property in `WP_Query` or
 `WP_User_Query` is handled through the `get()` and `set()` methods. It
 would be great if this could be a unified generic interface for WP's other
 main query classes, `WP_Comment_Query` and `WP_Term_Query`.

 Patches attached.

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


More information about the wp-trac mailing list