Skip to content

Commit

Permalink
Switch from set to add to avoid meta overriding mf2
Browse files Browse the repository at this point in the history
  • Loading branch information
dshanske committed Jul 17, 2023
1 parent aca450f commit ad2de01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Handler/class-meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ protected function add_properties( $meta ) {
foreach ( $mapping as $key => $values ) {
foreach ( $values as $value ) {
if ( array_key_exists( $value, $meta ) ) {
$this->webmention_item->set( $key, $meta[ $value ] );
$this->webmention_item->add( $key, $meta[ $value ] );
break;
}
}
Expand Down

0 comments on commit ad2de01

Please sign in to comment.