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:
parent
a437fa5e23
commit
82e3bf32c3
|
@ -239,7 +239,7 @@ function trackback_url( $display = true ) {
|
||||||
|
|
||||||
function trackback_rdf($timezone = 0) {
|
function trackback_rdf($timezone = 0) {
|
||||||
global $id;
|
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#"
|
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:dc="http://purl.org/dc/elements/1.1/"
|
||||||
xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
|
xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
|
||||||
|
|
Loading…
Reference in New Issue