Strip HTML from titles for autodiscovery RDF. From Kelson.
git-svn-id: https://develop.svn.wordpress.org/trunk@238 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f066d38121
commit
5f5d4ba157
@ -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
Block a user