Allow currency symbols to work on costs with commas (european format)
Updates #25113

Also did a little code cleanup
Merge branch 'develop' of github.com:moderntribe/the-events-calendar into develop