Fix a strpos typo. fixes #4390
git-svn-id: https://develop.svn.wordpress.org/trunk@5626 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
747a7a14f4
commit
a79b7c6772
@ -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/">
|
||||
|
Loading…
Reference in New Issue
Block a user