Fixes non-multiple compound metadata not surrounded by 'tainacan-compound-group'

This commit is contained in:
mateuswetah 2020-04-23 13:49:54 -03:00
parent 4bba4f2a5d
commit f88574b90e
1 changed files with 15 additions and 14 deletions

View File

@ -189,6 +189,7 @@ class Compound extends Metadata_Type {
}
} else {
$return .= '<div class="tainacan-compound-group">';
foreach ( $value as $meta ) {
@ -205,7 +206,7 @@ class Compound extends Metadata_Type {
}
}
$return .= '</div>' . "\n\n";
}
return $return;