From 88d559502407c59b15cd9b729ff56f0475474f87 Mon Sep 17 00:00:00 2001 From: Ryan Boren 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: https://develop.svn.wordpress.org/trunk@7377 602fd350-edb4-49c9-b593-d223f7449a82 --- 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' );