diff --git a/radcliffe-2/contact-info/contact-info-functions.php b/radcliffe-2/contact-info/contact-info-functions.php index f8b2a5e21..2c6fc8220 100644 --- a/radcliffe-2/contact-info/contact-info-functions.php +++ b/radcliffe-2/contact-info/contact-info-functions.php @@ -7,7 +7,7 @@ function radcliffe_2_contact_info( $section ) { $location = get_theme_mod( 'radcliffe_2_contact_info_location', 'header' ); $address = get_option( 'site_contact_info' )['address'] ?: get_theme_mod( 'radcliffe_2_contact_info_address', '' ); $phone = get_option( 'site_contact_info' )['phone'] ?: get_theme_mod( 'radcliffe_2_contact_info_phone', '' ); - $email = get_option( 'site_contact_info' )['email'] ?: get_theme_mod( 'radcliffe_2_contact_info_email', '' ); + $email = get_option( 'site_contact_info' )['email'] ?: antispambot( get_theme_mod( 'radcliffe_2_contact_info_email' ), '' ); $hours = get_theme_mod( 'radcliffe_2_contact_info_hours', '' ); // If Address, Phone, Email and Hours are empty, return. @@ -75,9 +75,9 @@ function radcliffe_2_contact_info( $section ) { - + 'mail', 'title' => esc_html__( 'E-mail', 'radcliffe-2' ) ) ); ?> - +