Skip to content
This repository has been archived by the owner on Apr 4, 2020. It is now read-only.

Get Items: Retrieve the data using WordPress coding standards #4

Open
kjbenk opened this issue Feb 23, 2016 · 0 comments
Open

Get Items: Retrieve the data using WordPress coding standards #4

kjbenk opened this issue Feb 23, 2016 · 0 comments

Comments

@kjbenk
Copy link
Contributor

kjbenk commented Feb 23, 2016

When I was creating some unit tests for the /users endpoint I noticed that the get_items() function was retrieving meta data using a custom $wpdb->get_results() query.

I think this is only a temporary patch so this issue can be the formal way for us to make sure that it is implemented correctly before release :)

Reference - https://github.com/WP-API/wp-api-meta-endpoints/blob/master/lib/class-wp-rest-meta-controller.php#L170

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant