From 162546a7fc95a05e8e941c0ebf653c9ba95e0eed Mon Sep 17 00:00:00 2001 From: nacin Date: Wed, 1 Feb 2012 16:08:36 +0000 Subject: [PATCH] s/plugin/theme/ in an edge case string in the theme updater. props pavelevap, fixes #19940. git-svn-id: http://svn.automattic.com/wordpress/trunk@19809 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/update.php b/wp-admin/includes/update.php index 6445bec508..6c748a1580 100644 --- a/wp-admin/includes/update.php +++ b/wp-admin/includes/update.php @@ -272,7 +272,7 @@ function wp_theme_update_row( $theme_key, $theme ) { if ( ! current_user_can('update_themes') ) printf( __('There is a new version of %1$s available. View version %4$s details.'), $theme['Name'], esc_url($details_url), esc_attr($theme['Name']), $r->new_version ); else if ( empty( $r['package'] ) ) - printf( __('There is a new version of %1$s available. View version %4$s details. Automatic update is unavailable for this plugin.'), $theme['Name'], esc_url($details_url), esc_attr($theme['Name']), $r['new_version'] ); + printf( __('There is a new version of %1$s available. View version %4$s details. Automatic update is unavailable for this theme.'), $theme['Name'], esc_url($details_url), esc_attr($theme['Name']), $r['new_version'] ); else printf( __('There is a new version of %1$s available. View version %4$s details or update automatically.'), $theme['Name'], esc_url($details_url), esc_attr($theme['Name']), $r['new_version'], wp_nonce_url( self_admin_url('update.php?action=upgrade-theme&theme=') . $theme_key, 'upgrade-theme_' . $theme_key) );