Skip to content

Commit d24ebf7

Browse files
Update src/wp-includes/connectors.php
Co-authored-by: Mukesh Panchal <[email protected]>
1 parent 6f0cbc4 commit d24ebf7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/wp-includes/connectors.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,8 @@ function _wp_connectors_init(): void {
218218
'description' => __( 'Protect your site from spam.' ),
219219
'type' => 'spam_filtering',
220220
'plugin' => array(
221-
'file' => 'akismet/akismet.php',
222-
'is_active' => function () {
221+
'file' => 'akismet/akismet.php',
222+
'is_active' => static function () {
223223
return defined( 'AKISMET_VERSION' );
224224
},
225225
),

0 commit comments

Comments
 (0)