Plugin Directory

Changeset 3163798


Ignore:
Timestamp:
10/07/2024 02:09:52 AM (17 months ago)
Author:
bluefuton
Message:

Akismet: ensure users with a predefined API key never see notices related to account status

Location:
akismet/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • akismet/trunk/akismet.php

    r3157204 r3163798  
    77Plugin URI: https://akismet.com/
    88Description: Used by millions, Akismet is quite possibly the best way in the world to <strong>protect your blog from spam</strong>. Akismet Anti-spam keeps your site protected even while you sleep. To get started: activate the Akismet plugin and then go to your Akismet Settings page to set up your API key.
    9 Version: 5.4.0a1
     9Version: 5.4.0a2
    1010Requires at least: 5.8
    1111Requires PHP: 5.6.20
     
    4040}
    4141
    42 define( 'AKISMET_VERSION', '5.4.0a1' );
     42define( 'AKISMET_VERSION', '5.4.0a2' );
    4343define( 'AKISMET__MINIMUM_WP_VERSION', '5.8' );
    4444define( 'AKISMET__PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
  • akismet/trunk/class.akismet-admin.php

    r3112083 r3163798  
    11191119        }
    11201120
    1121         if ( !isset( self::$notices['status'] ) && in_array( $akismet_user->status, array( 'cancelled', 'suspended', 'missing', 'no-sub' ) ) ) {
     1121        if ( ! Akismet::predefined_api_key() && ! isset( self::$notices['status'] ) && in_array( $akismet_user->status, array( 'cancelled', 'suspended', 'missing', 'no-sub' ) ) ) {
    11221122            $notices[] = array( 'type' => $akismet_user->status );
    11231123        }
Note: See TracChangeset for help on using the changeset viewer.