Support » Plugin: The Events Calendar » 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

    • This topic was modified 1 month, 2 weeks ago by frankmanl.
    • This topic was modified 1 month, 2 weeks ago by frankmanl.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor GeoffBel

    (@geoffbel)

    @frankmanl

    Thank you for reaching out!
    The good news is that we are already working on a bug fix for this for the next release đŸ™‚

    Hang in there!
    We’ll drop a line here as soon as the release is out.

    Best regards,
    Geoff

    Plugin Support James Welbes

    (@highprrrr)

    @frankmanl the bug fix is here!

    Please update your plugins and let us know if your issue isn’t resolved.

    Thanks for your patience!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.