summaryrefslogtreecommitdiffstats
path: root/wp-includes/functions.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-03-26 11:04:22 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-03-26 11:04:22 +0000
commit6b2942866a251bb84a81cb35811ee9a1d55a8d26 (patch)
tree09b245f77ee6eaf5856b00b0e2e7f97bdb3550d8 /wp-includes/functions.php
parent2e96b99ceb195735a641e299f3209840cc101052 (diff)
downloadwordpress-mu-6b2942866a251bb84a81cb35811ee9a1d55a8d26.tar.gz
wordpress-mu-6b2942866a251bb84a81cb35811ee9a1d55a8d26.tar.xz
wordpress-mu-6b2942866a251bb84a81cb35811ee9a1d55a8d26.zip
WP Merge to rev 5109
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@934 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/functions.php')
-rw-r--r--wp-includes/functions.php16
1 files changed, 15 insertions, 1 deletions
diff --git a/wp-includes/functions.php b/wp-includes/functions.php
index ba67d5f..dbe728f 100644
--- a/wp-includes/functions.php
+++ b/wp-includes/functions.php
@@ -1012,7 +1012,9 @@ function is_blog_installed() {
$wpdb->hide_errors();
$installed = $wpdb->get_var("SELECT option_value FROM $wpdb->options WHERE option_name = 'siteurl'");
$wpdb->show_errors();
- return $installed;
+
+ $install_status = !empty( $installed ) ? TRUE : FALSE;
+ return $install_status;
}
function wp_nonce_url($actionurl, $action = -1) {
@@ -1370,6 +1372,18 @@ function wp_die( $message, $title = '' ) {
die();
}
+function _config_wp_home($url = '') {
+ if ( defined( 'WP_HOME' ) )
+ return WP_HOME;
+ else return $url;
+}
+
+function _config_wp_siteurl($url = '') {
+ if ( defined( 'WP_SITEURL' ) )
+ return WP_SITEURL;
+ else return $url;
+}
+
function _mce_set_direction() {
global $wp_locale;