From 135fd02cad399d1e727404fc8da561c93be87330 Mon Sep 17 00:00:00 2001 From: Mike Little Date: Wed, 5 Nov 2003 00:44:03 +0000 Subject: [PATCH] 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 --- b2-include/b2functions.php | 2 ++ wp-admin/wp-edit.form.php | 6 ++++++ wp-settings.php | 3 +++ 3 files changed, 11 insertions(+) diff --git a/b2-include/b2functions.php b/b2-include/b2functions.php index ab41273a2d..23b3061011 100644 --- a/b2-include/b2functions.php +++ b/b2-include/b2functions.php @@ -1274,6 +1274,7 @@ function doGeoUrlHeader($posts) { if(($lon != null) && ($lat != null) ) { echo "\n"; echo "\n"; + echo "\n"; return; } } else { @@ -1281,6 +1282,7 @@ function doGeoUrlHeader($posts) { // send the default here echo "\n"; echo "\n"; + echo "\n"; } } } diff --git a/wp-admin/wp-edit.form.php b/wp-admin/wp-edit.form.php index 7fb808fad6..69205f6771 100644 --- a/wp-admin/wp-edit.form.php +++ b/wp-admin/wp-edit.form.php @@ -193,6 +193,12 @@ edCanvas = document.getElementById('content');     click for Geo Info diff --git a/wp-settings.php b/wp-settings.php index 89ad999a26..a0143cba7a 100644 --- a/wp-settings.php +++ b/wp-settings.php @@ -51,6 +51,9 @@ if (!$_wp_installing) { $emailtestonly = get_settings('emailtestonly'); $use_phoneemail = get_settings('use_phoneemail'); $phoneemail_separator = get_settings('phoneemail_separator'); + $use_default_geourl = get_settings('use_default_geourl'); + $default_geourl_lat = get_settings('default_geourl_lat'); + $default_geourl_lon = get_settings('default_geourl_lon'); /* not currently used if (get_settings('search_engine_friendly_urls')) {