Add explain_nonce filter. Props mdawaffe. fixes #3121
git-svn-id: http://svn.automattic.com/wordpress/trunk@4181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e02c90116e
commit
adb2e50e8d
|
@ -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) {
|
function wp_nonce_ays($action) {
|
||||||
|
|
Loading…
Reference in New Issue