WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

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

    r5238 r5714  
    240240function trackback_rdf($timezone = 0) {
    241241    global $id;
    242     if (strpos($_SERVER['HTTP_USER_AGENT'], 'W3C_Validator') !== false) {
     242    if (stripos($_SERVER['HTTP_USER_AGENT'], 'W3C_Validator') === false) {
    243243        echo '<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    244244                xmlns:dc="http://purl.org/dc/elements/1.1/"
     
    286286    $req = get_option('require_name_email');
    287287    $commenter = wp_get_current_commenter();
    288     extract($commenter);
     288    extract($commenter, EXTR_SKIP);
    289289
    290290    // TODO: Use API instead of SELECTs.
Note: See TracChangeset for help on using the changeset viewer.