[wp-trac] [WordPress Trac] #40027: Tags and Categories should have a "slugs" parameter for batch fetching

WordPress Trac noreply at wordpress.org
Mon Mar 20 08:45:09 UTC 2017


#40027: Tags and Categories should have a "slugs" parameter for batch fetching
-------------------------------------------------+-------------------------
 Reporter:  wonderboymusic                       |       Owner:  jnylen0
     Type:  enhancement                          |      Status:  accepted
 Priority:  normal                               |   Milestone:  4.7.4
Component:  REST API                             |     Version:  4.7
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests needs-      |     Focuses:
  testing                                        |
-------------------------------------------------+-------------------------

Comment (by curdin):

 @MatheusGimenez - yep, sorry, my mistake.

 I am adding patch now using your functional changes, and adding slug array
 unit tests to the category and tag controller tests.
 This may be a question for another day but in https://github.com/WP-API
 /WP-API/issues/2065 there is discussion around posts and users also having
 slug filters. Should these also be amended to receive arrays?

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


More information about the wp-trac mailing list