diff --git a/wp-includes/post-formats.php b/wp-includes/post-formats.php index fb67cfc674..dc4d9d1d22 100644 --- a/wp-includes/post-formats.php +++ b/wp-includes/post-formats.php @@ -334,7 +334,7 @@ function post_formats_compat( $content, $id = 0 ) { '%s', empty( $compat['link_class'] ) ? '' : sprintf( 'class="%s" ', esc_attr( $compat['link_class'] ) ), esc_url( $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 ) ); } break;