Why were some REST API parameters changed to ID’s instead of strings when the API moved into WP Core?

Previously, when I made a request to the REST API available through the well known plugin, I could filter post results by tag by just specifying the tag name in the request URL. Same with categories.

With the update in WordPress 4.7, I have to specify a list of tag ID’s in a new tags query parameter. A few other parameters have also changed their names or functions.

Is there any documentation from WordPress explaining the decision to change this in the REST API and/or any way to cleanly bring back the old functionality of searching by tag/category name?

Read more here: Why were some REST API parameters changed to ID’s instead of strings when the API moved into WP Core?

Leave a Reply

Your email address will not be published. Required fields are marked *