WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/18/2009 04:00:33 PM (12 years ago)
Author:
markjaquith
Message:

Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()

File:
1 edited

Legend:

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

    r10821 r11383  
    9090    $comment->comment_author = format_to_edit( $comment->comment_author );
    9191    $comment->comment_author_email = format_to_edit( $comment->comment_author_email );
    92     $comment->comment_author_url = clean_url($comment->comment_author_url);
     92    $comment->comment_author_url = esc_url($comment->comment_author_url);
    9393    $comment->comment_author_url = format_to_edit( $comment->comment_author_url );
    9494
Note: See TracChangeset for help on using the changeset viewer.