PluginProbe
Polylang / 1.8
Polylang v1.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
polylang / polylang.php

polylang.php in Polylang 1.8, at polylang.php

52 lines 1.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 Plugin Name: Polylang
4 Plugin URI: http://polylang.wordpress.com/
5 Version: 1.8
6 Author: Frédéric Demarle
7 Author uri: http://polylang.wordpress.com
8 Description: Adds multilingual capability to WordPress
9 Text Domain: polylang
10 Domain Path: /languages
11 */
12
13 /*
14 * Copyright 2011-2016 Frédéric Demarle
15 *
16 * This program is free software; you can redistribute it and/or modify
17 * it under the terms of the GNU General Public License as published by
18 * the Free Software Foundation; either version 2 of the License, or
19 * ( at your option ) any later version.
20 *
21 * This program is distributed in the hope that it will be useful,
22 * but WITHOUT ANY WARRANTY; without even the implied warranty of
23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 * GNU General Public License for more details.
25 *
26 * You should have received a copy of the GNU General Public License
27 * along with this program; if not, write to the Free Software
28 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
29 * MA 02110-1301, USA.
30 *
31 */
32
33 if ( ! defined( 'ABSPATH' ) ) {
34 exit; // don't access directly
35 };
36
37 define( 'POLYLANG_VERSION', '1.8' );
38 define( 'PLL_MIN_WP_VERSION', '4.0' );
39
40 define( 'POLYLANG_FILE', __FILE__ ); // this file
41 define( 'POLYLANG_BASENAME', plugin_basename( POLYLANG_FILE ) ); // plugin name as known by WP
42 define( 'POLYLANG_DIR', dirname( POLYLANG_FILE ) ); // our directory
43
44 define( 'PLL_ADMIN_INC', POLYLANG_DIR . '/admin' );
45 define( 'PLL_FRONT_INC', POLYLANG_DIR . '/frontend' );
46 define( 'PLL_INC', POLYLANG_DIR . '/include' );
47 define( 'PLL_INSTALL_INC', POLYLANG_DIR . '/install' );
48 define( 'PLL_MODULES_INC', POLYLANG_DIR . '/modules' );
49 define( 'PLL_SETTINGS_INC', POLYLANG_DIR . '/settings' );
50
51 require_once( PLL_INC . '/class-polylang.php' );
52