Skip to content

Commit b33d0da

Browse files
committed
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
1 parent 0ef7e95 commit b33d0da

55 files changed

Lines changed: 51 additions & 115 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/wp-admin/comment.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ function comment_footer_die( $msg ) {
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ function take_action() {
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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,6 @@ function step_1() {
450450
?>
451451

452452
<div class="wrap">
453-
<?php screen_icon(); ?>
454453
<h2><?php _e('Custom Header'); ?></h2>
455454

456455
<?php if ( ! empty( $this->updated ) ) { ?>
@@ -724,7 +723,6 @@ function step_2() {
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@
140140
?>
141141

142142
<div class="wrap">
143-
<?php screen_icon(); ?>
144143
<h2><?php
145144
if ( $post_id )
146145
echo sprintf( __( 'Comments on &#8220;%s&#8221;' ),

src/wp-admin/edit-form-advanced.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,6 @@
359359
?>
360360

361361
<div class="wrap">
362-
<?php screen_icon(); ?>
363362
<h2><?php
364363
echo esc_html( $title );
365364
if ( isset( $post_new_file ) && current_user_can( $post_type_object->cap->create_posts ) )

src/wp-admin/edit-form-comment.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
do_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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,6 @@
301301
?>
302302

303303
<div class="wrap nosubsub">
304-
<?php screen_icon(); ?>
305304
<h2><?php echo esc_html( $title );
306305
if ( !empty($_REQUEST['s']) )
307306
printf( '<span class="subtitle">' . __('Search results for &#8220;%s&#8221;') . '</span>', esc_html( wp_unslash($_REQUEST['s']) ) ); ?>

src/wp-admin/edit.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,6 @@
265265
require_once( ABSPATH . 'wp-admin/admin-header.php' );
266266
?>
267267
<div class="wrap">
268-
<?php screen_icon(); ?>
269268
<h2><?php
270269
echo esc_html( $post_type_object->labels->name );
271270
if ( current_user_can( $post_type_object->cap->create_posts ) )

0 commit comments

Comments
 (0)