mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Provide some Before/After strings for Bulk Upgrades, Add a spinner whilst a upgrade is in process, Remove scrollbars on update iframe. Props ocean90. See #11232
git-svn-id: https://develop.svn.wordpress.org/trunk@14819 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -418,7 +418,7 @@ if ( 'upgrade-core' == $action ) {
|
||||
echo '<div class="wrap">';
|
||||
screen_icon('plugins');
|
||||
echo '<h2>' . esc_html__('Update Plugins') . '</h2>';
|
||||
echo "<iframe src='$url' style='width: 100%; height:100%; min-height:850px;'></iframe>";
|
||||
echo "<iframe src='$url' style='width: 100%; height: 100%; min-height: 750px;' frameborder='0'></iframe>";
|
||||
echo '</div>';
|
||||
} elseif ( 'do-theme-upgrade' == $action ) {
|
||||
check_admin_referer('upgrade-core');
|
||||
@@ -441,7 +441,7 @@ if ( 'upgrade-core' == $action ) {
|
||||
echo '<div class="wrap">';
|
||||
screen_icon('themes');
|
||||
echo '<h2>' . esc_html__('Update Themes') . '</h2>';
|
||||
echo "<iframe src='$url' style='width: 100%; height:100%; min-height:850px;'></iframe>";
|
||||
echo "<iframe src='$url' style='width: 100%; height: 100%; min-height: 750px;' frameborder='0'></iframe>";
|
||||
echo '</div>';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user