Skip to content

Commit 88a983d

Browse files
authored
Update security.md
1 parent 3708b92 commit 88a983d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/security.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# On WordPress Security
22

3+
### THIS PAGE NEEDS FORMATTING AND COMPLETION, PRs welcome!
4+
35
* Using Nonces
46

57
The primary security mechanism in WordPress is nonces. Nonces are time-stamped and tap into the logged-in user cookie. All nonces in the WordPress Admin leveraging the REST API should use the `wp_rest` action ( `wp_create_nonce('wp_rest')` ) and be passed via either the `_wpnonce` data param (GET or POST) or the `X-WP-Nonce` header.

0 commit comments

Comments
 (0)