summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2020-01-06 14:37:59 -0500
committerAnthony G. Basile <blueness@gentoo.org>2020-01-06 14:37:59 -0500
commitbf29da39d9e10efa8ac88d79d1eabf7ce147f0ca (patch)
treec54352ad0f8e7aa828eb4aa999f1b09e2791ac82 /plugins/akismet/class.akismet.php
parentUpdate public-post-preview 2.9.0 (diff)
downloadblogs-gentoo-bf29da39d9e10efa8ac88d79d1eabf7ce147f0ca.tar.gz
blogs-gentoo-bf29da39d9e10efa8ac88d79d1eabf7ce147f0ca.tar.bz2
blogs-gentoo-bf29da39d9e10efa8ac88d79d1eabf7ce147f0ca.zip
Update akismet 4.1.3
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'plugins/akismet/class.akismet.php')
-rw-r--r--plugins/akismet/class.akismet.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/akismet/class.akismet.php b/plugins/akismet/class.akismet.php
index f24fd63d..01753014 100644
--- a/plugins/akismet/class.akismet.php
+++ b/plugins/akismet/class.akismet.php
@@ -1277,6 +1277,8 @@ p {
$message = '<strong>'.sprintf(esc_html__( 'Akismet %s requires WordPress %s or higher.' , 'akismet'), AKISMET_VERSION, AKISMET__MINIMUM_WP_VERSION ).'</strong> '.sprintf(__('Please <a href="%1$s">upgrade WordPress</a> to a current version, or <a href="%2$s">downgrade to version 2.4 of the Akismet plugin</a>.', 'akismet'), 'https://codex.wordpress.org/Upgrading_WordPress', 'https://wordpress.org/extend/plugins/akismet/download/');
Akismet::bail_on_activation( $message );
+ } else {
+ add_option( 'Activated_Akismet', true );
}
}