WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/13/2010 10:35:10 AM (12 years ago)
Author:
nacin
Message:

Don't use deprecated functions. see #11388

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/user.php

    r12989 r13106  
    9393            $user->user_url = '';
    9494        } else {
    95             $user->user_url = sanitize_url( $_POST['url'] );
     95            $user->user_url = esc_url_raw( $_POST['url'] );
    9696            $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;
    9797        }
Note: See TracChangeset for help on using the changeset viewer.