Use correct variable. props tollmanz. fixes #24419.

git-svn-id: http://core.svn.wordpress.org/trunk@24353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2013-05-25 11:35:43 +00:00
parent 5f05c95014
commit 063b1d4cb8

View File

@ -366,7 +366,7 @@ function post_formats_compat( $content, $post_id = 0 ) {
'<a %shref="%s">%s</a>', '<a %shref="%s">%s</a>',
empty( $compat['link_class'] ) ? '' : sprintf( 'class="%s" ', esc_attr( $compat['link_class'] ) ), empty( $compat['link_class'] ) ? '' : sprintf( 'class="%s" ', esc_attr( $compat['link_class'] ) ),
esc_url( $url ), 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; break;