WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/01/2007 11:10:03 PM (14 years ago)
Author:
rob1n
Message:

Fix a strpos typo. fixes #4390

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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/"
Note: See TracChangeset for help on using the changeset viewer.