Changeset 23392
- Timestamp:
- 02/08/2013 04:10:05 PM (12 years ago)
- Location:
- trunk/wp-admin/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-posts-list-table.php
r23372 r23392 259 259 if ( post_type_supports( $post_type, 'author' ) ) 260 260 $posts_columns['author'] = __( 'Author' ); 261 262 if ( post_type_supports( $post_type, 'post-formats' ) ) 263 $posts_columns['format'] = _x( 'Format', 'post format' ); 261 264 262 265 $taxonomies = array(); … … 643 646 get_the_author() 644 647 ); 648 ?></td> 649 <?php 650 break; 651 652 case 'format': 653 ?> 654 <td <?php echo $attributes ?>><?php 655 if ( get_post_format( $post->ID ) ) 656 echo get_post_format_string( get_post_format( $post->ID ) ); 657 else 658 echo get_post_format_string( 'standard' ); 645 659 ?></td> 646 660 <?php -
trunk/wp-admin/includes/template.php
r23352 r23392 1450 1450 } 1451 1451 1452 if ( get_post_format( $post->ID ) )1453 echo ' - <span class="post-state-format">' . get_post_format_string( get_post_format( $post->ID ) ) . '</span>';1454 1452 } 1455 1453
Note: See TracChangeset
for help on using the changeset viewer.