Make WordPress Core

Changeset 24415


Ignore:
Timestamp:
06/06/2013 02:45:25 PM (11 years ago)
Author:
ocean90
Message:

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

Location:
trunk/wp-admin
Files:
2 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/screen.php

    r24388 r24415  
    167167        if ( $screen->post_type )
    168168            $class .= ' ' . sanitize_html_class( 'icon32-posts-' . $screen->post_type );
    169 
    170         if ( 'post' == $screen->id ) {
    171             $post_format = get_post_format();
    172             if ( ! $post_format && ! empty( $_REQUEST['format'] ) && in_array( $_REQUEST['format'], get_post_format_slugs() ) )
    173                 $post_format = $_REQUEST['format'];
    174 
    175             if ( $post_format )
    176                 $class .= ' wp-format-' . $post_format;
    177         }
    178169    }
    179170
Note: See TracChangeset for help on using the changeset viewer.