mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-11 10:59:07 +01:00
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:
parent
ebcda1964d
commit
99d02e7d54
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user