Changeset 3111923
- Timestamp:
- 07/03/2024 08:13:42 PM (6 weeks ago)
- Location:
- akismet/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
akismet/trunk/akismet.php
r3111915 r3111923 7 7 Plugin URI: https://akismet.com/ 8 8 Description: 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.3.3a 69 Version: 5.3.3a 10 10 Requires at least: 5.8 11 11 Requires PHP: 5.6.20 … … 40 40 } 41 41 42 define( 'AKISMET_VERSION', '5.3.3a 6' );42 define( 'AKISMET_VERSION', '5.3.3a' ); 43 43 define( 'AKISMET__MINIMUM_WP_VERSION', '5.8' ); 44 44 define( 'AKISMET__PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); … … 48 48 register_deactivation_hook( __FILE__, array( 'Akismet', 'plugin_deactivation' ) ); 49 49 50 require_once ( AKISMET__PLUGIN_DIR . 'class.akismet.php' );51 require_once ( AKISMET__PLUGIN_DIR . 'class.akismet-widget.php' );52 require_once ( AKISMET__PLUGIN_DIR . 'class.akismet-rest-api.php' );50 require_once; 51 require_once; 52 require_once; 53 53 54 54 add_action( 'init', array( 'Akismet', 'init' ) ); … … 57 57 58 58 if ( is_admin() || ( defined( 'WP_CLI' ) && WP_CLI ) ) { 59 require_once ( AKISMET__PLUGIN_DIR . 'class.akismet-admin.php' );59 require_once; 60 60 add_action( 'init', array( 'Akismet_Admin', 'init' ) ); 61 61 } 62 62 63 63 //add wrapper class around deprecated akismet functions that are referenced elsewhere 64 require_once ( AKISMET__PLUGIN_DIR . 'wrapper.php' );64 require_once; 65 65 66 66 if ( defined( 'WP_CLI' ) && WP_CLI ) { 67 require_once ( AKISMET__PLUGIN_DIR . 'class.akismet-cli.php' );67 require_once; 68 68 } -
akismet/trunk/class.akismet-admin.php
r3111915 r3111923 1115 1115 if ( isset( Akismet::$limit_notices[ $alert_code ] ) ) { 1116 1116 $notices[] = self::get_usage_limit_alert_data(); 1117 1118 1119 1120 1121 1122 1117 1123 } 1118 1124 -
akismet/trunk/class.akismet.php
r3057012 r3111923 1439 1439 1440 1440 $simplified_response = array( $response['headers'], $response['body'] ); 1441 1442 self::update_alert( $simplified_response ); 1441 1442 $alert_code_check_paths = array( 1443 'verify-key', 1444 'comment-check', 1445 'get-stats', 1446 ); 1447 1448 if ( in_array( $path, $alert_code_check_paths ) ) { 1449 self::update_alert( $simplified_response ); 1450 } 1443 1451 1444 1452 return $simplified_response;
Note: See TracChangeset
for help on using the changeset viewer.