Bug: Bulk actions on booking table generate broken HTML
-
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 tofeedback_message
. Thisfeedback_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>
aroundfeedback_message
resolved this for me. I also played around withstrip_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.