1 |
commit: 3fe52c59bb207485b3f4742ebfe8c89aa39ced2d |
2 |
Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 1 14:00:38 2015 +0000 |
4 |
Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 1 14:00:38 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/blogs-gentoo.git/commit/?id=3fe52c59 |
7 |
|
8 |
Move the akismet key include to wp-config.php. |
9 |
|
10 |
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo.org> |
11 |
|
12 |
plugins/akismet/class.akismet.php | 1 - |
13 |
1 file changed, 1 deletion(-) |
14 |
|
15 |
diff --git a/plugins/akismet/class.akismet.php b/plugins/akismet/class.akismet.php |
16 |
index 97e915b..144f103 100644 |
17 |
--- a/plugins/akismet/class.akismet.php |
18 |
+++ b/plugins/akismet/class.akismet.php |
19 |
@@ -53,7 +53,6 @@ class Akismet { |
20 |
} |
21 |
|
22 |
public static function get_api_key() { |
23 |
- include '/var/www/blogs.gentoo.org/secrets/wp-apikey.php'; |
24 |
return apply_filters( 'akismet_get_api_key', defined('WPCOM_API_KEY') ? constant('WPCOM_API_KEY') : get_option('wordpress_api_key') ); |
25 |
} |