From f6fa41816966b27527b8af6536ae8242a01131a5 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 25 May 2013 11:35:43 +0000 Subject: [PATCH] Use correct variable. props tollmanz. fixes #24419. git-svn-id: https://develop.svn.wordpress.org/trunk@24353 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/post-formats.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/post-formats.php b/wp-includes/post-formats.php index 5a2c1f7030..ac5a03edde 100644 --- a/wp-includes/post-formats.php +++ b/wp-includes/post-formats.php @@ -366,7 +366,7 @@ function post_formats_compat( $content, $post_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['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;