WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/16/2013 02:19:03 PM (8 years ago)
Author:
nacin
Message:

Use wp_slash() in places where we improperly used the DB API instead. see #21767.

File:
1 edited

Legend:

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

    r24490 r24713  
    14931493
    14941494    // Escape data pulled from DB.
    1495     $comment = esc_sql($comment);
     1495    $comment = wp_slash($comment);
    14961496
    14971497    $old_status = $comment['comment_approved'];
Note: See TracChangeset for help on using the changeset viewer.