small bug in list view
-
location of file: the-events-calendar\src\views\v2\list\event
In list view venue’s address is displayed as:
“name streettown, ”that should be something like:
“name street town”My suggested improvement would be ($separator and $address):
$separator = esc_html_x( ' ', 'Address separator', 'the-events-calendar' ); $venue = $event->venues[0]; $append_after_address = array_filter( array_map( 'trim', [ $venue->state_province, $venue->state, $venue->province ] ) ); $address = $venue->address . ( $venue->address && $append_after_address ? $separator : ' ' );although I’m not sure about possible further consequences of the change in $separator
See image for example.
Frank
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘small bug in list view’ is closed to new replies.