Skip to content

Commit

Permalink
Fix a strpos typo. fixes #4390
Browse files Browse the repository at this point in the history
git-svn-id: https://develop.svn.wordpress.org/branches/2.2@5626 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
rob1n committed Jun 1, 2007
1 parent febc33b commit 6ae5cf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-includes/comment-template.php
Expand Up @@ -239,7 +239,7 @@ function trackback_url( $display = true ) {

function trackback_rdf($timezone = 0) {
global $id;
if (strpos($_SERVER['HTTP_USER_AGENT'], 'W3C_Validator') !== false) {
if (stripos($_SERVER['HTTP_USER_AGENT'], 'W3C_Validator') === false) {
echo '<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
Expand Down

0 comments on commit 6ae5cf9

Please sign in to comment.