mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Add screen icon for plugin upgrade. Props demetris. fixes #9410
git-svn-id: https://develop.svn.wordpress.org/trunk@10850 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -35,6 +35,7 @@ function do_plugin_upgrade($plugin) {
|
||||
}
|
||||
|
||||
echo '<div class="wrap">';
|
||||
echo screen_icon();
|
||||
echo '<h2>' . __('Upgrade Plugin') . '</h2>';
|
||||
if ( $wp_filesystem->errors->get_error_code() ) {
|
||||
foreach ( $wp_filesystem->errors->get_error_messages() as $message )
|
||||
@@ -94,6 +95,7 @@ function do_theme_upgrade($theme) {
|
||||
}
|
||||
|
||||
echo '<div class="wrap">';
|
||||
echo screen_icon();
|
||||
echo '<h2>' . __('Upgrade Theme') . '</h2>';
|
||||
if ( $wp_filesystem->errors->get_error_code() ) {
|
||||
foreach ( $wp_filesystem->errors->get_error_messages() as $message )
|
||||
|
||||
Reference in New Issue
Block a user