From 6d8e339608af2399004c6f6b440856fe548f090b Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Sun, 14 Jun 2015 20:32:58 +0000 Subject: [PATCH] Media: Support title fields to be removed from attachments. props antpb. fixes #23932. git-svn-id: https://develop.svn.wordpress.org/trunk@32773 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/media-template.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/wp-includes/media-template.php b/src/wp-includes/media-template.php index bb672fc8c4..bd9125bad1 100644 --- a/src/wp-includes/media-template.php +++ b/src/wp-includes/media-template.php @@ -378,10 +378,12 @@ function wp_print_media_templates() { <# var maybeReadOnly = data.can.save || data.allowLocalEdits ? '' : 'readonly'; #> + + <# if ( 'audio' === data.type ) { #> __( 'Artist' ), @@ -557,10 +559,12 @@ function wp_print_media_templates() { <# var maybeReadOnly = data.can.save || data.allowLocalEdits ? '' : 'readonly'; #> + + <# if ( 'audio' === data.type ) { #> __( 'Artist' ),