Use get_option instead of get_settings. Just 'cause.

git-svn-id: https://develop.svn.wordpress.org/trunk@4144 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2006-08-30 21:46:31 +00:00
parent 092369300d
commit 7e82eef627
70 changed files with 365 additions and 365 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ class retrospam_mgr {
function retrospam_mgr() {
global $wpdb;
$list = explode("\n", get_settings('moderation_keys') );
$list = explode("\n", get_option('moderation_keys') );
$list = array_unique( $list );
$this->spam_words = $list;
@@ -116,7 +116,7 @@ class WP {
$req_uri_array = explode('?', $req_uri);
$req_uri = $req_uri_array[0];
$self = $_SERVER['PHP_SELF'];
$home_path = parse_url(get_settings('home'));
$home_path = parse_url(get_option('home'));
$home_path = $home_path['path'];
$home_path = trim($home_path, '/');