summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>2015-05-01 14:00:38 +0000
committerJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>2015-05-01 14:00:38 +0000
commit3fe52c59bb207485b3f4742ebfe8c89aa39ced2d (patch)
treefadb200f6ec79f115dfe65c289173c57d6dd15bd /plugins/akismet/class.akismet.php
parentLet's see if defining the key in the class.akismet.php file makes wordpress "... (diff)
downloadblogs-gentoo-3fe52c59bb207485b3f4742ebfe8c89aa39ced2d.tar.gz
blogs-gentoo-3fe52c59bb207485b3f4742ebfe8c89aa39ced2d.tar.bz2
blogs-gentoo-3fe52c59bb207485b3f4742ebfe8c89aa39ced2d.zip
Move the akismet key include to wp-config.php.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
Diffstat (limited to 'plugins/akismet/class.akismet.php')
-rw-r--r--plugins/akismet/class.akismet.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/akismet/class.akismet.php b/plugins/akismet/class.akismet.php
index 97e915ba..144f1032 100644
--- a/plugins/akismet/class.akismet.php
+++ b/plugins/akismet/class.akismet.php
@@ -53,7 +53,6 @@ class Akismet {
}
public static function get_api_key() {
- include '/var/www/blogs.gentoo.org/secrets/wp-apikey.php';
return apply_filters( 'akismet_get_api_key', defined('WPCOM_API_KEY') ? constant('WPCOM_API_KEY') : get_option('wordpress_api_key') );
}