mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-09 00:51:35 +01:00
Update the version numbers for wp_explain_nonce() deprecation. see #21076.
git-svn-id: http://core.svn.wordpress.org/trunk@21146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9b7e633336
commit
f11989da24
@ -3160,8 +3160,10 @@ function clean_page_cache( $id ) {
|
||||
/**
|
||||
* Retrieve nonce action "Are you sure" message.
|
||||
*
|
||||
* Deprecated in 3.4.1 and 3.5.0. Backported to 3.3.3.
|
||||
*
|
||||
* @since 2.0.4
|
||||
* @deprecated 3.5.0
|
||||
* @deprecated 3.4.1
|
||||
* @deprecated Use wp_nonce_ays()
|
||||
* @see wp_nonce_ays()
|
||||
*
|
||||
@ -3169,6 +3171,6 @@ function clean_page_cache( $id ) {
|
||||
* @return string Are you sure message.
|
||||
*/
|
||||
function wp_explain_nonce( $action ) {
|
||||
_deprecated_function( __FUNCTION__, '3.4', 'wp_nonce_ays()' );
|
||||
_deprecated_function( __FUNCTION__, '3.4.1', 'wp_nonce_ays()' );
|
||||
return __( 'Are you sure you want to do this?' );
|
||||
}
|
Loading…
Reference in New Issue
Block a user