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:
Ryan Boren 2006-09-10 17:49:24 +00:00
parent aa0adc291e
commit 5ec32c8eee

View File

@ -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) {