• Resolved jayharland

    (@jayharland)


    If I go to Event Bookings Dashboard and use Bulk Options to modify bookings, Events Manager generates broken HTML when it creates an error icon saying an email failed to send.

    I’ve traced it back to em-bookings.php line 1099:

    $this->feedback_message .= ' <span style="color:red">'.__('ERROR : Email Not Sent.','events-manager').'</span>';

    You can see the <span> tag concatenated to feedback_message. This feedback_message is inserted into the aria-label of the .em-icon element that is part of the Ajax response when bookings are changed. The result is a busted HTML element.

    Removing the<span style="color:red"></span> around feedback_message resolved this for me. I also played around with strip_tags where the message is used as part of Ajax status icons (em-booking-table.php line 959) which also resolved the problem.

    Thank you

  • The topic ‘Bug: Bulk actions on booking table generate broken HTML’ is closed to new replies.