Make WordPress Core


Ignore:
Timestamp:
06/14/2007 10:45:40 PM (18 years ago)
Author:
ryan
Message:

Use EXTR_SKIP when extracting. see #4468

File:
1 edited

Legend:

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

    r5666 r5708  
    182182function wp_allow_comment($commentdata) {
    183183    global $wpdb;
    184     extract($commentdata);
     184    extract($commentdata, EXTR_SKIP);
    185185
    186186    // Simple duplicate check
     
    335335function wp_insert_comment($commentdata) {
    336336    global $wpdb;
    337     extract($commentdata);
     337    extract($commentdata, EXTR_SKIP);
    338338
    339339    if ( ! isset($comment_author_IP) )
     
    470470
    471471    // Now extract the merged array.
    472     extract($commentarr);
     472    extract($commentarr, EXTR_SKIP);
    473473
    474474    $comment_content = apply_filters('comment_save_pre', $comment_content);
     
    532532    $pingback_href_original_pos = 27;
    533533
    534     extract(parse_url($url));
     534    extract(parse_url($url), EXTR_SKIP);
    535535
    536536    if ( !isset($host) ) // Not an URL. This should never happen.
Note: See TracChangeset for help on using the changeset viewer.