mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-03 20:24:26 +00:00
Docs: Align spelling with American English.
This changeset updates the use of "-ise" suffix to American English "-ize" and replaces "behaviour" with "behavior" in various docblocks. Follow-up to [54663], [54664], [55043]. Props kebbet. See #56811, #56792. git-svn-id: https://develop.svn.wordpress.org/trunk@55044 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1238,7 +1238,7 @@ if ( ! function_exists( 'check_admin_referer' ) ) :
|
||||
* Ensures intent by verifying that a user was referred from another admin page with the correct security nonce.
|
||||
*
|
||||
* This function ensures the user intends to perform a given action, which helps protect against clickjacking style
|
||||
* attacks. It verifies intent, not authorisation, therefore it does not verify the user's capabilities. This should
|
||||
* attacks. It verifies intent, not authorization, therefore it does not verify the user's capabilities. This should
|
||||
* be performed with `current_user_can()` or similar.
|
||||
*
|
||||
* If the nonce value is invalid, the function will exit with an "Are You Sure?" style message.
|
||||
|
||||
Reference in New Issue
Block a user