From 1aca97360e33fef61eec1981eced159e968a3b30 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Thu, 6 Dec 2012 06:35:13 +0000 Subject: [PATCH] Remove the "Describe this ___" string on captions in the attachment details view. WP <3 patches with net red. props helenyhou. fixes #22777 git-svn-id: http://core.svn.wordpress.org/trunk@23097 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/media.php | 28 +++------------------------- 1 file changed, 3 insertions(+), 25 deletions(-) diff --git a/wp-includes/media.php b/wp-includes/media.php index ac5d132606..0691caf893 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -1744,42 +1744,20 @@ function wp_print_media_templates() { - <# - var maybeReadOnly = data.can.save || data.allowLocalEdits ? '' : 'readonly'; - if ( 'image' === data.type ) { #> + <# var maybeReadOnly = data.can.save || data.allowLocalEdits ? '' : 'readonly'; #> + <# if ( 'image' === data.type ) { #> - <# } else { #> - - <# } #>