Skip to content
This repository has been archived by the owner. It is now read-only.

Include `media_details` attribute for attachments in embed context #1667

Merged
merged 3 commits into from Oct 27, 2015

Conversation

@danielbachhuber
Copy link
Member

commented Oct 20, 2015

For image attachments, media_details includes a sizes array of image
sizes, which is useful for templating.

Previously #1582

For image attachments, `media_details` includes a `sizes` array of image
sizes, which is useful for templating.
@danielbachhuber danielbachhuber added this to the 2.0 Beta 5 milestone Oct 20, 2015
@danielbachhuber

This comment has been minimized.

Copy link
Member Author

commented Oct 20, 2015

@WP-API/amigos #reviewmerge

@joehoyle

This comment has been minimized.

Copy link
Contributor

commented Oct 20, 2015

I'd be +1 on this, but I'll let others weigh in here

@joehoyle

This comment has been minimized.

Copy link
Contributor

commented Oct 27, 2015

Going to roll with!

joehoyle added a commit that referenced this pull request Oct 27, 2015
Include `media_details` attribute for attachments in embed context
@joehoyle joehoyle merged commit 3281a9b into develop Oct 27, 2015
3 checks passed
3 checks passed
Scrutinizer 1 updated code elements
Details
codecov/project 92.87% (target 80.00%)
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@joehoyle joehoyle deleted the media-details-embed branch Oct 27, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants
You can’t perform that action at this time.