mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-02 19:54:28 +00:00
Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119
git-svn-id: https://develop.svn.wordpress.org/trunk@26518 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -376,7 +376,6 @@ function do_core_upgrade( $reinstall = false ) {
|
||||
|
||||
?>
|
||||
<div class="wrap">
|
||||
<?php screen_icon('tools'); ?>
|
||||
<h2><?php _e('Update WordPress'); ?></h2>
|
||||
<?php
|
||||
|
||||
@@ -490,7 +489,6 @@ if ( 'upgrade-core' == $action ) {
|
||||
require_once(ABSPATH . 'wp-admin/admin-header.php');
|
||||
?>
|
||||
<div class="wrap">
|
||||
<?php screen_icon('tools'); ?>
|
||||
<h2><?php _e('WordPress Updates'); ?></h2>
|
||||
<?php
|
||||
if ( $upgrade_error ) {
|
||||
@@ -569,7 +567,6 @@ if ( 'upgrade-core' == $action ) {
|
||||
|
||||
require_once(ABSPATH . 'wp-admin/admin-header.php');
|
||||
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: 750px;' frameborder='0'></iframe>";
|
||||
echo '</div>';
|
||||
@@ -598,7 +595,6 @@ if ( 'upgrade-core' == $action ) {
|
||||
|
||||
require_once(ABSPATH . 'wp-admin/admin-header.php');
|
||||
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: 750px;' frameborder='0'></iframe>";
|
||||
echo '</div>';
|
||||
|
||||
Reference in New Issue
Block a user