From c700c871959f0747c0b33308d950b3fd53be8edf Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 18 Mar 2008 05:04:18 +0000 Subject: [PATCH] Add explanatory text for upgrade plugin nonce. Props DD32. see #5586 git-svn-id: http://svn.automattic.com/wordpress/trunk@7377 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 7ce117e75d..fd7a5a854e 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -1301,6 +1301,7 @@ function wp_explain_nonce( $action ) { $trans['edit']['plugin'] = array( __( 'Your attempt to edit this plugin file: "%s" has failed.' ), 'use_id' ); $trans['activate']['plugin'] = array( __( 'Your attempt to activate this plugin: "%s" has failed.' ), 'use_id' ); $trans['deactivate']['plugin'] = array( __( 'Your attempt to deactivate this plugin: "%s" has failed.' ), 'use_id' ); + $trans['upgrade']['plugin'] = array( __( 'Your attempt to upgrade this plugin: "%s" has failed.' ), 'use_id' ); $trans['add']['post'] = array( __( 'Your attempt to add this post has failed.' ), false ); $trans['delete']['post'] = array( __( 'Your attempt to delete this post: "%s" has failed.' ), 'get_the_title' );