Make WordPress Core


Ignore:
Timestamp:
09/27/2009 05:33:56 AM (15 years ago)
Author:
markjaquith
Message:

esc_sql() for wp-includes

File:
1 edited

Legend:

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

    r11971 r11978  
    12301230
    12311231    // Escape data pulled from DB.
    1232     $comment = $wpdb->escape($comment);
     1232    $comment = esc_sql($comment);
    12331233
    12341234    $old_status = $comment['comment_approved'];
Note: See TracChangeset for help on using the changeset viewer.