From ed6316d44bf74365a7187a4e2a40d98f81735e38 Mon Sep 17 00:00:00 2001 From: Helen Hou-Sandi Date: Sat, 7 Sep 2013 16:19:39 +0000 Subject: [PATCH] Add dynamic classes for attachment metadata submitbox sections. see #22333, #25171. git-svn-id: https://develop.svn.wordpress.org/trunk@25297 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/media.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/includes/media.php b/src/wp-admin/includes/media.php index 4015869db6..9473c8d175 100644 --- a/src/wp-admin/includes/media.php +++ b/src/wp-admin/includes/media.php @@ -2479,7 +2479,7 @@ function attachment_submitbox_metadata() { foreach ( $fields as $key => $label ): if ( ! empty( $meta[$key] ) ) : ?> -
+
$label ): if ( ! empty( $meta['audio'][$key] ) ) : ?> -
+