From a0f4e8e0867936c8d892c91bfd3025b04828c0cf Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Sun, 14 Jun 2015 20:33:26 +0000 Subject: [PATCH] Media: Support title fields to be removed from attachments. props antpb. fixes #23932. Built from https://develop.svn.wordpress.org/trunk@32773 git-svn-id: http://core.svn.wordpress.org/trunk@32744 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/media-template.php | 4 ++++ wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/wp-includes/media-template.php b/wp-includes/media-template.php index bb672fc8c4..bd9125bad1 100644 --- a/wp-includes/media-template.php +++ b/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' ), diff --git a/wp-includes/version.php b/wp-includes/version.php index 2eb57f2666..43718dbc74 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.3-alpha-32772'; +$wp_version = '4.3-alpha-32773'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.