Strip HTML from titles for autodiscovery RDF. From Kelson.
git-svn-id: http://svn.automattic.com/wordpress/trunk@238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
062c930a09
commit
f158f22376
|
@ -1106,7 +1106,7 @@ function trackback_rdf($timezone = 0) {
|
|||
echo ' dc:identifier="';
|
||||
permalink_single();
|
||||
echo '"'."\n";
|
||||
echo ' dc:title="'.addslashes(get_the_title()).'"'."\n";
|
||||
echo ' dc:title="'.addslashes(strip_tags(get_the_title())).'"'."\n";
|
||||
echo ' trackback:ping="'.trackback_url(0).'"'." />\n";
|
||||
echo '</rdf:RDF>';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue