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

Change nonce name to _wpnonce #1524

Closed
rmccue opened this issue Sep 3, 2015 · 1 comment
Closed

Change nonce name to _wpnonce #1524

rmccue opened this issue Sep 3, 2015 · 1 comment

Comments

@rmccue
Copy link
Member

rmccue commented Sep 3, 2015

Currently we use _wp_rest_nonce or something, which is a) too verbose, b) doesn't match the prefixing of other meta-parameters (like _envelope, _embed, etc). If we change it to _wpnonce instead, it's much shorter, and also gains compatibility with existing stuff like wp_nonce_field

(This is from a very old planning doc, totally missed it.)

@rmccue rmccue added this to the 2.0 milestone Sep 3, 2015
@danielbachhuber danielbachhuber modified the milestones: Core Integration, 2.0 Oct 20, 2015
@danielbachhuber
Copy link
Member

Created a core ticket for this one, as the code has been committed to core: https://core.trac.wordpress.org/ticket/34375

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants