From e3e667056d870bb731af6d5144914cebf02112da Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 9 Apr 2013 17:12:47 +0000 Subject: [PATCH] Add alt attribute for selected image. see #19570. git-svn-id: http://core.svn.wordpress.org/trunk@23940 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/post-formats.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/post-formats.php b/wp-admin/includes/post-formats.php index 40023fe55e..5bd89ea64b 100644 --- a/wp-admin/includes/post-formats.php +++ b/wp-admin/includes/post-formats.php @@ -32,7 +32,7 @@ $format_meta = get_post_format_meta( $post_ID ); data-update=""> '; + printf( '%s', esc_url( $image ), get_the_title( $format_meta['image'] ) ); else _e( 'Select / Upload Image' ); ?>