Make WordPress Core

Changeset 5626


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

Fix a strpos typo. fixes #4390

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