mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 19:46:21 +00:00
git-svn-id: http://core.svn.wordpress.org/trunk@24415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5626969d0b
commit
0bba1877c4
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…
x
Reference in New Issue
Block a user