Files
Testing/tbb/wp-content/plugins/coming-soon/framework/validations/escurlraw.php
sean 0e8a8b3028
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-17 16:15:01 -05:00

12 lines
329 B
PHP

<?php
/**
* Check to see if an email is valid.
* Test $input[$k['id']]
* Set $k['error_msg'] and $is_valid
*/
if ( !empty( $input[ $k[ 'id' ] ] ) ) {
$input[ $k[ 'id' ] ]= esc_url_raw($input[ $k[ 'id' ] ]);
$is_valid = true;
$error_msg = $k[ 'label' ] . ': ' . __( 'Please enter a valid email.', 'coming-soon' );
}