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:
parent
ac2b09ccc8
commit
436520dc92
@ -719,6 +719,7 @@ jQuery(function($){
|
|||||||
</script>
|
</script>
|
||||||
<form action="<?php echo $form_post ?>" method="post">
|
<form action="<?php echo $form_post ?>" method="post">
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
|
<?php screen_icon(); ?>
|
||||||
<h2><?php _e('Connection Information') ?></h2>
|
<h2><?php _e('Connection Information') ?></h2>
|
||||||
<p><?php _e('To perform the requested action, connection information is required.') ?></p>
|
<p><?php _e('To perform the requested action, connection information is required.') ?></p>
|
||||||
|
|
||||||
|
@ -35,6 +35,7 @@ function do_plugin_upgrade($plugin) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
echo '<div class="wrap">';
|
echo '<div class="wrap">';
|
||||||
|
echo screen_icon();
|
||||||
echo '<h2>' . __('Upgrade Plugin') . '</h2>';
|
echo '<h2>' . __('Upgrade Plugin') . '</h2>';
|
||||||
if ( $wp_filesystem->errors->get_error_code() ) {
|
if ( $wp_filesystem->errors->get_error_code() ) {
|
||||||
foreach ( $wp_filesystem->errors->get_error_messages() as $message )
|
foreach ( $wp_filesystem->errors->get_error_messages() as $message )
|
||||||
@ -94,6 +95,7 @@ function do_theme_upgrade($theme) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
echo '<div class="wrap">';
|
echo '<div class="wrap">';
|
||||||
|
echo screen_icon();
|
||||||
echo '<h2>' . __('Upgrade Theme') . '</h2>';
|
echo '<h2>' . __('Upgrade Theme') . '</h2>';
|
||||||
if ( $wp_filesystem->errors->get_error_code() ) {
|
if ( $wp_filesystem->errors->get_error_code() ) {
|
||||||
foreach ( $wp_filesystem->errors->get_error_messages() as $message )
|
foreach ( $wp_filesystem->errors->get_error_messages() as $message )
|
||||||
|
Loading…
Reference in New Issue
Block a user