From d1966150dcc05585440383597ded837c44c0d5f4 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 28 Apr 2013 06:36:39 +0000 Subject: [PATCH] Fix typo in get_the_post_format_image(). props rlerdorf. see #23964. see #24210. git-svn-id: http://core.svn.wordpress.org/trunk@24118 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/media.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/media.php b/wp-includes/media.php index 2a8ac82862..ae079afbb0 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -2450,7 +2450,7 @@ function get_the_post_format_image( $attached_size = 'full', &$post = null ) { $image = wp_get_attachment_image( absint( $meta['image'] ), $attached_size ); // wrap image in if ( ! empty( $meta['url'] ) ) - $image = sprint( $link_fmt, $image ); + $image = sprintf( $link_fmt, $image ); } elseif ( has_shortcode( $meta['image'], 'caption' ) ) { // wrap in if ( ! empty( $meta['url'] ) && false === strpos( $meta['image'], '