Changeset 24415
- Timestamp:
- 06/06/2013 02:45:25 PM (11 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/screen.php
r24388 r24415 167 167 if ( $screen->post_type ) 168 168 $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 }178 169 } 179 170
Note: See TracChangeset
for help on using the changeset viewer.