PluginProbe ʕ •ᴥ•ʔ
Akismet Anti-spam: Spam Protection / 3.1.6
Akismet Anti-spam: Spam Protection v3.1.6
5.7 3.0.4 3.0.5 3.1 3.1.1 3.1.10 3.1.11 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.1.8 3.1.9 3.2 3.3 3.3.1 3.3.2 3.3.3 3.3.4 4.0 4.0.1 4.0.2 4.0.3 4.0.4 4.0.5 4.0.6 4.0.7 4.0.8 4.1 4.1.1 4.1.10 4.1.11 4.1.12 4.1.2 4.1.3 4.1.4 4.1.5 4.1.6 4.1.7 4.1.8 4.1.9 4.2 4.2.1 4.2.2 4.2.3 4.2.4 4.2.5 5.0 5.0.1 5.0.2 5.1 5.2 5.3 5.3.1 5.3.2 5.3.3 5.3.4 5.3.5 5.3.6 5.3.7 5.4 5.5 5.6 trunk 2.2.5 2.2.6 2.2.7 2.2.8 2.2.9 2.3.0 2.4.0 2.4.1 2.5.0 2.5.1 2.5.10 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 2.5.7 2.5.8 2.5.9 2.6.0 2.6.1 3.0.0 3.0.0-RC1 3.0.1 3.0.2 3.0.3
akismet / akismet.php
akismet Last commit date
_inc 10 years ago views 10 years ago LICENSE.txt 10 years ago akismet.php 10 years ago class.akismet-admin.php 10 years ago class.akismet-widget.php 10 years ago class.akismet.php 10 years ago index.php 10 years ago readme.txt 10 years ago wrapper.php 10 years ago
akismet.php
62 lines
1 <?php
2 /**
3 * @package Akismet
4 */
5 /*
6 Plugin Name: Akismet
7 Plugin URI: http://akismet.com/
8 Description: Used by millions, Akismet is quite possibly the best way in the world to <strong>protect your blog from spam</strong>. It keeps your site protected even while you sleep. To get started: 1) Click the "Activate" link to the left of this description, 2) <a href="http://akismet.com/get/">Sign up for an Akismet plan</a> to get an API key, and 3) Go to your Akismet configuration page, and save your API key.
9 Version: 3.1.6
10 Author: Automattic
11 Author URI: http://automattic.com/wordpress-plugins/
12 License: GPLv2 or later
13 Text Domain: akismet
14 */
15
16 /*
17 This program is free software; you can redistribute it and/or
18 modify it under the terms of the GNU General Public License
19 as published by the Free Software Foundation; either version 2
20 of the License, or (at your option) any later version.
21
22 This program is distributed in the hope that it will be useful,
23 but WITHOUT ANY WARRANTY; without even the implied warranty of
24 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 GNU General Public License for more details.
26
27 You should have received a copy of the GNU General Public License
28 along with this program; if not, write to the Free Software
29 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
30
31 Copyright 2005-2015 Automattic, Inc.
32 */
33
34 // Make sure we don't expose any info if called directly
35 if ( !function_exists( 'add_action' ) ) {
36 echo 'Hi there! I\'m just a plugin, not much I can do when called directly.';
37 exit;
38 }
39
40 define( 'AKISMET_VERSION', '3.1.6' );
41 define( 'AKISMET__MINIMUM_WP_VERSION', '3.2' );
42 define( 'AKISMET__PLUGIN_URL', plugin_dir_url( __FILE__ ) );
43 define( 'AKISMET__PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
44 define( 'AKISMET_DELETE_LIMIT', 100000 );
45
46 register_activation_hook( __FILE__, array( 'Akismet', 'plugin_activation' ) );
47 register_deactivation_hook( __FILE__, array( 'Akismet', 'plugin_deactivation' ) );
48
49 require_once( AKISMET__PLUGIN_DIR . 'class.akismet.php' );
50 require_once( AKISMET__PLUGIN_DIR . 'class.akismet-widget.php' );
51
52 add_action( 'init', array( 'Akismet', 'init' ) );
53
54 if ( is_admin() ) {
55 require_once( AKISMET__PLUGIN_DIR . 'class.akismet-admin.php' );
56 add_action( 'init', array( 'Akismet_Admin', 'init' ) );
57 }
58
59 //add wrapper class around deprecated akismet functions that are referenced elsewhere
60 require_once( AKISMET__PLUGIN_DIR . 'wrapper.php' );
61
62