fix tags being in nested arrays
All checks were successful
All checks were successful
This commit is contained in:
parent
4ff31c6b45
commit
1153bce8e2
1 changed files with 2 additions and 1 deletions
|
@ -65,7 +65,7 @@ final class The_Events_Calendar extends Event {
|
||||||
$tags[] = $tag;
|
$tags[] = $tag;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$tags[] = parent::get_tag();
|
$tags = array_merge( $tags, parent::get_tag() );
|
||||||
|
|
||||||
return $tags;
|
return $tags;
|
||||||
}
|
}
|
||||||
|
@ -193,6 +193,7 @@ final class The_Events_Calendar extends Event {
|
||||||
}
|
}
|
||||||
$location->set_id( $venue->permalink );
|
$location->set_id( $venue->permalink );
|
||||||
$location->set_name( $venue->post_title );
|
$location->set_name( $venue->post_title );
|
||||||
|
$location->set_sensitive( null );
|
||||||
|
|
||||||
return $location;
|
return $location;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue