mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Sorted some geourl issues (see http://wordpress.org/support/6/683)
Added geo.position meta tag Added settings into wp-settings.php Added use of default in new post git-svn-id: https://develop.svn.wordpress.org/trunk@525 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1274,6 +1274,7 @@ function doGeoUrlHeader($posts) {
|
||||
if(($lon != null) && ($lat != null) ) {
|
||||
echo "<meta name=\"ICBM\" content=\"".$lat.", ".$lon."\" >\n";
|
||||
echo "<meta name=\"DC.title\" content=\"".convert_chars(strip_tags(get_bloginfo("name")),"unicode")." - ".$title."\">\n";
|
||||
echo "<meta name=\"geo.position\" content=\"".$lat.";".$lon."\">\n";
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
@@ -1281,6 +1282,7 @@ function doGeoUrlHeader($posts) {
|
||||
// send the default here
|
||||
echo "<meta name=\"ICBM\" content=\"".$default_geourl_lat.", ".$default_geourl_lon."\" >\n";
|
||||
echo "<meta name=\"DC.title\" content=\"".convert_chars(strip_tags(get_bloginfo("name")),"unicode")."\">\n";
|
||||
echo "<meta name=\"geo.position\" content=\"".$default_geourl_lat.";".$default_geourl_lon."\">\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user