PluginProbe
Polylang / 3.3
Polylang v3.3
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 | modules/wpml/load.php +3 -11 2.83.3 View file →
@@ -5,21 +5,13 @@
5 5 * @package Polylang
6 6 */
7 7
8 8 if ( ! defined( 'ABSPATH' ) ) {
9 - exit; // Don't access directly
9 + exit; // Don't access directly.
10 10 };
11 11
12 12 if ( $polylang->model->get_languages_list() ) {
13 13 if ( ! defined( 'PLL_WPML_COMPAT' ) || PLL_WPML_COMPAT ) {
14 - PLL_WPML_Compat::instance(); // WPML API
15 - PLL_WPML_Config::instance(); // wpml-config.xml
14 + PLL_WPML_Compat::instance(); // WPML API.
15 + PLL_WPML_Config::instance(); // wpml-config.xml.
16 16 }
17 -
18 - add_filter(
19 - 'pll_settings_modules',
20 - function( $modules ) {
21 - $modules[] = 'PLL_Settings_WPML';
22 - return $modules;
23 - }
24 - );
25 17 }