Skip to content
This repository was archived by the owner on Sep 24, 2018. It is now read-only.

Conversation

@danielbachhuber
Copy link
Member

Fixes #1959

@danielbachhuber danielbachhuber added this to the 2.0 Beta 10 milestone Jan 8, 2016
@danielbachhuber
Copy link
Member Author

@WP-API/amigos #reviewmerge

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I do a request logged out for /media and there's a bunch of posts with post_status=inherit which are attached to private posts, what does the response look like? Does it just remove the attachments I can't view (thus I get 6 results rather than the default 10) or do I get an error, or somethign else?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it just remove the attachments I can't view (thus I get 6 results rather than the default 10)

Yes, which is a consistent pattern we have throughout the controllers.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

joehoyle added a commit that referenced this pull request Jan 8, 2016
Permit logged-in users to query for media
@joehoyle joehoyle merged commit 7573f8a into develop Jan 8, 2016
@joehoyle joehoyle deleted the 1959-fix-query-media branch January 8, 2016 20:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants