Update the version numbers for wp_explain_nonce() deprecation. see #21076.
git-svn-id: https://develop.svn.wordpress.org/trunk@21146 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
af13f116a3
commit
a2c8ec790d
@ -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