Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add nonce parameter to example Settings request #47

Closed
wants to merge 1 commit into from

Conversation

iandunn
Copy link
Contributor

@iandunn iandunn commented May 31, 2019

This endpoint requires authorization from a user with manage_options, so the previous example would never work.

The domain changed to encourage users to test against their own sites, since they won't have valid nonces for demo.wp-api.org.

This endpoint requires authorization from a user with `manage_options`, so the previous example would never work.

The domain changed to encourage users to test against their own sites, since they won't have valid nonces for demo.wp-api.org.
@TimothyBJacobs
Copy link
Member

This file is automatically generated by this twig template: https://github.com/WP-API/docs/blob/master/bin/templates/reference-parts/examples/update-post-curl.html

I don't think we have a great way right now to only apply changes for certain resources.

@kadamwhite
Copy link
Contributor

I'm going to close this, not because it's not valid but because our current scheme for documentation generation doesn't give us an escape hatch to note these sorts of things. I'll convert this to an issue to revisit the templating in the future.

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.

None yet

3 participants