Verified Commit 6ed80084 authored by Andrei Mondoc's avatar Andrei Mondoc Committed by Kevin Cristiano

handle email (mailto) urls

Signed-off-by: Kevin Cristiano's avatarKevin Cristiano <kcristiano@kcristiano.com>
parent 6fa7167d
......@@ -124,6 +124,8 @@ class Url extends Base {
}
if ( strpos( $url, 'mailto' ) ) $url = strstr( $url, 'mailto' );
return apply_filters( 'civi_wp_rest/controller/url/parsed_url', $url, $params );
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment