Skip to content

Conversation

@bro1
Copy link

@bro1 bro1 commented Jul 16, 2016

Hi,

I have started using your library go-wordpress for my own hobby project, but I have encountered a couple of issues reading your documentation and finding the relevant WordPress plugins.

So this pull request is to update the documentation that would have saved me an hour or 2 :) - there are just so many WordPress plugins with similar names.

This also addresses the issue #2


Functional fixes:

  • Fix upload of media. WordPress and/or Apache were complaining about the Content-Disposition header being malformed.
  • Fix setting the FeaturedImage for a post. According to http://v2.wp-api.org/reference/posts/ it's supposed json attribute is "featured_media" not "featured_image"

thanks

bro1 added 4 commits July 16, 2016 13:56
Fixed the example and added links to the plugins
…he Content-Disposition header being malformed.

Fix setting the FeaturedImage for a post. According to http://v2.wp-api.org/reference/posts/ it's supposed json attribute is "featured_media" not "featured_image"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant