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:
parent
e4e71d98ba
commit
f6fa418169
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user