Remove post format icons next to header on edit post screen. fixes #24502. see #24452.

git-svn-id: https://develop.svn.wordpress.org/trunk@24415 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling (ocean90) 2013-06-06 14:45:25 +00:00
parent 31892c0226
commit 02d7e84ab6
3 changed files with 0 additions and 9 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

View File

@ -166,15 +166,6 @@ function get_screen_icon( $screen = '' ) {
if ( $screen->post_type )
$class .= ' ' . sanitize_html_class( 'icon32-posts-' . $screen->post_type );
if ( 'post' == $screen->id ) {
$post_format = get_post_format();
if ( ! $post_format && ! empty( $_REQUEST['format'] ) && in_array( $_REQUEST['format'], get_post_format_slugs() ) )
$post_format = $_REQUEST['format'];
if ( $post_format )
$class .= ' wp-format-' . $post_format;
}
}
return '<div id="icon-' . esc_attr( $icon_id ) . '" class="' . $class . '"><br /></div>';