Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Sep 24, 2018. It is now read-only.

Include media_details attribute for attachments in embed context - #1667

#1667
Merged
joehoyle merged 3 commits into
developWP-API/WP-API:developfrom
media-details-embedWP-API/WP-API:media-details-embedCopy head branch name to clipboard
Oct 27, 2015
Merged

Include media_details attribute for attachments in embed context#1667
joehoyle merged 3 commits into
developWP-API/WP-API:developfrom
media-details-embedWP-API/WP-API:media-details-embedCopy head branch name to clipboard

Conversation

@danielbachhuber

Copy link
Copy Markdown
Member

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

Copy link
Copy Markdown
Member Author

@WP-API/amigos #reviewmerge

@joehoyle

Copy link
Copy Markdown
Member

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

@joehoyle

Copy link
Copy Markdown
Member

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
@joehoyle
joehoyle deleted the media-details-embed branch October 27, 2015 22:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.