WordPress.org

Make WordPress Core

Ticket #26119: 26119-remove-screen_icon.patch

File 26119-remove-screen_icon.patch, 26.0 KB (added by TobiasBg, 8 years ago)

Remove screen_icon() calls

  • src/wp-admin/comment.php

    diff --git a/src/wp-admin/comment.php b/src/wp-admin/comment.php
    index c2d57f0..d4d37ee 100644
    a b case 'spam' : 
    115115
    116116<div class="narrow">
    117117
    118 <?php screen_icon(); ?>
    119118<h2><?php echo esc_html( $title ); ?></h2>
    120119
    121120<?php
  • src/wp-admin/custom-background.php

    diff --git a/src/wp-admin/custom-background.php b/src/wp-admin/custom-background.php
    index 9765608..6b1bfe6 100644
    a b class Custom_Background { 
    179179        function admin_page() {
    180180?>
    181181<div class="wrap" id="custom-background">
    182 <?php screen_icon(); ?>
    183182<h2><?php _e('Custom Background'); ?></h2>
    184183<?php if ( !empty($this->updated) ) { ?>
    185184<div id="message" class="updated">
  • src/wp-admin/custom-header.php

    diff --git a/src/wp-admin/custom-header.php b/src/wp-admin/custom-header.php
    index 7b1a4b3..7f222f7 100644
    a b class Custom_Image_Header { 
    450450?>
    451451
    452452<div class="wrap">
    453 <?php screen_icon(); ?>
    454453<h2><?php _e('Custom Header'); ?></h2>
    455454
    456455<?php if ( ! empty( $this->updated ) ) { ?>
    wp_nonce_field( 'custom-header-options', '_wpnonce-custom-header-options' ); ?> 
    724723                ?>
    725724
    726725<div class="wrap">
    727 <?php screen_icon(); ?>
    728726<h2><?php _e( 'Crop Header Image' ); ?></h2>
    729727
    730728<form method="post" action="<?php echo esc_url(add_query_arg('step', 3)); ?>">
  • src/wp-admin/edit-comments.php

    diff --git a/src/wp-admin/edit-comments.php b/src/wp-admin/edit-comments.php
    index f084ab5..b12264a 100644
    a b require_once( ABSPATH . 'wp-admin/admin-header.php' ); 
    140140?>
    141141
    142142<div class="wrap">
    143 <?php screen_icon(); ?>
    144143<h2><?php
    145144if ( $post_id )
    146145        echo sprintf( __( 'Comments on &#8220;%s&#8221;' ),
  • src/wp-admin/edit-form-advanced.php

    diff --git a/src/wp-admin/edit-form-advanced.php b/src/wp-admin/edit-form-advanced.php
    index 219cece..7970b8c 100644
    a b require_once( ABSPATH . 'wp-admin/admin-header.php' ); 
    359359?>
    360360
    361361<div class="wrap">
    362 <?php screen_icon(); ?>
    363362<h2><?php
    364363echo esc_html( $title );
    365364if ( isset( $post_new_file ) && current_user_can( $post_type_object->cap->create_posts ) )
  • src/wp-admin/edit-form-comment.php

    diff --git a/src/wp-admin/edit-form-comment.php b/src/wp-admin/edit-form-comment.php
    index 6537169..55f8df6 100644
    a b if ( !defined('ABSPATH') ) 
    1313<form name="post" action="comment.php" method="post" id="post">
    1414<?php wp_nonce_field('update-comment_' . $comment->comment_ID) ?>
    1515<div class="wrap">
    16 <?php screen_icon(); ?>
    1716<h2><?php _e('Edit Comment'); ?></h2>
    1817
    1918<div id="poststuff">
  • src/wp-admin/edit-link-form.php

    diff --git a/src/wp-admin/edit-link-form.php b/src/wp-admin/edit-link-form.php
    index a44944b..d4a38ca 100644
    a b require_once( ABSPATH . 'wp-admin/admin-header.php' ); 
    7070?>
    7171
    7272<div class="wrap">
    73 <?php screen_icon(); ?>
    7473<h2><?php echo esc_html( $title ); ?>  <a href="link-add.php" class="add-new-h2"><?php echo esc_html_x('Add New', 'link'); ?></a></h2>
    7574
    7675<?php if ( isset( $_GET['added'] ) ) : ?>
  • src/wp-admin/edit-tag-form.php

    diff --git a/src/wp-admin/edit-tag-form.php b/src/wp-admin/edit-tag-form.php
    index b8f4125..d04931d 100644
    a b else 
    2727do_action($taxonomy . '_pre_edit_form', $tag, $taxonomy); ?>
    2828
    2929<div class="wrap">
    30 <?php screen_icon(); ?>
    3130<h2><?php echo $tax->labels->edit_item; ?></h2>
    3231<div id="ajax-response"></div>
    3332<form name="edittag" id="edittag" method="post" action="edit-tags.php" class="validate"<?php do_action( $taxonomy . '_term_edit_form_tag' ); ?>>
  • src/wp-admin/edit-tags.php

    diff --git a/src/wp-admin/edit-tags.php b/src/wp-admin/edit-tags.php
    index 0a04637..446ffa1 100644
    a b if ( isset( $_REQUEST['message'] ) && ( $msg = (int) $_REQUEST['message'] ) ) { 
    294294?>
    295295
    296296<div class="wrap nosubsub">
    297 <?php screen_icon(); ?>
    298297<h2><?php echo esc_html( $title );
    299298if ( !empty($_REQUEST['s']) )
    300299        printf( '<span class="subtitle">' . __('Search results for &#8220;%s&#8221;') . '</span>', esc_html( wp_unslash($_REQUEST['s']) ) ); ?>
  • src/wp-admin/edit.php

    diff --git a/src/wp-admin/edit.php b/src/wp-admin/edit.php
    index 8d32036..e98da90 100644
    a b $bulk_counts = array_filter( $bulk_counts ); 
    265265require_once( ABSPATH . 'wp-admin/admin-header.php' );
    266266?>
    267267<div class="wrap">
    268 <?php screen_icon(); ?>
    269268<h2><?php
    270269echo esc_html( $post_type_object->labels->name );
    271270if ( current_user_can( $post_type_object->cap->create_posts ) )
  • src/wp-admin/export.php

    diff --git a/src/wp-admin/export.php b/src/wp-admin/export.php
    index 4f67c08..e0811c3 100644
    a b function export_date_options( $post_type = 'post' ) { 
    144144?>
    145145
    146146<div class="wrap">
    147 <?php screen_icon(); ?>
    148147<h2><?php echo esc_html( $title ); ?></h2>
    149148
    150149<p><?php _e('When you click the button below WordPress will create an XML file for you to save to your computer.'); ?></p>
  • src/wp-admin/import.php

    diff --git a/src/wp-admin/import.php b/src/wp-admin/import.php
    index 076f0d1..e85bf70 100644
    a b $parent_file = 'tools.php'; 
    5252?>
    5353
    5454<div class="wrap">
    55 <?php screen_icon(); ?>
    5655<h2><?php echo esc_html( $title ); ?></h2>
    5756<?php if ( ! empty( $_GET['invalid'] ) ) : ?>
    5857        <div class="error"><p><strong><?php _e('ERROR:')?></strong> <?php printf( __('The <strong>%s</strong> importer is invalid or is not installed.'), esc_html( $_GET['invalid'] ) ); ?></p></div>
  • src/wp-admin/includes/class-wp-upgrader-skins.php

    diff --git a/src/wp-admin/includes/class-wp-upgrader-skins.php b/src/wp-admin/includes/class-wp-upgrader-skins.php
    index 31c5dbb..71a1293 100644
    a b class WP_Upgrader_Skin { 
    5151                        return;
    5252                $this->done_header = true;
    5353                echo '<div class="wrap">';
    54                 screen_icon();
    5554                echo '<h2>' . $this->options['title'] . '</h2>';
    5655        }
    5756        function footer() {
  • src/wp-admin/index.php

    diff --git a/src/wp-admin/index.php b/src/wp-admin/index.php
    index 87cfd70..88b1587 100644
    a b include( ABSPATH . 'wp-admin/admin-header.php' ); 
    9393?>
    9494
    9595<div class="wrap">
    96         <?php screen_icon(); ?>
    9796        <h2><?php echo esc_html( $title ); ?></h2>
    9897
    9998<?php if ( has_action( 'welcome_panel' ) && current_user_can( 'edit_theme_options' ) ) :
  • src/wp-admin/link-manager.php

    diff --git a/src/wp-admin/link-manager.php b/src/wp-admin/link-manager.php
    index cbcf689..9dde73c 100644
    a b if ( ! current_user_can('manage_links') ) 
    6969?>
    7070
    7171<div class="wrap nosubsub">
    72 <?php screen_icon(); ?>
    7372<h2><?php echo esc_html( $title ); ?> <a href="link-add.php" class="add-new-h2"><?php echo esc_html_x('Add New', 'link'); ?></a> <?php
    7473if ( !empty($_REQUEST['s']) )
    7574        printf( '<span class="subtitle">' . __('Search results for &#8220;%s&#8221;') . '</span>', esc_html( wp_unslash($_REQUEST['s']) ) ); ?>
  • src/wp-admin/media-new.php

    diff --git a/src/wp-admin/media-new.php b/src/wp-admin/media-new.php
    index d8f8b63..75f49f1 100644
    a b if ( get_user_setting('uploader') || isset( $_GET['browser-uploader'] ) ) 
    6565        $form_class .= ' html-uploader';
    6666?>
    6767<div class="wrap">
    68         <?php screen_icon(); ?>
    6968        <h2><?php echo esc_html( $title ); ?></h2>
    7069
    7170        <form enctype="multipart/form-data" method="post" action="<?php echo admin_url('media-new.php'); ?>" class="<?php echo esc_attr( $form_class ); ?>" id="file-form">
  • src/wp-admin/media.php

    diff --git a/src/wp-admin/media.php b/src/wp-admin/media.php
    index c9f0348..1462f7d 100644
    a b case 'edit' : 
    103103?>
    104104
    105105<div class="wrap">
    106 <?php screen_icon(); ?>
    107106<h2>
    108107<?php
    109108echo esc_html( $title );
  • src/wp-admin/ms-delete-site.php

    diff --git a/src/wp-admin/ms-delete-site.php b/src/wp-admin/ms-delete-site.php
    index b9112c0..c94089d 100644
    a b $parent_file = 'tools.php'; 
    3232require_once( ABSPATH . 'wp-admin/admin-header.php' );
    3333
    3434echo '<div class="wrap">';
    35 screen_icon();
    3635echo '<h2>' . esc_html( $title ) . '</h2>';
    3736
    3837if ( isset( $_POST['action'] ) && $_POST['action'] == 'deleteblog' && isset( $_POST['confirmdelete'] ) && $_POST['confirmdelete'] == '1' ) {
  • src/wp-admin/my-sites.php

    diff --git a/src/wp-admin/my-sites.php b/src/wp-admin/my-sites.php
    index 6107358..2f237c6 100644
    a b if ( $updated ) { ?> 
    5656<?php } ?>
    5757
    5858<div class="wrap">
    59 <?php screen_icon(); ?>
    6059<h2><?php echo esc_html( $title ); ?></h2>
    6160<?php
    6261if ( empty( $blogs ) ) :
  • src/wp-admin/nav-menus.php

    diff --git a/src/wp-admin/nav-menus.php b/src/wp-admin/nav-menus.php
    index a535131..a9d2ecc 100644
    a b get_current_screen()->set_help_sidebar( 
    533533require_once( ABSPATH . 'wp-admin/admin-header.php' );
    534534?>
    535535<div class="wrap">
    536         <?php screen_icon(); ?>
    537536        <h2 class="nav-tab-wrapper">
    538537                <a href="<?php echo admin_url( 'nav-menus.php' ); ?>" class="nav-tab<?php if ( ! isset( $_GET['action'] ) || isset( $_GET['action'] ) && 'locations' != $_GET['action'] ) echo ' nav-tab-active'; ?>"><?php esc_html_e( 'Edit Menus' ); ?></a>
    539538                <?php if ( $num_locations && $menu_count ) : ?>
  • src/wp-admin/network.php

    diff --git a/src/wp-admin/network.php b/src/wp-admin/network.php
    index 097489d..516cf58 100644
    a b get_current_screen()->set_help_sidebar( 
    136136include( ABSPATH . 'wp-admin/admin-header.php' );
    137137?>
    138138<div class="wrap">
    139 <?php screen_icon('tools'); ?>
    140139<h2><?php echo esc_html( $title ); ?></h2>
    141140
    142141<?php
  • src/wp-admin/network/index.php

    diff --git a/src/wp-admin/network/index.php b/src/wp-admin/network/index.php
    index 5514331..366a9bb 100644
    a b require_once( ABSPATH . 'wp-admin/admin-header.php' ); 
    6767?>
    6868
    6969<div class="wrap">
    70 <?php screen_icon(); ?>
    7170<h2><?php echo esc_html( $title ); ?></h2>
    7271
    7372<div id="dashboard-widgets-wrap">
  • src/wp-admin/network/settings.php

    diff --git a/src/wp-admin/network/settings.php b/src/wp-admin/network/settings.php
    index fd0d41f..0538aee 100644
    a b if ( isset( $_GET['updated'] ) ) { 
    8484?>
    8585
    8686<div class="wrap">
    87         <?php screen_icon('options-general'); ?>
    8887        <h2><?php echo esc_html( $title ); ?></h2>
    8988        <form method="post" action="settings.php">
    9089                <?php wp_nonce_field( 'siteoptions' ); ?>
  • src/wp-admin/network/site-info.php

    diff --git a/src/wp-admin/network/site-info.php b/src/wp-admin/network/site-info.php
    index 6a952b6..6607b8f 100644
    a b require( ABSPATH . 'wp-admin/admin-header.php' ); 
    9696?>
    9797
    9898<div class="wrap">
    99 <?php screen_icon('ms-admin'); ?>
    10099<h2 id="edit-site"><?php echo $title_site_url_linked ?></h2>
    101100<h3 class="nav-tab-wrapper">
    102101<?php
  • src/wp-admin/network/site-new.php

    diff --git a/src/wp-admin/network/site-new.php b/src/wp-admin/network/site-new.php
    index 1a31b6a..672d7e8 100644
    a b require( ABSPATH . 'wp-admin/admin-header.php' ); 
    111111?>
    112112
    113113<div class="wrap">
    114 <?php screen_icon('ms-admin'); ?>
    115114<h2 id="add-new-site"><?php _e('Add New Site') ?></h2>
    116115<?php
    117116if ( ! empty( $messages ) ) {
  • src/wp-admin/network/site-settings.php

    diff --git a/src/wp-admin/network/site-settings.php b/src/wp-admin/network/site-settings.php
    index 76d0d2c..2a411d6 100644
    a b require( ABSPATH . 'wp-admin/admin-header.php' ); 
    8787?>
    8888
    8989<div class="wrap">
    90 <?php screen_icon('ms-admin'); ?>
    9190<h2 id="edit-site"><?php echo $title_site_url_linked ?></h2>
    9291<h3 class="nav-tab-wrapper">
    9392<?php
  • src/wp-admin/network/site-themes.php

    diff --git a/src/wp-admin/network/site-themes.php b/src/wp-admin/network/site-themes.php
    index ec8fc7d..646eb08 100644
    a b $submenu_file = 'sites.php'; 
    135135require( ABSPATH . 'wp-admin/admin-header.php' ); ?>
    136136
    137137<div class="wrap">
    138 <?php screen_icon('ms-admin'); ?>
    139138<h2 id="edit-site"><?php echo $title_site_url_linked ?></h2>
    140139<h3 class="nav-tab-wrapper">
    141140<?php
  • src/wp-admin/network/site-users.php

    diff --git a/src/wp-admin/network/site-users.php b/src/wp-admin/network/site-users.php
    index 9501112..8847606 100644
    a b var current_site_id = <?php echo $id; ?>; 
    184184
    185185
    186186<div class="wrap">
    187 <?php screen_icon('ms-admin'); ?>
    188187<h2 id="edit-site"><?php echo $title_site_url_linked ?></h2>
    189188<h3 class="nav-tab-wrapper">
    190189<?php
  • src/wp-admin/network/sites.php

    diff --git a/src/wp-admin/network/sites.php b/src/wp-admin/network/sites.php
    index 37f6440..ce04618 100644
    a b require_once( ABSPATH . 'wp-admin/admin-header.php' ); 
    230230?>
    231231
    232232<div class="wrap">
    233 <?php screen_icon( 'ms-admin' ); ?>
    234233<h2><?php _e( 'Sites' ) ?>
    235234
    236235<?php if ( current_user_can( 'create_sites') ) : ?>
  • src/wp-admin/network/themes.php

    diff --git a/src/wp-admin/network/themes.php b/src/wp-admin/network/themes.php
    index 264f90e..135c1e4 100644
    a b if ( $action ) { 
    9090                        require_once(ABSPATH . 'wp-admin/admin-header.php');
    9191
    9292                        echo '<div class="wrap">';
    93                         screen_icon();
    9493                        echo '<h2>' . esc_html( $title ) . '</h2>';
    9594
    9695                        $url = self_admin_url('update.php?action=update-selected-themes&amp;themes=' . urlencode( join(',', $themes) ));
    if ( $action ) { 
    137136                        <div class="wrap">
    138137                                <?php
    139138                                        $themes_to_delete = count( $themes );
    140                                         screen_icon();
    141139                                        echo '<h2>' . _n( 'Delete Theme', 'Delete Themes', $themes_to_delete ) . '</h2>';
    142140                                ?>
    143141                                <div class="error"><p><strong><?php _e( 'Caution:' ); ?></strong> <?php echo _n( 'This theme may be active on other sites in the network.', 'These themes may be active on other sites in the network.', $themes_to_delete ); ?></p></div>
    require_once(ABSPATH . 'wp-admin/admin-header.php'); 
    227225?>
    228226
    229227<div class="wrap">
    230 <?php screen_icon('themes'); ?>
    231228<h2><?php echo esc_html( $title ); if ( current_user_can('install_themes') ) { ?> <a href="theme-install.php" class="add-new-h2"><?php echo esc_html_x('Add New', 'theme'); ?></a><?php }
    232229if ( $s )
    233230        printf( '<span class="subtitle">' . __('Search results for &#8220;%s&#8221;') . '</span>', esc_html( $s ) ); ?>
  • src/wp-admin/network/upgrade.php

    diff --git a/src/wp-admin/network/upgrade.php b/src/wp-admin/network/upgrade.php
    index 96137b3..8fdcf37 100644
    a b if ( ! current_user_can( 'manage_network' ) ) 
    3939        wp_die( __( 'You do not have permission to access this page.' ) );
    4040
    4141echo '<div class="wrap">';
    42 screen_icon('tools');
    4342echo '<h2>' . __( 'Upgrade Network' ) . '</h2>';
    4443
    4544$action = isset($_GET['action']) ? $_GET['action'] : 'show';
  • src/wp-admin/network/user-new.php

    diff --git a/src/wp-admin/network/user-new.php b/src/wp-admin/network/user-new.php
    index 0f3ad1f..04ef34a 100644
    a b $parent_file = 'users.php'; 
    6969require( ABSPATH . 'wp-admin/admin-header.php' ); ?>
    7070
    7171<div class="wrap">
    72 <?php screen_icon(); ?>
    7372<h2 id="add-new-user"><?php _e('Add New User') ?></h2>
    7473<?php
    7574if ( ! empty( $messages ) ) {
  • src/wp-admin/network/users.php

    diff --git a/src/wp-admin/network/users.php b/src/wp-admin/network/users.php
    index 9db1561..40251e2 100644
    a b function confirm_delete_users( $users ) { 
    2020        $current_user = wp_get_current_user();
    2121        if ( !is_array( $users ) )
    2222                return false;
    23 
    24         screen_icon();
    2523        ?>
    2624        <h2><?php esc_html_e( 'Users' ); ?></h2>
    2725        <p><?php _e( 'Transfer or delete posts before deleting users.' ); ?></p>
    if ( isset( $_REQUEST['updated'] ) && $_REQUEST['updated'] == 'true' && ! empty( 
    275273}
    276274        ?>
    277275<div class="wrap">
    278         <?php screen_icon(); ?>
    279276        <h2><?php esc_html_e( 'Users' );
    280277        if ( current_user_can( 'create_users') ) : ?>
    281278                <a href="<?php echo network_admin_url('user-new.php'); ?>" class="add-new-h2"><?php echo esc_html_x( 'Add New', 'user' ); ?></a><?php
  • src/wp-admin/options-discussion.php

    diff --git a/src/wp-admin/options-discussion.php b/src/wp-admin/options-discussion.php
    index 76f6b32..0c37646 100644
    a b include( ABSPATH . 'wp-admin/admin-header.php' ); 
    3131?>
    3232
    3333<div class="wrap">
    34 <?php screen_icon(); ?>
    3534<h2><?php echo esc_html( $title ); ?></h2>
    3635
    3736<form method="post" action="options.php">
  • src/wp-admin/options-general.php

    diff --git a/src/wp-admin/options-general.php b/src/wp-admin/options-general.php
    index 5f2bf21..6535332 100644
    a b include( ABSPATH . 'wp-admin/admin-header.php' ); 
    8484?>
    8585
    8686<div class="wrap">
    87 <?php screen_icon(); ?>
    8887<h2><?php echo esc_html( $title ); ?></h2>
    8988
    9089<form method="post" action="options.php">
  • src/wp-admin/options-media.php

    diff --git a/src/wp-admin/options-media.php b/src/wp-admin/options-media.php
    index 4eccbf6..e0c06ca 100644
    a b include( ABSPATH . 'wp-admin/admin-header.php' ); 
    4040?>
    4141
    4242<div class="wrap">
    43 <?php screen_icon(); ?>
    4443<h2><?php echo esc_html( $title ); ?></h2>
    4544
    4645<form action="options.php" method="post">
  • src/wp-admin/options-permalink.php

    diff --git a/src/wp-admin/options-permalink.php b/src/wp-admin/options-permalink.php
    index 738a0c3..63ddc55 100644
    a b if ( ! is_multisite() ) { 
    170170<?php endif; ?>
    171171
    172172<div class="wrap">
    173 <?php screen_icon(); ?>
    174173<h2><?php echo esc_html( $title ); ?></h2>
    175174
    176175<form name="form" action="options-permalink.php" method="post">
  • src/wp-admin/options-reading.php

    diff --git a/src/wp-admin/options-reading.php b/src/wp-admin/options-reading.php
    index e928b2e..72dfc8f 100644
    a b include( ABSPATH . 'wp-admin/admin-header.php' ); 
    7676?>
    7777
    7878<div class="wrap">
    79 <?php screen_icon(); ?>
    8079<h2><?php echo esc_html( $title ); ?></h2>
    8180
    8281<form method="post" action="options.php">
  • src/wp-admin/options-writing.php

    diff --git a/src/wp-admin/options-writing.php b/src/wp-admin/options-writing.php
    index b3f9f68..d6ba5d3 100644
    a b include( ABSPATH . 'wp-admin/admin-header.php' ); 
    6262?>
    6363
    6464<div class="wrap">
    65 <?php screen_icon(); ?>
    6665<h2><?php echo esc_html( $title ); ?></h2>
    6766
    6867<form method="post" action="options.php">
  • src/wp-admin/options.php

    diff --git a/src/wp-admin/options.php b/src/wp-admin/options.php
    index 00fb3c0..8b84811 100644
    a b if ( 'update' == $action ) { 
    200200include( ABSPATH . 'wp-admin/admin-header.php' ); ?>
    201201
    202202<div class="wrap">
    203 <?php screen_icon(); ?>
    204203  <h2><?php esc_html_e('All Settings'); ?></h2>
    205204  <form name="form" action="options.php" method="post" id="all-options">
    206205  <?php wp_nonce_field('options-options') ?>
  • src/wp-admin/plugin-editor.php

    diff --git a/src/wp-admin/plugin-editor.php b/src/wp-admin/plugin-editor.php
    index 94925b4..ff962b8 100644
    a b default: 
    167167</div>
    168168<?php endif; ?>
    169169<div class="wrap">
    170 <?php screen_icon(); ?>
    171170<h2><?php echo esc_html( $title ); ?></h2>
    172171
    173172<div class="fileedit-sub">
  • src/wp-admin/plugin-install.php

    diff --git a/src/wp-admin/plugin-install.php b/src/wp-admin/plugin-install.php
    index 2e89a0e..8d0dde3 100644
    a b get_current_screen()->set_help_sidebar( 
    7373include(ABSPATH . 'wp-admin/admin-header.php');
    7474?>
    7575<div class="wrap">
    76 <?php screen_icon( 'plugins' ); ?>
    7776<h2><?php echo esc_html( $title ); ?></h2>
    7877
    7978<?php $wp_list_table->views(); ?>
  • src/wp-admin/plugins.php

    diff --git a/src/wp-admin/plugins.php b/src/wp-admin/plugins.php
    index 4c37813..338ed7c 100644
    a b if ( $action ) { 
    116116                        require_once(ABSPATH . 'wp-admin/admin-header.php');
    117117
    118118                        echo '<div class="wrap">';
    119                         screen_icon();
    120119                        echo '<h2>' . esc_html( $title ) . '</h2>';
    121120
    122121                        $url = self_admin_url('update.php?action=update-selected&amp;plugins=' . urlencode( join(',', $plugins) ));
    if ( $action ) { 
    258257                                                        }
    259258                                                }
    260259                                        }
    261                                         screen_icon();
    262260                                        $plugins_to_delete = count( $plugin_info );
    263261                                        echo '<h2>' . _n( 'Delete Plugin', 'Delete Plugins', $plugins_to_delete ) . '</h2>';
    264262                                ?>
    if ( !empty($invalid) ) 
    407405<?php endif; ?>
    408406
    409407<div class="wrap">
    410 <?php screen_icon(); ?>
    411408<h2><?php echo esc_html( $title );
    412409if ( ( ! is_multisite() || is_network_admin() ) && current_user_can('install_plugins') ) { ?>
    413410 <a href="<?php echo self_admin_url( 'plugin-install.php' ); ?>" class="add-new-h2"><?php echo esc_html_x('Add New', 'plugin'); ?></a>
  • src/wp-admin/revision.php

    diff --git a/src/wp-admin/revision.php b/src/wp-admin/revision.php
    index 7d1ce81..818d13c 100644
    a b require_once( ABSPATH . 'wp-admin/admin-header.php' ); 
    124124?>
    125125
    126126<div class="wrap">
    127         <?php screen_icon(); ?>
    128127        <h2 class="long-header"><?php echo $h2; ?></h2>
    129128</div>
    130129
  • src/wp-admin/theme-editor.php

    diff --git a/src/wp-admin/theme-editor.php b/src/wp-admin/theme-editor.php
    index 7d1c618..8d1775d 100644
    a b if ( $description != $file_show ) 
    133133        $description .= ' <span>(' . $file_show . ')</span>';
    134134?>
    135135<div class="wrap">
    136 <?php screen_icon(); ?>
    137136<h2><?php echo esc_html( $title ); ?></h2>
    138137
    139138<div class="fileedit-sub">
  • src/wp-admin/theme-install.php

    diff --git a/src/wp-admin/theme-install.php b/src/wp-admin/theme-install.php
    index 07f42d7..d6b37a4 100644
    a b include(ABSPATH . 'wp-admin/admin-header.php'); 
    6767?>
    6868<div class="wrap">
    6969<?php
    70 screen_icon();
    71 
    7270if ( is_network_admin() ) : ?>
    7371<h2><?php echo esc_html( $title ); ?></h2>
    7472<?php else : ?>
  • src/wp-admin/tools.php

    diff --git a/src/wp-admin/tools.php b/src/wp-admin/tools.php
    index 0c7e040..b55328a 100644
    a b require_once( ABSPATH . 'wp-admin/admin-header.php' ); 
    3333
    3434?>
    3535<div class="wrap">
    36 <?php screen_icon(); ?>
    3736<h2><?php echo esc_html( $title ); ?></h2>
    3837
    3938<?php if ( current_user_can('edit_posts') ) : ?>
  • src/wp-admin/update-core.php

    diff --git a/src/wp-admin/update-core.php b/src/wp-admin/update-core.php
    index ece0666..9663f29 100644
    a b function do_core_upgrade( $reinstall = false ) { 
    376376
    377377?>
    378378        <div class="wrap">
    379         <?php screen_icon('tools'); ?>
    380379        <h2><?php _e('Update WordPress'); ?></h2>
    381380<?php
    382381
    if ( 'upgrade-core' == $action ) { 
    490489        require_once(ABSPATH . 'wp-admin/admin-header.php');
    491490        ?>
    492491        <div class="wrap">
    493         <?php screen_icon('tools'); ?>
    494492        <h2><?php _e('WordPress Updates'); ?></h2>
    495493        <?php
    496494        if ( $upgrade_error ) {
    if ( 'upgrade-core' == $action ) { 
    569567
    570568        require_once(ABSPATH . 'wp-admin/admin-header.php');
    571569        echo '<div class="wrap">';
    572         screen_icon('plugins');
    573570        echo '<h2>' . esc_html__('Update Plugins') . '</h2>';
    574571        echo "<iframe src='$url' style='width: 100%; height: 100%; min-height: 750px;' frameborder='0'></iframe>";
    575572        echo '</div>';
    if ( 'upgrade-core' == $action ) { 
    598595
    599596        require_once(ABSPATH . 'wp-admin/admin-header.php');
    600597        echo '<div class="wrap">';
    601         screen_icon('themes');
    602598        echo '<h2>' . esc_html__('Update Themes') . '</h2>';
    603599        echo "<iframe src='$url' style='width: 100%; height: 100%; min-height: 750px;' frameborder='0'></iframe>";
    604600        echo '</div>';
  • src/wp-admin/upload.php

    diff --git a/src/wp-admin/upload.php b/src/wp-admin/upload.php
    index 64d0f84..df99809 100644
    a b require_once( ABSPATH . 'wp-admin/admin-header.php' ); 
    177177?>
    178178
    179179<div class="wrap">
    180 <?php screen_icon(); ?>
    181180<h2>
    182181<?php
    183182echo esc_html( $title );
  • src/wp-admin/user-edit.php

    diff --git a/src/wp-admin/user-edit.php b/src/wp-admin/user-edit.php
    index 53d16d7..ff2ede3 100644
    a b include (ABSPATH . 'wp-admin/admin-header.php'); 
    176176<?php endif; ?>
    177177
    178178<div class="wrap" id="profile-page">
    179 <?php screen_icon(); ?>
    180179<h2>
    181180<?php
    182181echo esc_html( $title );
  • src/wp-admin/user-new.php

    diff --git a/src/wp-admin/user-new.php b/src/wp-admin/user-new.php
    index 60d63b2..eb60cd9 100644
    a b if ( isset($_GET['update']) ) { 
    233233}
    234234?>
    235235<div class="wrap">
    236 <?php screen_icon(); ?>
    237236<h2 id="add-new-user"> <?php
    238237if ( current_user_can( 'create_users' ) ) {
    239238        echo _x( 'Add New User', 'user' );
  • src/wp-admin/users.php

    diff --git a/src/wp-admin/users.php b/src/wp-admin/users.php
    index 1f4fc5e..2a28f74 100644
    a b case 'delete': 
    218218<?php echo $referer; ?>
    219219
    220220<div class="wrap">
    221 <?php screen_icon(); ?>
    222221<h2><?php _e('Delete Users'); ?></h2>
    223222<?php if ( isset( $_REQUEST['error'] ) ) : ?>
    224223<div class="error">
    case 'remove': 
    323322<?php echo $referer; ?>
    324323
    325324<div class="wrap">
    326 <?php screen_icon(); ?>
    327325<h2><?php _e('Remove Users from Site'); ?></h2>
    328326<p><?php _e('You have specified these users for removal:'); ?></p>
    329327<ul>
    if ( ! empty($messages) ) { 
    425423} ?>
    426424
    427425<div class="wrap">
    428 <?php screen_icon(); ?>
    429426<h2>
    430427<?php
    431428echo esc_html( $title );
  • src/wp-admin/widgets.php

    diff --git a/src/wp-admin/widgets.php b/src/wp-admin/widgets.php
    index 93c92c7..20ca2e0 100644
    a b if ( isset($_GET['editwidget']) && $_GET['editwidget'] ) { 
    229229
    230230        require_once( ABSPATH . 'wp-admin/admin-header.php' ); ?>
    231231        <div class="wrap">
    232         <?php screen_icon(); ?>
    233232        <h2><?php echo esc_html( $title ); ?></h2>
    234233        <div class="editwidget"<?php echo $width; ?>>
    235234        <h3><?php printf( __( 'Widget %s' ), $name ); ?></h3>
    $errors = array( 
    310309require_once( ABSPATH . 'wp-admin/admin-header.php' ); ?>
    311310
    312311<div class="wrap">
    313 <?php screen_icon(); ?>
    314312<h2><?php echo esc_html( $title ); ?></h2>
    315313
    316314<?php if ( isset($_GET['message']) && isset($messages[$_GET['message']]) ) { ?>