Ticket #16503: 16503.2.diff
| File 16503.2.diff, 441 bytes (added by nacin, 2 years ago) |
|---|
-
wp-includes/post.php
487 487 function get_post_format( $post = null ) { 488 488 $post = get_post($post); 489 489 490 if ( ! post_type_supports( $post->post_type, 'post-formats' ) ) 491 return false; 492 490 493 $_format = get_the_terms( $post->ID, 'post_format' ); 491 494 492 495 if ( empty( $_format ) )
