git-svn-id: https://develop.svn.wordpress.org/trunk@20113 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
37fe51da66
commit
21dd77dbe2
@ -311,13 +311,11 @@ function list_theme_updates() {
|
|||||||
</tfoot>
|
</tfoot>
|
||||||
<tbody class="plugins">
|
<tbody class="plugins">
|
||||||
<?php
|
<?php
|
||||||
foreach ( (array) $themes as $stylesheet => $theme_data) {
|
foreach ( $themes as $stylesheet => $theme ) {
|
||||||
$screenshot = $theme_data->{'Theme Root URI'} . '/' . $stylesheet . '/' . $theme_data->Screenshot;
|
|
||||||
|
|
||||||
echo "
|
echo "
|
||||||
<tr class='active'>
|
<tr class='active'>
|
||||||
<th scope='row' class='check-column'><input type='checkbox' name='checked[]' value='" . esc_attr($stylesheet) . "' /></th>
|
<th scope='row' class='check-column'><input type='checkbox' name='checked[]' value='" . esc_attr( $stylesheet ) . "' /></th>
|
||||||
<td class='plugin-title'><img src='$screenshot' width='64' height='64' style='float:left; padding: 0 5px 5px' /><strong>{$theme_data->Name}</strong>" . sprintf(__('You have version %1$s installed. Update to %2$s.'), $theme_data->Version, $theme_data->update['new_version']) . "</td>
|
<td class='plugin-title'><img src='" . esc_url( $theme->get_screenshot() ) . "' width='64' height='64' style='float:left; padding: 0 5px 5px' /><strong>" . $theme->display('Name') . '</strong> ' . sprintf( __( 'You have version %1$s installed. Update to %2$s.' ), $theme->display('Version'), $theme->update['new_version'] ) . "</td>
|
||||||
</tr>";
|
</tr>";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user