mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Don't unintentionally override the global variable. props ocean90, see #20062.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7167c79364
commit
86c37ba7a7
@ -237,13 +237,13 @@ if ( current_user_can('edit_themes') && count( $broken_themes ) ) {
|
||||
natcasesort($theme_names);
|
||||
|
||||
foreach ($theme_names as $theme_name) {
|
||||
$title = $broken_themes[$theme_name]['Title'];
|
||||
$name = $broken_themes[$theme_name]['Title'];
|
||||
$description = $broken_themes[$theme_name]['Description'];
|
||||
|
||||
$theme = ('class="alternate"' == $theme) ? '' : 'class="alternate"';
|
||||
echo "
|
||||
<tr $theme>
|
||||
<td>$title</td>
|
||||
<td>$name</td>
|
||||
<td>$description</td>
|
||||
</tr>";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user