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

WordPress Trac noreply at wordpress.org
Tue Mar 7 22:52:53 UTC 2017


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

 * keywords:  needs-unit-tests needs-testing => has-patch has-unit-tests


Comment:

 Hi,

 I've added unit tests. I've also noticed that the `slugs` parameter was
 previously `slug`. For backwards compatibility my patch contains both,
 `slug` for a single parameter, `slugs` for an array. Happy to update if
 this is not expected.

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


More information about the wp-trac mailing list