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
This commit is contained in:
nacin 2010-12-06 21:18:18 +00:00
parent ebcda1964d
commit 99d02e7d54
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}