From affd3a9a985b87eb1adaae049a8eacf54d8adc8e 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: https://develop.svn.wordpress.org/trunk@23097 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 { #> - - <# } #>