mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 14:47:02 +00:00
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:
@@ -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, '/');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user