| 1 | diff --git wp-admin/includes/user.php wp-admin/includes/user.php |
|---|
| 2 | index ff1e91d..79a0ec1 100644 |
|---|
| 3 | --- wp-admin/includes/user.php |
|---|
| 4 | +++ wp-admin/includes/user.php |
|---|
| 5 | @@ -69,7 +69,7 @@ function edit_user( $user_id = 0 ) { |
|---|
| 6 | $user->user_url = ''; |
|---|
| 7 | } else { |
|---|
| 8 | $user->user_url = esc_url_raw( $_POST['url'] ); |
|---|
| 9 | - $user->user_url = preg_match('/^(https?|ftps?|mailto|news|irc|gopher|nntp|feed|telnet):/is', $user->user_url) ? $user->user_url : 'http://'.$user->user_url; |
|---|
| 10 | + $user->user_url = preg_match('/^(https?|ftps?|mailto|news|irc|gopher|nntp|feed|telnet|tel|fax):/is', $user->user_url) ? $user->user_url : 'http://'.$user->user_url; |
|---|
| 11 | } |
|---|
| 12 | } |
|---|
| 13 | if ( isset( $_POST['first_name'] ) ) |
|---|
| 14 | diff --git wp-includes/functions.php wp-includes/functions.php |
|---|
| 15 | index 839d798..5a33e5e 100644 |
|---|
| 16 | --- wp-includes/functions.php |
|---|
| 17 | +++ wp-includes/functions.php |
|---|
| 18 | @@ -3508,7 +3508,7 @@ function wp_allowed_protocols() { |
|---|
| 19 | static $protocols; |
|---|
| 20 | |
|---|
| 21 | if ( empty( $protocols ) ) { |
|---|
| 22 | - $protocols = array( 'http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet', 'mms', 'rtsp', 'svn' ); |
|---|
| 23 | + $protocols = array( 'http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet', 'mms', 'rtsp', 'svn', 'tel', 'fax' ); |
|---|
| 24 | $protocols = apply_filters( 'kses_allowed_protocols', $protocols ); |
|---|
| 25 | } |
|---|
| 26 | |
|---|