PluginProbe
Polylang / 2.8
Polylang v2.8
3.8.9 3.8.8 3.8.7 3.8.6 3.8.5 3.8.4 3.8.3 2.7 2.7.0.1 2.7.1 2.7.2 2.7.3 2.7.4 2.8 2.8.1 2.8.2 2.8.3 2.8.4 2.9 2.9.1 2.9.2 3.0 3.0.1 3.0.2 3.0.3 All 233 releases
← All changes | polylang.php +7 -8 2.9.22.8 View file →
@@ -9,10 +9,10 @@
9 9 * @wordpress-plugin
10 10 * Plugin Name: Polylang
11 11 * Plugin URI: https://polylang.pro
12 12 * Description: Adds multilingual capability to WordPress
13 - * Version: 2.9.2
14 - * Requires at least: 5.1
13 + * Version: 2.8
14 + * Requires at least: 4.9
15 15 * Requires PHP: 5.6
16 16 * Author: WP SYNTEX
17 17 * Author URI: https://polylang.pro
18 18 * Text Domain: polylang
@@ -20,9 +20,9 @@
20 20 * License: GPL v3 or later
21 21 * License URI: https://www.gnu.org/licenses/gpl-3.0.txt
22 22 *
23 23 * Copyright 2011-2019 Frédéric Demarle
24 - * Copyright 2019-2021 WP SYNTEX
24 + * Copyright 2019-2020 WP SYNTEX
25 25 *
26 26 * This program is free software: you can redistribute it and/or modify
27 27 * it under the terms of the GNU General Public License as published by
28 28 * the Free Software Foundation, either version 3 of the License, or
@@ -52,10 +52,10 @@
52 52 exit;
53 53 }
54 54 } else {
55 55 // Go on loading the plugin
56 - define( 'POLYLANG_VERSION', '2.9.2' );
57 - define( 'PLL_MIN_WP_VERSION', '5.1' );
56 + define( 'POLYLANG_VERSION', '2.8' );
57 + define( 'PLL_MIN_WP_VERSION', '4.9' );
58 58 define( 'PLL_MIN_PHP_VERSION', '5.6' );
59 59
60 60 define( 'POLYLANG_FILE', __FILE__ );
61 61 define( 'POLYLANG_DIR', __DIR__ );
@@ -66,8 +66,7 @@
66 66 }
67 67
68 68 define( 'POLYLANG', ucwords( str_replace( '-', ' ', dirname( POLYLANG_BASENAME ) ) ) );
69 69
70 - if ( empty( $_GET['deactivate-polylang'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification
71 - new Polylang();
72 - }
70 + require __DIR__ . '/include/class-polylang.php';
71 + new Polylang();
73 72 }