Fixes non-multiple compound metadata not surrounded by 'tainacan-compound-group'
This commit is contained in:
parent
4bba4f2a5d
commit
f88574b90e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue