From 5ec32c8eeefdb4d4b98d66082b5b7fa359d43589 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Sun, 10 Sep 2006 17:49:24 +0000 Subject: [PATCH] Add explain_nonce filter. Props mdawaffe. fixes #3121 git-svn-id: https://develop.svn.wordpress.org/trunk@4181 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 3ce07432ba..3d35945608 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -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) {