diff --git a/wp-admin/update-core.php b/wp-admin/update-core.php
index ee47d2f..9aa3eab 100644
a
|
b
|
function list_theme_updates() { |
357 | 357 | <tbody class="plugins"> |
358 | 358 | <?php |
359 | 359 | foreach ( $themes as $stylesheet => $theme ) { |
| 360 | // Get the upgrade notice for the new theme version. |
| 361 | if ( isset( $theme->update['upgrade_notice'] ) ) { |
| 362 | $upgrade_notice = '<br/>' . strip_tags( $theme->update['upgrade_notice'] ); |
| 363 | } else { |
| 364 | $upgrade_notice = ''; |
| 365 | } |
360 | 366 | echo " |
361 | 367 | <tr> |
362 | 368 | <th scope='row' class='check-column'><input type='checkbox' name='checked[]' value='" . esc_attr( $stylesheet ) . "' /></th> |
363 | | <td class='plugin-title'><img src='" . esc_url( $theme->get_screenshot() ) . "' width='85' height='64' style='float:left; padding: 0 5px 5px' alt='' /><strong>" . $theme->display('Name') . '</strong> ' . sprintf( __( 'You have version %1$s installed. Update to %2$s.' ), $theme->display('Version'), $theme->update['new_version'] ) . "</td> |
| 369 | <td class='plugin-title'><img src='" . esc_url( $theme->get_screenshot() ) . "' width='85' height='64' style='float:left; padding: 0 5px 5px' alt='' /><strong>" . $theme->display('Name') . '</strong> ' . sprintf( __( 'You have version %1$s installed. Update to %2$s.' ), $theme->display('Version'), $theme->update['new_version'] ) . $upgrade_notice . "</td> |
364 | 370 | </tr>"; |
365 | 371 | } |
366 | 372 | ?> |