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

Conversation

@rmccue
Copy link
Member

@rmccue rmccue commented Nov 2, 2015

Fixes #1476 again.

This splits it from attachment, just so we can break compatibility
again. :|
@rmccue rmccue added this to the 2.0 Beta 6 milestone Nov 2, 2015
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't this be parent instead of post_parent?

Copy link
Member Author

Choose a reason for hiding this comment

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

Potentially; I didn't change it here. Will look in the morning, good spot.

danielbachhuber added a commit that referenced this pull request Nov 9, 2015
Change featured image relation to featuredmedia
@danielbachhuber danielbachhuber merged commit b98a9ad into develop Nov 9, 2015
@danielbachhuber danielbachhuber deleted the new-relation-for-featured branch November 9, 2015 23:26
@Cyberfolks
Copy link

For ionic 3
if you are using _embed
like
/?rest_route=/wp/v2/posts&_embed
or
/wp-json/wp/v2/posts?_embed

then try
Method= array_name._embedded['wp:featuredmedia']['0'].source_url
Example= post._embedded['wp:featuredmedia']['0'].source_url

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.

4 participants