Ticket #23964: 23964.1.diff
File 23964.1.diff, 598 bytes (added by , 11 years ago) |
---|
-
wp-includes/post-formats.php
678 678 if ( empty( $post ) ) 679 679 return ''; 680 680 681 if ( in_array( get_post_format( $post->ID ), array( ' link', 'quote' ) ) ) {681 if ( in_array( get_post_format( $post->ID ), array( 'image', 'link', 'quote' ) ) ) { 682 682 $meta = get_post_format_meta( $post->ID ); 683 683 if ( ! empty( $meta['url'] ) ) 684 684 return apply_filters( 'get_the_post_format_url', esc_url_raw( $meta['url'] ), $post );