fix warning
This commit is contained in:
parent
51e36e4da2
commit
7d12b43e16
@ -27,7 +27,7 @@ if (plugin_getoptions('akismet','apikey')) {
|
|||||||
add_filter('comment_validate','plugin_akismet_validate', 10, 2);
|
add_filter('comment_validate','plugin_akismet_validate', 10, 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
function plugin_akismet_validate(&$bool, $contents) {
|
function plugin_akismet_validate($bool, $contents) {
|
||||||
|
|
||||||
if (!$bool) return false;
|
if (!$bool) return false;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user