mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Add explain_nonce filter. Props mdawaffe. fixes #3121
git-svn-id: https://develop.svn.wordpress.org/trunk@4181 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
aa0adc291e
commit
5ec32c8eee
@ -1075,7 +1075,7 @@ function wp_explain_nonce($action) {
|
||||
}
|
||||
}
|
||||
|
||||
return __('Are you sure you want to do this?');
|
||||
return apply_filters( 'explain_nonce_' . $verb . '-' . $noun, __('Are you sure you want to do this?'), $matches[4] );
|
||||
}
|
||||
|
||||
function wp_nonce_ays($action) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user