Changeset 5626

Show
Ignore:
Timestamp:
06/01/07 23:10:03 (1 year ago)
Author:
rob1n
Message:

Fix a strpos typo. fixes #4390

Files:

Legend:

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

    r5238 r5626  
    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/" 
  • trunk/wp-includes/comment-template.php

    r5238 r5626  
    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/"