-
Notifications
You must be signed in to change notification settings - Fork 5
/
wp-geetest.php
52 lines (43 loc) · 2.18 KB
/
wp-geetest.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?php
/*
Plugin Name: 极验验证V3.0
Plugin URI: http://www.geetest.com/
Description: 极验验证是全球首家新一代行为式验证™技术服务提供商,为给互联网世界的人们带去“更安全、更便捷、更具智慧的验证”为目标而不断前行。极验验证首度提出“行为式验证”的全新验证理论,并构建出“行为沙盒”的验证框架,利用自主研发的“多重行为判别智能算法”,达到了令传统验证技术难以到达的高度,至此开创验证安全2.0新时代。
Version: 5.3.3
Author: 极验验证, Jaggle
Email: tanxu@geetest.com
Author URI: http://www.geetest.com/
Text Domain: geetest
Domain Path: /languages
*/
/*
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
if (wp_is_xml_request() || wp_doing_ajax()) return ;
if (defined('XMLRPC_REQUEST') && XMLRPC_REQUEST) return ;
if (defined( 'WP_ADMIN' ) && WP_ADMIN) return ;
defined('GEE_NAME') or define('GEE_NAME', plugin_basename(__FILE__));
defined('GEE_DIR') or define('GEE_DIR', plugin_dir_path(__FILE__));
defined('GEE_URL') or define('GEE_URL', plugin_dir_url(__FILE__));
defined('GT_API_SERVER') or define('GT_API_SERVER', 'https://api.geetest.com');
defined('GT_SDK_VERSION') or define('GT_SDK_VERSION', 'wordpress_1.0');
if (!class_exists("Geetest")) {
require_once('geetest.class.php');
}
if (!class_exists('geetestlib')) {
require_once('geetestlib.php');
}
ob_start();
session_start();
$geetest_plugin = new Geetest();
$geetest_plugin->start_plugin();