Skip to content

Conversation

@kadamwhite
Copy link
Collaborator

V2 Beta 11 added support for a slug property (see discussion started in WP-API/WP-API#2065) -- we should use that instead of the filter[name] "shim" for WP_Query.

This PR updates the API client to set the slug parameter instead of the name filter, and makes name() call through to slug() as opposed to the other way around.

V2 Beta 11 added support for a slug property (see discussion started in
WP-API/WP-API#2065) -- we should use that instead of the `filter[name]`
"shim" for WP_Query.
@kadamwhite kadamwhite merged commit 5f2572b into master Jan 28, 2016
@kadamwhite kadamwhite deleted the add-slug-method-to-all-collections branch January 28, 2016 09:50
@kadamwhite kadamwhite mentioned this pull request Jan 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants