Make WordPress Core


Ignore:
Timestamp:
06/15/2007 05:45:21 PM (18 years ago)
Author:
ryan
Message:

Use EXTR_SKIP when extracting. For 2.2. See #4468

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/wp-includes/comment.php

    r5119 r5714  
    179179function wp_allow_comment($commentdata) {
    180180    global $wpdb;
    181     extract($commentdata);
     181    extract($commentdata, EXTR_SKIP);
    182182
    183183    // Simple duplicate check
     
    326326function wp_insert_comment($commentdata) {
    327327    global $wpdb;
    328     extract($commentdata);
     328    extract($commentdata, EXTR_SKIP);
    329329
    330330    if ( ! isset($comment_author_IP) )
     
    458458
    459459    // Now extract the merged array.
    460     extract($commentarr);
     460    extract($commentarr, EXTR_SKIP);
    461461
    462462    $comment_content = apply_filters('comment_save_pre', $comment_content);
     
    518518    $pingback_href_original_pos = 27;
    519519
    520     extract(parse_url($url));
     520    extract(parse_url($url), EXTR_SKIP);
    521521
    522522    if ( !isset($host) ) // Not an URL. This should never happen.
Note: See TracChangeset for help on using the changeset viewer.