diff --git a/src/wp-admin/includes/class-wp-upgrader-skins.php b/src/wp-admin/includes/class-wp-upgrader-skins.php
index 31c5dbb4f5..71a1293e8b 100644
--- a/src/wp-admin/includes/class-wp-upgrader-skins.php
+++ b/src/wp-admin/includes/class-wp-upgrader-skins.php
@@ -51,7 +51,6 @@ class WP_Upgrader_Skin {
return;
$this->done_header = true;
echo '
';
- screen_icon();
echo '
' . $this->options['title'] . '
';
}
function footer() {
diff --git a/src/wp-admin/includes/deprecated.php b/src/wp-admin/includes/deprecated.php
index e6d42abde8..ff87729a98 100644
--- a/src/wp-admin/includes/deprecated.php
+++ b/src/wp-admin/includes/deprecated.php
@@ -1134,3 +1134,54 @@ function wp_update_theme($theme, $feedback = '') {
function the_attachment_links( $id = false ) {
_deprecated_function( __FUNCTION__, '3.7' );
}
+
+/**
+ * Displays a screen icon.
+ *
+ * @uses get_screen_icon()
+ * @since 2.7.0
+ * @deprecated 3.8.0
+ *
+ * @param string|WP_Screen $screen Optional. Accepts a screen object (and defaults to the current screen object)
+ * which it uses to determine an icon HTML ID. Or, if a string is provided, it is used to form the icon HTML ID.
+ */
+function screen_icon( $screen = '' ) {
+ _deprecated_function( __FUNCTION__, '3.8' );
+ echo get_screen_icon( $screen );
+}
+
+/**
+ * Gets a screen icon.
+ *
+ * @since 3.2.0
+ * @deprecated 3.8.0
+ *
+ * @global $post_ID
+ * @param string|WP_Screen $screen Optional. Accepts a screen object (and defaults to the current screen object)
+ * which it uses to determine an icon HTML ID. Or, if a string is provided, it is used to form the icon HTML ID.
+ * @return string HTML for the screen icon.
+ */
+function get_screen_icon( $screen = '' ) {
+ _deprecated_function( __FUNCTION__, '3.8' );
+ if ( empty( $screen ) )
+ $screen = get_current_screen();
+ elseif ( is_string( $screen ) )
+ $icon_id = $screen;
+
+ $class = 'icon32';
+
+ if ( empty( $icon_id ) ) {
+ if ( ! empty( $screen->parent_base ) )
+ $icon_id = $screen->parent_base;
+ else
+ $icon_id = $screen->base;
+
+ if ( 'page' == $screen->post_type )
+ $icon_id = 'edit-pages';
+
+ if ( $screen->post_type )
+ $class .= ' ' . sanitize_html_class( 'icon32-posts-' . $screen->post_type );
+ }
+
+ return '
';
+}
\ No newline at end of file
diff --git a/src/wp-admin/includes/screen.php b/src/wp-admin/includes/screen.php
index 33f91fea63..85ab71248f 100644
--- a/src/wp-admin/includes/screen.php
+++ b/src/wp-admin/includes/screen.php
@@ -124,53 +124,6 @@ function add_screen_option( $option, $args = array() ) {
$current_screen->add_option( $option, $args );
}
-/**
- * Displays a screen icon.
- *
- * @uses get_screen_icon()
- * @since 2.7.0
- *
- * @param string|WP_Screen $screen Optional. Accepts a screen object (and defaults to the current screen object)
- * which it uses to determine an icon HTML ID. Or, if a string is provided, it is used to form the icon HTML ID.
- */
-function screen_icon( $screen = '' ) {
- echo get_screen_icon( $screen );
-}
-
-/**
- * Gets a screen icon.
- *
- * @since 3.2.0
- *
- * @global $post_ID
- * @param string|WP_Screen $screen Optional. Accepts a screen object (and defaults to the current screen object)
- * which it uses to determine an icon HTML ID. Or, if a string is provided, it is used to form the icon HTML ID.
- * @return string HTML for the screen icon.
- */
-function get_screen_icon( $screen = '' ) {
- if ( empty( $screen ) )
- $screen = get_current_screen();
- elseif ( is_string( $screen ) )
- $icon_id = $screen;
-
- $class = 'icon32';
-
- if ( empty( $icon_id ) ) {
- if ( ! empty( $screen->parent_base ) )
- $icon_id = $screen->parent_base;
- else
- $icon_id = $screen->base;
-
- if ( 'page' == $screen->post_type )
- $icon_id = 'edit-pages';
-
- if ( $screen->post_type )
- $class .= ' ' . sanitize_html_class( 'icon32-posts-' . $screen->post_type );
- }
-
- return '
';
-}
-
/**
* Get the current screen object
*
diff --git a/src/wp-admin/index.php b/src/wp-admin/index.php
index 87cfd709d7..88b1587fd1 100644
--- a/src/wp-admin/index.php
+++ b/src/wp-admin/index.php
@@ -93,7 +93,6 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
?>
-
-
' . __('Search results for “%s”') . '', esc_html( wp_unslash($_REQUEST['s']) ) ); ?>
diff --git a/src/wp-admin/media-new.php b/src/wp-admin/media-new.php
index d8f8b63347..75f49f1008 100644
--- a/src/wp-admin/media-new.php
+++ b/src/wp-admin/media-new.php
@@ -65,7 +65,6 @@ if ( get_user_setting('uploader') || isset( $_GET['browser-uploader'] ) )
$form_class .= ' html-uploader';
?>