git-svn-id: https://develop.svn.wordpress.org/trunk@24415 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
31892c0226
commit
02d7e84ab6
Binary file not shown.
Before Width: | Height: | Size: 29 KiB |
Binary file not shown.
Before Width: | Height: | Size: 29 KiB |
@ -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>';
|
||||
|
Loading…
Reference in New Issue
Block a user