From adb2e50e8db1f03ed85a384505440339f57aeac4 Mon Sep 17 00:00:00 2001 From: ryan Date: Sun, 10 Sep 2006 17:49:24 +0000 Subject: [PATCH] Add explain_nonce filter. Props mdawaffe. fixes #3121 git-svn-id: http://svn.automattic.com/wordpress/trunk@4181 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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) {