diff --git a/wp-includes/post-formats.php b/wp-includes/post-formats.php index 828447b6e1..3896d11863 100644 --- a/wp-includes/post-formats.php +++ b/wp-includes/post-formats.php @@ -321,7 +321,7 @@ function post_formats_compat( $content, $id = 0 ) { '%s', empty( $compat['link_class'] ) ? '' : sprintf( 'class="%s" ', esc_attr( $compat['link_class'] ) ), esc_url( $meta['url'] ), - empty( $post->post_title ) ? esc_url( $meta['url'] ) : apply_filters( 'the_title', $post->post_title ) + empty( $post->post_title ) ? esc_url( $meta['url'] ) : apply_filters( 'the_title', $post->post_title, $post->ID ) ); } }