From 99d02e7d54c229abddf0b04f491e792a7969c62d Mon Sep 17 00:00:00 2001 From: nacin Date: Mon, 6 Dec 2010 21:18:18 +0000 Subject: [PATCH] Set AuthorName even when no translation or markup is processed. see #15662. git-svn-id: http://svn.automattic.com/wordpress/trunk@16758 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/plugin.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-admin/includes/plugin.php b/wp-admin/includes/plugin.php index de3d18acb0..e0c758dada 100644 --- a/wp-admin/includes/plugin.php +++ b/wp-admin/includes/plugin.php @@ -100,6 +100,8 @@ function get_plugin_data( $plugin_file, $markup = true, $translate = true ) { if ( $markup || $translate ) $plugin_data = _get_plugin_data_markup_translate( $plugin_file, $plugin_data, $markup, $translate ); + else + $plugin_data['AuthorName'] = $plugin_data['Author']; return $plugin_data; }