Use correct variable. props tollmanz. fixes #24419.

git-svn-id: https://develop.svn.wordpress.org/trunk@24353 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2013-05-25 11:35:43 +00:00
parent e4e71d98ba
commit f6fa418169

View File

@ -366,7 +366,7 @@ function post_formats_compat( $content, $post_id = 0 ) {
'<a %shref="%s">%s</a>',
empty( $compat['link_class'] ) ? '' : sprintf( 'class="%s" ', esc_attr( $compat['link_class'] ) ),
esc_url( $url ),
empty( $post->post_title ) ? esc_url( $meta['link_url'] ) : apply_filters( 'the_title', $post->post_title, $post->ID )
empty( $post->post_title ) ? esc_url( $url ) : apply_filters( 'the_title', $post->post_title, $post->ID )
);
}
break;