Fix a strpos typo. fixes #4390

git-svn-id: http://svn.automattic.com/wordpress/trunk@5626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rob1n 2007-06-01 23:10:03 +00:00
parent a437fa5e23
commit 82e3bf32c3

View File

@ -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/">