-
Notifications
You must be signed in to change notification settings - Fork 17
/
preferred-languages.php
40 lines (38 loc) · 1.46 KB
/
preferred-languages.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
<?php
/**
* Plugin Name: Preferred Languages
* Plugin URI: https://github.com/swissspidy/preferred-languages/
* Description: Enables you to choose languages for displaying WordPress in, in order of preference.
* Version: 2.4.0
* Author: Pascal Birchler
* Author URI: https://pascalbirchler.com
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Text Domain: preferred-languages
* Requires at least: 6.6
* Requires PHP: 7.2.24
*
* Copyright (c) 2017 Pascal Birchler (email: swissspidy@chat.wordpress.org)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 2 or, at
* your discretion, any later version, as published by the Free
* Software Foundation.
*
* 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 St, Fifth Floor, Boston, MA 02110-1301 USA
*
* @package PreferredLanguages
*/
/**
* Plugin functions.
*/
require_once __DIR__ . '/inc/functions.php';
// We need to load before plugins_loaded, see https://core.trac.wordpress.org/ticket/58546.
preferred_languages_boot();