We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4591723 commit 6f0cbc4Copy full SHA for 6f0cbc4
1 file changed
src/wp-includes/connectors.php
@@ -219,8 +219,9 @@ function _wp_connectors_init(): void {
219
'type' => 'spam_filtering',
220
'plugin' => array(
221
'file' => 'akismet/akismet.php',
222
- // If the plugin is active, it will pass its its own is_active callback.
223
- 'is_active' => '__return_false',
+ 'is_active' => function () {
+ return defined( 'AKISMET_VERSION' );
224
+ },
225
),
226
'authentication' => array(
227
'method' => 'api_key',
0 commit comments