From 304426cece879e84c77a19dbb866414ab13a772f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Helen=20Hou-Sand=C3=AD?= Date: Sat, 7 Sep 2013 16:20:09 +0000 Subject: [PATCH] Add dynamic classes for attachment metadata submitbox sections. see #22333, #25171. Built from https://develop.svn.wordpress.org/trunk@25297 git-svn-id: http://core.svn.wordpress.org/trunk@25260 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/media.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php index 4015869db6..9473c8d175 100644 --- a/wp-admin/includes/media.php +++ b/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] ) ) : ?> -
+