Version Description
(2021-02-02) =
- Pro: Fix translation of CPTUI plural label and description not working
- Add Spanish (Ecuador) to the list of predefined languages
- Fix typo in "WordPress" string translation group. Props Viktor Szpe #682
Download this release
Release Info
Developer | Chouby |
Plugin | Polylang |
Version | 2.9.2 |
Comparing to | |
See all releases |
Code changes from version 2.9.1 to 2.9.2
- changelog.txt +59 -0
- include/base.php +4 -4
- include/filters-sanitization.php +1 -1
- polylang.php +3 -3
- readme.txt +7 -60
- settings/languages.php +8 -0
- vendor/autoload.php +1 -1
- vendor/composer/InstalledVersions.php +0 -538
- vendor/composer/autoload_real.php +4 -4
- vendor/composer/autoload_static.php +2 -2
- vendor/composer/installed.php +0 -343
- vendor/composer/platform_check.php +0 -26
changelog.txt
CHANGED
@@ -2,6 +2,65 @@
|
|
2 |
|
3 |
This file contains only old changelog. See readme.txt for newer versions.
|
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
= 2.7.4 (2020-06-29) =
|
6 |
|
7 |
* Pro: Allow using our /untranslated-posts REST endpoint for non-public post types
|
2 |
|
3 |
This file contains only old changelog. See readme.txt for newer versions.
|
4 |
|
5 |
+
= 2.8.4 (2020-11-03) =
|
6 |
+
|
7 |
+
* Pro: Remove useless bulk translate action for ACF fields groups
|
8 |
+
* Pro: Fix the translation of the CPTUI labels when the language is set from the content
|
9 |
+
* Fix sitemaps redirected to the default language since WP 5.5.1
|
10 |
+
* Fix object cache not flushed for sticky posts #601
|
11 |
+
* Fix blog page broken when trashing a page and the blog page is not translated in all languages
|
12 |
+
* Fix custom flags ignored in WPML compatibility mode
|
13 |
+
* Fix breadcrumb for untranslated post types in Yoast SEO
|
14 |
+
|
15 |
+
= 2.8.3 (2020-10-13) =
|
16 |
+
|
17 |
+
* Honor install_languages capability to download language packs
|
18 |
+
* Pro: Fix integrations not loaded (with The Events Calendar, CPTUI, Content blocks)
|
19 |
+
* Pro: Fix fatal error with ACF if a flexible content includes a repeater and a relationship
|
20 |
+
* Pro: Fix terms sharing their slug impossible to update without changing the slug
|
21 |
+
* When available, use wpcom_vip_get_page_by_path() instead of get_page_by_path()
|
22 |
+
* Fix queries filtered when editing a post that was declared untranslatable after it got a language
|
23 |
+
* Fix issues with Yoast SEO 14.0+ (breadcrumbs, canonical, title and description)
|
24 |
+
|
25 |
+
= 2.8.2 (2020-09-08) =
|
26 |
+
|
27 |
+
* Pro: Fix posts sharing the same slug displayed on the same page
|
28 |
+
* Fix: Don't use a javascript localized string removed in WP 5.5 #568
|
29 |
+
* Fix fatal error in site health when no language is defined #563
|
30 |
+
* Fix various issues with Yoast SEO 14.x #65, #503, #505
|
31 |
+
* Fix fatal error with MU Domain Mapping when saving domains in Polylang settings #569
|
32 |
+
|
33 |
+
= 2.8.1 (2020-08-25) =
|
34 |
+
|
35 |
+
* Pro: Fix fatal error with WP 4.9
|
36 |
+
* Fix pll_the_languages() with 'raw' option returning html flag instead of flag url #558
|
37 |
+
* Fix compatibility with Duplicate Posts not correcly loaded #557
|
38 |
+
* Fix custom flag size in admin bar language switcher #559
|
39 |
+
* Fix tag clouds mixed in the classic editor #561
|
40 |
+
|
41 |
+
= 2.8 (2020-08-17) =
|
42 |
+
|
43 |
+
* Pro: Add a language switcher block
|
44 |
+
* Pro: Add compatibility with block image edition introduced in WP 5.5
|
45 |
+
* Pro: Fix our private taxonomies being displayed in the ACF field group rules.
|
46 |
+
* Pro: Fix incorrect flags loaded from the block editor
|
47 |
+
* Pro: Fix SSO causing a wrong redirect when using subdomains (introduced in 2.7.4)
|
48 |
+
* Pro: Fix a performance issue on the plugins list
|
49 |
+
* Pro: Fix option to automatically duplicate media in all languages when uploading a new file not honored in block image
|
50 |
+
* Use composer for autoload and Polylang Pro dependency on Polylang
|
51 |
+
* Display a flag for each post in the posts list tables (same for terms). #515
|
52 |
+
* Add test for the homepage translations to Site Health
|
53 |
+
* Add debug information to Site Health
|
54 |
+
* Add compatibility with the sitemaps introduced in WP 5.5 #451
|
55 |
+
* Always filter WP_Query by the current language
|
56 |
+
* Support wildcards in "admin-texts" parent keys in wpml-config.xml
|
57 |
+
* Fix sticky posts showed for all languages when the admin language filter is active #469
|
58 |
+
* Fix a performance issue on the pages list
|
59 |
+
* Fix dependency to jQuery Migrate removed from WP 5.5 #539
|
60 |
+
* Fix: output secure cookie when using a cache plugin and ssl #542
|
61 |
+
* Fix the possibility to create 2 terms with the same name in the same language, without specifying the second slug.
|
62 |
+
* Fix sticky posts appearing 2 times in WP 5.5
|
63 |
+
|
64 |
= 2.7.4 (2020-06-29) =
|
65 |
|
66 |
* Pro: Allow using our /untranslated-posts REST endpoint for non-public post types
|
include/base.php
CHANGED
@@ -80,10 +80,10 @@ abstract class PLL_Base {
|
|
80 |
$this->terms = new PLL_CRUD_Terms( $this );
|
81 |
|
82 |
// WordPress options.
|
83 |
-
new PLL_Translate_Option( 'blogname', array(), array( 'context' => '
|
84 |
-
new PLL_Translate_Option( 'blogdescription', array(), array( 'context' => '
|
85 |
-
new PLL_Translate_Option( 'date_format', array(), array( 'context' => '
|
86 |
-
new PLL_Translate_Option( 'time_format', array(), array( 'context' => '
|
87 |
}
|
88 |
}
|
89 |
|
80 |
$this->terms = new PLL_CRUD_Terms( $this );
|
81 |
|
82 |
// WordPress options.
|
83 |
+
new PLL_Translate_Option( 'blogname', array(), array( 'context' => 'WordPress' ) );
|
84 |
+
new PLL_Translate_Option( 'blogdescription', array(), array( 'context' => 'WordPress' ) );
|
85 |
+
new PLL_Translate_Option( 'date_format', array(), array( 'context' => 'WordPress' ) );
|
86 |
+
new PLL_Translate_Option( 'time_format', array(), array( 'context' => 'WordPress' ) );
|
87 |
}
|
88 |
}
|
89 |
|
include/filters-sanitization.php
CHANGED
@@ -97,7 +97,7 @@ class PLL_Filters_Sanitization {
|
|
97 |
if ( ! $once ) {
|
98 |
$once = true;
|
99 |
add_filter( 'locale', array( $this, 'get_locale' ), 20 ); // After the filter for the admin interface
|
100 |
-
$username = sanitize_user( $raw_username,
|
101 |
remove_filter( 'locale', array( $this, 'get_locale' ), 20 );
|
102 |
$once = false;
|
103 |
}
|
97 |
if ( ! $once ) {
|
98 |
$once = true;
|
99 |
add_filter( 'locale', array( $this, 'get_locale' ), 20 ); // After the filter for the admin interface
|
100 |
+
$username = sanitize_user( $raw_username, $strict );
|
101 |
remove_filter( 'locale', array( $this, 'get_locale' ), 20 );
|
102 |
$once = false;
|
103 |
}
|
polylang.php
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
* Plugin Name: Polylang
|
11 |
* Plugin URI: https://polylang.pro
|
12 |
* Description: Adds multilingual capability to WordPress
|
13 |
-
* Version: 2.9.
|
14 |
* Requires at least: 5.1
|
15 |
* Requires PHP: 5.6
|
16 |
* Author: WP SYNTEX
|
@@ -21,7 +21,7 @@
|
|
21 |
* License URI: https://www.gnu.org/licenses/gpl-3.0.txt
|
22 |
*
|
23 |
* Copyright 2011-2019 Frédéric Demarle
|
24 |
-
* Copyright 2019-
|
25 |
*
|
26 |
* This program is free software: you can redistribute it and/or modify
|
27 |
* it under the terms of the GNU General Public License as published by
|
@@ -53,7 +53,7 @@ if ( defined( 'POLYLANG_VERSION' ) ) {
|
|
53 |
}
|
54 |
} else {
|
55 |
// Go on loading the plugin
|
56 |
-
define( 'POLYLANG_VERSION', '2.9.
|
57 |
define( 'PLL_MIN_WP_VERSION', '5.1' );
|
58 |
define( 'PLL_MIN_PHP_VERSION', '5.6' );
|
59 |
|
10 |
* Plugin Name: Polylang
|
11 |
* Plugin URI: https://polylang.pro
|
12 |
* Description: Adds multilingual capability to WordPress
|
13 |
+
* Version: 2.9.2
|
14 |
* Requires at least: 5.1
|
15 |
* Requires PHP: 5.6
|
16 |
* Author: WP SYNTEX
|
21 |
* License URI: https://www.gnu.org/licenses/gpl-3.0.txt
|
22 |
*
|
23 |
* Copyright 2011-2019 Frédéric Demarle
|
24 |
+
* Copyright 2019-2021 WP SYNTEX
|
25 |
*
|
26 |
* This program is free software: you can redistribute it and/or modify
|
27 |
* it under the terms of the GNU General Public License as published by
|
53 |
}
|
54 |
} else {
|
55 |
// Go on loading the plugin
|
56 |
+
define( 'POLYLANG_VERSION', '2.9.2' );
|
57 |
define( 'PLL_MIN_WP_VERSION', '5.1' );
|
58 |
define( 'PLL_MIN_PHP_VERSION', '5.6' );
|
59 |
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: multilingual, bilingual, translate, translation, language, multilanguage,
|
|
5 |
Requires at least: 5.1
|
6 |
Tested up to: 5.6
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 2.9.
|
9 |
License: GPLv3 or later
|
10 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
@@ -78,6 +78,12 @@ Don't hesitate to [give your feedback](http://wordpress.org/support/view/plugin-
|
|
78 |
|
79 |
== Changelog ==
|
80 |
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
= 2.9.1 (2020-12-15) =
|
82 |
|
83 |
* Fix PHP notice: Undefined property: PLL_Cache_Compat::$options with cache plugins. Props bahaa-almahamid. #658
|
@@ -104,63 +110,4 @@ Don't hesitate to [give your feedback](http://wordpress.org/support/view/plugin-
|
|
104 |
* Fix title displayed instead of meta description with Yoast SEO > 14.0
|
105 |
* Fix PHP Notice: Undefined index: wp_the_query in /frontend/choose-lang-content.php on line 92
|
106 |
|
107 |
-
= 2.8.4 (2020-11-03) =
|
108 |
-
|
109 |
-
* Pro: Remove useless bulk translate action for ACF fields groups
|
110 |
-
* Pro: Fix the translation of the CPTUI labels when the language is set from the content
|
111 |
-
* Fix sitemaps redirected to the default language since WP 5.5.1
|
112 |
-
* Fix object cache not flushed for sticky posts #601
|
113 |
-
* Fix blog page broken when trashing a page and the blog page is not translated in all languages
|
114 |
-
* Fix custom flags ignored in WPML compatibility mode
|
115 |
-
* Fix breadcrumb for untranslated post types in Yoast SEO
|
116 |
-
|
117 |
-
= 2.8.3 (2020-10-13) =
|
118 |
-
|
119 |
-
* Honor install_languages capability to download language packs
|
120 |
-
* Pro: Fix integrations not loaded (with The Events Calendar, CPTUI, Content blocks)
|
121 |
-
* Pro: Fix fatal error with ACF if a flexible content includes a repeater and a relationship
|
122 |
-
* Pro: Fix terms sharing their slug impossible to update without changing the slug
|
123 |
-
* When available, use wpcom_vip_get_page_by_path() instead of get_page_by_path()
|
124 |
-
* Fix queries filtered when editing a post that was declared untranslatable after it got a language
|
125 |
-
* Fix issues with Yoast SEO 14.0+ (breadcrumbs, canonical, title and description)
|
126 |
-
|
127 |
-
= 2.8.2 (2020-09-08) =
|
128 |
-
|
129 |
-
* Pro: Fix posts sharing the same slug displayed on the same page
|
130 |
-
* Fix: Don't use a javascript localized string removed in WP 5.5 #568
|
131 |
-
* Fix fatal error in site health when no language is defined #563
|
132 |
-
* Fix various issues with Yoast SEO 14.x #65, #503, #505
|
133 |
-
* Fix fatal error with MU Domain Mapping when saving domains in Polylang settings #569
|
134 |
-
|
135 |
-
= 2.8.1 (2020-08-25) =
|
136 |
-
|
137 |
-
* Pro: Fix fatal error with WP 4.9
|
138 |
-
* Fix pll_the_languages() with 'raw' option returning html flag instead of flag url #558
|
139 |
-
* Fix compatibility with Duplicate Posts not correcly loaded #557
|
140 |
-
* Fix custom flag size in admin bar language switcher #559
|
141 |
-
* Fix tag clouds mixed in the classic editor #561
|
142 |
-
|
143 |
-
= 2.8 (2020-08-17) =
|
144 |
-
|
145 |
-
* Pro: Add a language switcher block
|
146 |
-
* Pro: Add compatibility with block image edition introduced in WP 5.5
|
147 |
-
* Pro: Fix our private taxonomies being displayed in the ACF field group rules.
|
148 |
-
* Pro: Fix incorrect flags loaded from the block editor
|
149 |
-
* Pro: Fix SSO causing a wrong redirect when using subdomains (introduced in 2.7.4)
|
150 |
-
* Pro: Fix a performance issue on the plugins list
|
151 |
-
* Pro: Fix option to automatically duplicate media in all languages when uploading a new file not honored in block image
|
152 |
-
* Use composer for autoload and Polylang Pro dependency on Polylang
|
153 |
-
* Display a flag for each post in the posts list tables (same for terms). #515
|
154 |
-
* Add test for the homepage translations to Site Health
|
155 |
-
* Add debug information to Site Health
|
156 |
-
* Add compatibility with the sitemaps introduced in WP 5.5 #451
|
157 |
-
* Always filter WP_Query by the current language
|
158 |
-
* Support wildcards in "admin-texts" parent keys in wpml-config.xml
|
159 |
-
* Fix sticky posts showed for all languages when the admin language filter is active #469
|
160 |
-
* Fix a performance issue on the pages list
|
161 |
-
* Fix dependency to jQuery Migrate removed from WP 5.5 #539
|
162 |
-
* Fix: output secure cookie when using a cache plugin and ssl #542
|
163 |
-
* Fix the possibility to create 2 terms with the same name in the same language, without specifying the second slug.
|
164 |
-
* Fix sticky posts appearing 2 times in WP 5.5
|
165 |
-
|
166 |
See [changelog.txt](https://plugins.svn.wordpress.org/polylang/trunk/changelog.txt) for older changelog
|
5 |
Requires at least: 5.1
|
6 |
Tested up to: 5.6
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 2.9.2
|
9 |
License: GPLv3 or later
|
10 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
78 |
|
79 |
== Changelog ==
|
80 |
|
81 |
+
= 2.9.2 (2021-02-02) =
|
82 |
+
|
83 |
+
* Pro: Fix translation of CPTUI plural label and description not working
|
84 |
+
* Add Spanish (Ecuador) to the list of predefined languages
|
85 |
+
* Fix typo in "WordPress" string translation group. Props Viktor Szépe #682
|
86 |
+
|
87 |
= 2.9.1 (2020-12-15) =
|
88 |
|
89 |
* Fix PHP notice: Undefined property: PLL_Cache_Compat::$options with cache plugins. Props bahaa-almahamid. #658
|
110 |
* Fix title displayed instead of meta description with Yoast SEO > 14.0
|
111 |
* Fix PHP Notice: Undefined index: wp_the_query in /frontend/choose-lang-content.php on line 92
|
112 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
113 |
See [changelog.txt](https://plugins.svn.wordpress.org/polylang/trunk/changelog.txt) for older changelog
|
settings/languages.php
CHANGED
@@ -358,6 +358,14 @@ return array(
|
|
358 |
'flag' => 'cr',
|
359 |
'facebook' => 'es_LA',
|
360 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
361 |
'es_ES' => array(
|
362 |
'code' => 'es',
|
363 |
'locale' => 'es_ES',
|
358 |
'flag' => 'cr',
|
359 |
'facebook' => 'es_LA',
|
360 |
),
|
361 |
+
'es_EC' => array(
|
362 |
+
'code' => 'es',
|
363 |
+
'locale' => 'es_EC',
|
364 |
+
'name' => 'Español',
|
365 |
+
'dir' => 'ltr',
|
366 |
+
'flag' => 'ec',
|
367 |
+
'facebook' => 'es_LA',
|
368 |
+
),
|
369 |
'es_ES' => array(
|
370 |
'code' => 'es',
|
371 |
'locale' => 'es_ES',
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInitb2e9581550b70057025a8e7128ef798f::getLoader();
|
vendor/composer/InstalledVersions.php
DELETED
@@ -1,538 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
namespace Composer;
|
14 |
-
|
15 |
-
use Composer\Semver\VersionParser;
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
class InstalledVersions
|
23 |
-
{
|
24 |
-
private static $installed = array (
|
25 |
-
'root' =>
|
26 |
-
array (
|
27 |
-
'pretty_version' => 'dev-master',
|
28 |
-
'version' => 'dev-master',
|
29 |
-
'aliases' =>
|
30 |
-
array (
|
31 |
-
),
|
32 |
-
'reference' => '421ec30d3ae8380eb66da357d813d2eabc1b8875',
|
33 |
-
'name' => 'wpsyntex/polylang',
|
34 |
-
),
|
35 |
-
'versions' =>
|
36 |
-
array (
|
37 |
-
'automattic/vipwpcs' =>
|
38 |
-
array (
|
39 |
-
'pretty_version' => '2.2.0',
|
40 |
-
'version' => '2.2.0.0',
|
41 |
-
'aliases' =>
|
42 |
-
array (
|
43 |
-
),
|
44 |
-
'reference' => '4d0612461232b313d06321f1501c3989bd6aecf9',
|
45 |
-
),
|
46 |
-
'dealerdirect/phpcodesniffer-composer-installer' =>
|
47 |
-
array (
|
48 |
-
'pretty_version' => 'v0.7.1',
|
49 |
-
'version' => '0.7.1.0',
|
50 |
-
'aliases' =>
|
51 |
-
array (
|
52 |
-
),
|
53 |
-
'reference' => 'fe390591e0241955f22eb9ba327d137e501c771c',
|
54 |
-
),
|
55 |
-
'doctrine/instantiator' =>
|
56 |
-
array (
|
57 |
-
'pretty_version' => '1.4.0',
|
58 |
-
'version' => '1.4.0.0',
|
59 |
-
'aliases' =>
|
60 |
-
array (
|
61 |
-
),
|
62 |
-
'reference' => 'd56bf6102915de5702778fe20f2de3b2fe570b5b',
|
63 |
-
),
|
64 |
-
'myclabs/deep-copy' =>
|
65 |
-
array (
|
66 |
-
'pretty_version' => '1.10.2',
|
67 |
-
'version' => '1.10.2.0',
|
68 |
-
'aliases' =>
|
69 |
-
array (
|
70 |
-
),
|
71 |
-
'reference' => '776f831124e9c62e1a2c601ecc52e776d8bb7220',
|
72 |
-
'replaced' =>
|
73 |
-
array (
|
74 |
-
0 => '1.10.2',
|
75 |
-
),
|
76 |
-
),
|
77 |
-
'phpcompatibility/php-compatibility' =>
|
78 |
-
array (
|
79 |
-
'pretty_version' => '9.3.5',
|
80 |
-
'version' => '9.3.5.0',
|
81 |
-
'aliases' =>
|
82 |
-
array (
|
83 |
-
),
|
84 |
-
'reference' => '9fb324479acf6f39452e0655d2429cc0d3914243',
|
85 |
-
),
|
86 |
-
'phpcompatibility/phpcompatibility-paragonie' =>
|
87 |
-
array (
|
88 |
-
'pretty_version' => '1.3.0',
|
89 |
-
'version' => '1.3.0.0',
|
90 |
-
'aliases' =>
|
91 |
-
array (
|
92 |
-
),
|
93 |
-
'reference' => 'b862bc32f7e860d0b164b199bd995e690b4b191c',
|
94 |
-
),
|
95 |
-
'phpcompatibility/phpcompatibility-wp' =>
|
96 |
-
array (
|
97 |
-
'pretty_version' => '2.1.0',
|
98 |
-
'version' => '2.1.0.0',
|
99 |
-
'aliases' =>
|
100 |
-
array (
|
101 |
-
),
|
102 |
-
'reference' => '41bef18ba688af638b7310666db28e1ea9158b2f',
|
103 |
-
),
|
104 |
-
'phpdocumentor/reflection-common' =>
|
105 |
-
array (
|
106 |
-
'pretty_version' => '2.1.0',
|
107 |
-
'version' => '2.1.0.0',
|
108 |
-
'aliases' =>
|
109 |
-
array (
|
110 |
-
),
|
111 |
-
'reference' => '6568f4687e5b41b054365f9ae03fcb1ed5f2069b',
|
112 |
-
),
|
113 |
-
'phpdocumentor/reflection-docblock' =>
|
114 |
-
array (
|
115 |
-
'pretty_version' => '4.3.4',
|
116 |
-
'version' => '4.3.4.0',
|
117 |
-
'aliases' =>
|
118 |
-
array (
|
119 |
-
),
|
120 |
-
'reference' => 'da3fd972d6bafd628114f7e7e036f45944b62e9c',
|
121 |
-
),
|
122 |
-
'phpdocumentor/type-resolver' =>
|
123 |
-
array (
|
124 |
-
'pretty_version' => '1.0.1',
|
125 |
-
'version' => '1.0.1.0',
|
126 |
-
'aliases' =>
|
127 |
-
array (
|
128 |
-
),
|
129 |
-
'reference' => '2e32a6d48972b2c1976ed5d8967145b6cec4a4a9',
|
130 |
-
),
|
131 |
-
'phpspec/prophecy' =>
|
132 |
-
array (
|
133 |
-
'pretty_version' => 'v1.10.3',
|
134 |
-
'version' => '1.10.3.0',
|
135 |
-
'aliases' =>
|
136 |
-
array (
|
137 |
-
),
|
138 |
-
'reference' => '451c3cd1418cf640de218914901e51b064abb093',
|
139 |
-
),
|
140 |
-
'phpunit/php-code-coverage' =>
|
141 |
-
array (
|
142 |
-
'pretty_version' => '4.0.8',
|
143 |
-
'version' => '4.0.8.0',
|
144 |
-
'aliases' =>
|
145 |
-
array (
|
146 |
-
),
|
147 |
-
'reference' => 'ef7b2f56815df854e66ceaee8ebe9393ae36a40d',
|
148 |
-
),
|
149 |
-
'phpunit/php-file-iterator' =>
|
150 |
-
array (
|
151 |
-
'pretty_version' => '1.4.5',
|
152 |
-
'version' => '1.4.5.0',
|
153 |
-
'aliases' =>
|
154 |
-
array (
|
155 |
-
),
|
156 |
-
'reference' => '730b01bc3e867237eaac355e06a36b85dd93a8b4',
|
157 |
-
),
|
158 |
-
'phpunit/php-text-template' =>
|
159 |
-
array (
|
160 |
-
'pretty_version' => '1.2.1',
|
161 |
-
'version' => '1.2.1.0',
|
162 |
-
'aliases' =>
|
163 |
-
array (
|
164 |
-
),
|
165 |
-
'reference' => '31f8b717e51d9a2afca6c9f046f5d69fc27c8686',
|
166 |
-
),
|
167 |
-
'phpunit/php-timer' =>
|
168 |
-
array (
|
169 |
-
'pretty_version' => '1.0.9',
|
170 |
-
'version' => '1.0.9.0',
|
171 |
-
'aliases' =>
|
172 |
-
array (
|
173 |
-
),
|
174 |
-
'reference' => '3dcf38ca72b158baf0bc245e9184d3fdffa9c46f',
|
175 |
-
),
|
176 |
-
'phpunit/php-token-stream' =>
|
177 |
-
array (
|
178 |
-
'pretty_version' => '2.0.2',
|
179 |
-
'version' => '2.0.2.0',
|
180 |
-
'aliases' =>
|
181 |
-
array (
|
182 |
-
),
|
183 |
-
'reference' => '791198a2c6254db10131eecfe8c06670700904db',
|
184 |
-
),
|
185 |
-
'phpunit/phpunit' =>
|
186 |
-
array (
|
187 |
-
'pretty_version' => '5.7.27',
|
188 |
-
'version' => '5.7.27.0',
|
189 |
-
'aliases' =>
|
190 |
-
array (
|
191 |
-
),
|
192 |
-
'reference' => 'b7803aeca3ccb99ad0a506fa80b64cd6a56bbc0c',
|
193 |
-
),
|
194 |
-
'phpunit/phpunit-mock-objects' =>
|
195 |
-
array (
|
196 |
-
'pretty_version' => '3.4.4',
|
197 |
-
'version' => '3.4.4.0',
|
198 |
-
'aliases' =>
|
199 |
-
array (
|
200 |
-
),
|
201 |
-
'reference' => 'a23b761686d50a560cc56233b9ecf49597cc9118',
|
202 |
-
),
|
203 |
-
'sebastian/code-unit-reverse-lookup' =>
|
204 |
-
array (
|
205 |
-
'pretty_version' => '1.0.2',
|
206 |
-
'version' => '1.0.2.0',
|
207 |
-
'aliases' =>
|
208 |
-
array (
|
209 |
-
),
|
210 |
-
'reference' => '1de8cd5c010cb153fcd68b8d0f64606f523f7619',
|
211 |
-
),
|
212 |
-
'sebastian/comparator' =>
|
213 |
-
array (
|
214 |
-
'pretty_version' => '1.2.4',
|
215 |
-
'version' => '1.2.4.0',
|
216 |
-
'aliases' =>
|
217 |
-
array (
|
218 |
-
),
|
219 |
-
'reference' => '2b7424b55f5047b47ac6e5ccb20b2aea4011d9be',
|
220 |
-
),
|
221 |
-
'sebastian/diff' =>
|
222 |
-
array (
|
223 |
-
'pretty_version' => '1.4.3',
|
224 |
-
'version' => '1.4.3.0',
|
225 |
-
'aliases' =>
|
226 |
-
array (
|
227 |
-
),
|
228 |
-
'reference' => '7f066a26a962dbe58ddea9f72a4e82874a3975a4',
|
229 |
-
),
|
230 |
-
'sebastian/environment' =>
|
231 |
-
array (
|
232 |
-
'pretty_version' => '2.0.0',
|
233 |
-
'version' => '2.0.0.0',
|
234 |
-
'aliases' =>
|
235 |
-
array (
|
236 |
-
),
|
237 |
-
'reference' => '5795ffe5dc5b02460c3e34222fee8cbe245d8fac',
|
238 |
-
),
|
239 |
-
'sebastian/exporter' =>
|
240 |
-
array (
|
241 |
-
'pretty_version' => '2.0.0',
|
242 |
-
'version' => '2.0.0.0',
|
243 |
-
'aliases' =>
|
244 |
-
array (
|
245 |
-
),
|
246 |
-
'reference' => 'ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4',
|
247 |
-
),
|
248 |
-
'sebastian/global-state' =>
|
249 |
-
array (
|
250 |
-
'pretty_version' => '1.1.1',
|
251 |
-
'version' => '1.1.1.0',
|
252 |
-
'aliases' =>
|
253 |
-
array (
|
254 |
-
),
|
255 |
-
'reference' => 'bc37d50fea7d017d3d340f230811c9f1d7280af4',
|
256 |
-
),
|
257 |
-
'sebastian/object-enumerator' =>
|
258 |
-
array (
|
259 |
-
'pretty_version' => '2.0.1',
|
260 |
-
'version' => '2.0.1.0',
|
261 |
-
'aliases' =>
|
262 |
-
array (
|
263 |
-
),
|
264 |
-
'reference' => '1311872ac850040a79c3c058bea3e22d0f09cbb7',
|
265 |
-
),
|
266 |
-
'sebastian/recursion-context' =>
|
267 |
-
array (
|
268 |
-
'pretty_version' => '2.0.0',
|
269 |
-
'version' => '2.0.0.0',
|
270 |
-
'aliases' =>
|
271 |
-
array (
|
272 |
-
),
|
273 |
-
'reference' => '2c3ba150cbec723aa057506e73a8d33bdb286c9a',
|
274 |
-
),
|
275 |
-
'sebastian/resource-operations' =>
|
276 |
-
array (
|
277 |
-
'pretty_version' => '1.0.0',
|
278 |
-
'version' => '1.0.0.0',
|
279 |
-
'aliases' =>
|
280 |
-
array (
|
281 |
-
),
|
282 |
-
'reference' => 'ce990bb21759f94aeafd30209e8cfcdfa8bc3f52',
|
283 |
-
),
|
284 |
-
'sebastian/version' =>
|
285 |
-
array (
|
286 |
-
'pretty_version' => '2.0.1',
|
287 |
-
'version' => '2.0.1.0',
|
288 |
-
'aliases' =>
|
289 |
-
array (
|
290 |
-
),
|
291 |
-
'reference' => '99732be0ddb3361e16ad77b68ba41efc8e979019',
|
292 |
-
),
|
293 |
-
'sirbrillig/phpcs-variable-analysis' =>
|
294 |
-
array (
|
295 |
-
'pretty_version' => 'v2.10.1',
|
296 |
-
'version' => '2.10.1.0',
|
297 |
-
'aliases' =>
|
298 |
-
array (
|
299 |
-
),
|
300 |
-
'reference' => 'c6716a98fe7bee25d31306e14fb62c3ffa16d70a',
|
301 |
-
),
|
302 |
-
'squizlabs/php_codesniffer' =>
|
303 |
-
array (
|
304 |
-
'pretty_version' => '3.5.8',
|
305 |
-
'version' => '3.5.8.0',
|
306 |
-
'aliases' =>
|
307 |
-
array (
|
308 |
-
),
|
309 |
-
'reference' => '9d583721a7157ee997f235f327de038e7ea6dac4',
|
310 |
-
),
|
311 |
-
'symfony/polyfill-ctype' =>
|
312 |
-
array (
|
313 |
-
'pretty_version' => 'v1.20.0',
|
314 |
-
'version' => '1.20.0.0',
|
315 |
-
'aliases' =>
|
316 |
-
array (
|
317 |
-
),
|
318 |
-
'reference' => 'f4ba089a5b6366e453971d3aad5fe8e897b37f41',
|
319 |
-
),
|
320 |
-
'symfony/yaml' =>
|
321 |
-
array (
|
322 |
-
'pretty_version' => 'v4.4.17',
|
323 |
-
'version' => '4.4.17.0',
|
324 |
-
'aliases' =>
|
325 |
-
array (
|
326 |
-
),
|
327 |
-
'reference' => '7531361cf38e4816821b4a12a42542b3c6143ad1',
|
328 |
-
),
|
329 |
-
'webmozart/assert' =>
|
330 |
-
array (
|
331 |
-
'pretty_version' => '1.9.1',
|
332 |
-
'version' => '1.9.1.0',
|
333 |
-
'aliases' =>
|
334 |
-
array (
|
335 |
-
),
|
336 |
-
'reference' => 'bafc69caeb4d49c39fd0779086c03a3738cbb389',
|
337 |
-
),
|
338 |
-
'wp-coding-standards/wpcs' =>
|
339 |
-
array (
|
340 |
-
'pretty_version' => '2.3.0',
|
341 |
-
'version' => '2.3.0.0',
|
342 |
-
'aliases' =>
|
343 |
-
array (
|
344 |
-
),
|
345 |
-
'reference' => '7da1894633f168fe244afc6de00d141f27517b62',
|
346 |
-
),
|
347 |
-
'wpsyntex/polylang' =>
|
348 |
-
array (
|
349 |
-
'pretty_version' => 'dev-master',
|
350 |
-
'version' => 'dev-master',
|
351 |
-
'aliases' =>
|
352 |
-
array (
|
353 |
-
),
|
354 |
-
'reference' => '421ec30d3ae8380eb66da357d813d2eabc1b8875',
|
355 |
-
),
|
356 |
-
'wpsyntex/wp-phpunit' =>
|
357 |
-
array (
|
358 |
-
'pretty_version' => 'dev-branch-5.7',
|
359 |
-
'version' => 'dev-branch-5.7',
|
360 |
-
'aliases' =>
|
361 |
-
array (
|
362 |
-
),
|
363 |
-
'reference' => '1928b00425f8393b80c5d603428cca7c4001b480',
|
364 |
-
),
|
365 |
-
),
|
366 |
-
);
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
public static function getInstalledPackages()
|
375 |
-
{
|
376 |
-
return array_keys(self::$installed['versions']);
|
377 |
-
}
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
public static function isInstalled($packageName)
|
388 |
-
{
|
389 |
-
return isset(self::$installed['versions'][$packageName]);
|
390 |
-
}
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
public static function satisfies(VersionParser $parser, $packageName, $constraint)
|
406 |
-
{
|
407 |
-
$constraint = $parser->parseConstraints($constraint);
|
408 |
-
$provided = $parser->parseConstraints(self::getVersionRanges($packageName));
|
409 |
-
|
410 |
-
return $provided->matches($constraint);
|
411 |
-
}
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
public static function getVersionRanges($packageName)
|
423 |
-
{
|
424 |
-
if (!isset(self::$installed['versions'][$packageName])) {
|
425 |
-
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
|
426 |
-
}
|
427 |
-
|
428 |
-
$ranges = array();
|
429 |
-
if (isset(self::$installed['versions'][$packageName]['pretty_version'])) {
|
430 |
-
$ranges[] = self::$installed['versions'][$packageName]['pretty_version'];
|
431 |
-
}
|
432 |
-
if (array_key_exists('aliases', self::$installed['versions'][$packageName])) {
|
433 |
-
$ranges = array_merge($ranges, self::$installed['versions'][$packageName]['aliases']);
|
434 |
-
}
|
435 |
-
if (array_key_exists('replaced', self::$installed['versions'][$packageName])) {
|
436 |
-
$ranges = array_merge($ranges, self::$installed['versions'][$packageName]['replaced']);
|
437 |
-
}
|
438 |
-
if (array_key_exists('provided', self::$installed['versions'][$packageName])) {
|
439 |
-
$ranges = array_merge($ranges, self::$installed['versions'][$packageName]['provided']);
|
440 |
-
}
|
441 |
-
|
442 |
-
return implode(' || ', $ranges);
|
443 |
-
}
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
public static function getVersion($packageName)
|
450 |
-
{
|
451 |
-
if (!isset(self::$installed['versions'][$packageName])) {
|
452 |
-
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
|
453 |
-
}
|
454 |
-
|
455 |
-
if (!isset(self::$installed['versions'][$packageName]['version'])) {
|
456 |
-
return null;
|
457 |
-
}
|
458 |
-
|
459 |
-
return self::$installed['versions'][$packageName]['version'];
|
460 |
-
}
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
public static function getPrettyVersion($packageName)
|
467 |
-
{
|
468 |
-
if (!isset(self::$installed['versions'][$packageName])) {
|
469 |
-
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
|
470 |
-
}
|
471 |
-
|
472 |
-
if (!isset(self::$installed['versions'][$packageName]['pretty_version'])) {
|
473 |
-
return null;
|
474 |
-
}
|
475 |
-
|
476 |
-
return self::$installed['versions'][$packageName]['pretty_version'];
|
477 |
-
}
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
public static function getReference($packageName)
|
484 |
-
{
|
485 |
-
if (!isset(self::$installed['versions'][$packageName])) {
|
486 |
-
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
|
487 |
-
}
|
488 |
-
|
489 |
-
if (!isset(self::$installed['versions'][$packageName]['reference'])) {
|
490 |
-
return null;
|
491 |
-
}
|
492 |
-
|
493 |
-
return self::$installed['versions'][$packageName]['reference'];
|
494 |
-
}
|
495 |
-
|
496 |
-
|
497 |
-
|
498 |
-
|
499 |
-
|
500 |
-
public static function getRootPackage()
|
501 |
-
{
|
502 |
-
return self::$installed['root'];
|
503 |
-
}
|
504 |
-
|
505 |
-
|
506 |
-
|
507 |
-
|
508 |
-
|
509 |
-
|
510 |
-
|
511 |
-
public static function getRawData()
|
512 |
-
{
|
513 |
-
return self::$installed;
|
514 |
-
}
|
515 |
-
|
516 |
-
|
517 |
-
|
518 |
-
|
519 |
-
|
520 |
-
|
521 |
-
|
522 |
-
|
523 |
-
|
524 |
-
|
525 |
-
|
526 |
-
|
527 |
-
|
528 |
-
|
529 |
-
|
530 |
-
|
531 |
-
|
532 |
-
|
533 |
-
|
534 |
-
public static function reload($data)
|
535 |
-
{
|
536 |
-
self::$installed = $data;
|
537 |
-
}
|
538 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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@@ -22,15 +22,15 @@ class ComposerAutoloaderInit90bd76dc7672e476bcd63c4a62ea320a
|
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
-
spl_autoload_register(array('
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
-
spl_autoload_unregister(array('
|
28 |
|
29 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
30 |
if ($useStaticLoader) {
|
31 |
require_once __DIR__ . '/autoload_static.php';
|
32 |
|
33 |
-
call_user_func(\Composer\Autoload\
|
34 |
} else {
|
35 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
36 |
foreach ($map as $namespace => $path) {
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInitb2e9581550b70057025a8e7128ef798f
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
+
spl_autoload_register(array('ComposerAutoloaderInitb2e9581550b70057025a8e7128ef798f', 'loadClassLoader'), true, true);
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
+
spl_autoload_unregister(array('ComposerAutoloaderInitb2e9581550b70057025a8e7128ef798f', 'loadClassLoader'));
|
28 |
|
29 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
30 |
if ($useStaticLoader) {
|
31 |
require_once __DIR__ . '/autoload_static.php';
|
32 |
|
33 |
+
call_user_func(\Composer\Autoload\ComposerStaticInitb2e9581550b70057025a8e7128ef798f::getInitializer($loader));
|
34 |
} else {
|
35 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
36 |
foreach ($map as $namespace => $path) {
|
vendor/composer/autoload_static.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
9 |
public static $classMap = array (
|
10 |
'PLL_AS3CF' => __DIR__ . '/../..' . '/integrations/wp-offload-media/as3cf.php',
|
@@ -126,7 +126,7 @@ class ComposerStaticInit90bd76dc7672e476bcd63c4a62ea320a
|
|
126 |
public static function getInitializer(ClassLoader $loader)
|
127 |
{
|
128 |
return \Closure::bind(function () use ($loader) {
|
129 |
-
$loader->classMap =
|
130 |
|
131 |
}, null, ClassLoader::class);
|
132 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInitb2e9581550b70057025a8e7128ef798f
|
8 |
{
|
9 |
public static $classMap = array (
|
10 |
'PLL_AS3CF' => __DIR__ . '/../..' . '/integrations/wp-offload-media/as3cf.php',
|
126 |
public static function getInitializer(ClassLoader $loader)
|
127 |
{
|
128 |
return \Closure::bind(function () use ($loader) {
|
129 |
+
$loader->classMap = ComposerStaticInitb2e9581550b70057025a8e7128ef798f::$classMap;
|
130 |
|
131 |
}, null, ClassLoader::class);
|
132 |
}
|
vendor/composer/installed.php
DELETED
@@ -1,343 +0,0 @@
|
|
1 |
-
<?php return array (
|
2 |
-
'root' =>
|
3 |
-
array (
|
4 |
-
'pretty_version' => 'dev-master',
|
5 |
-
'version' => 'dev-master',
|
6 |
-
'aliases' =>
|
7 |
-
array (
|
8 |
-
),
|
9 |
-
'reference' => '421ec30d3ae8380eb66da357d813d2eabc1b8875',
|
10 |
-
'name' => 'wpsyntex/polylang',
|
11 |
-
),
|
12 |
-
'versions' =>
|
13 |
-
array (
|
14 |
-
'automattic/vipwpcs' =>
|
15 |
-
array (
|
16 |
-
'pretty_version' => '2.2.0',
|
17 |
-
'version' => '2.2.0.0',
|
18 |
-
'aliases' =>
|
19 |
-
array (
|
20 |
-
),
|
21 |
-
'reference' => '4d0612461232b313d06321f1501c3989bd6aecf9',
|
22 |
-
),
|
23 |
-
'dealerdirect/phpcodesniffer-composer-installer' =>
|
24 |
-
array (
|
25 |
-
'pretty_version' => 'v0.7.1',
|
26 |
-
'version' => '0.7.1.0',
|
27 |
-
'aliases' =>
|
28 |
-
array (
|
29 |
-
),
|
30 |
-
'reference' => 'fe390591e0241955f22eb9ba327d137e501c771c',
|
31 |
-
),
|
32 |
-
'doctrine/instantiator' =>
|
33 |
-
array (
|
34 |
-
'pretty_version' => '1.4.0',
|
35 |
-
'version' => '1.4.0.0',
|
36 |
-
'aliases' =>
|
37 |
-
array (
|
38 |
-
),
|
39 |
-
'reference' => 'd56bf6102915de5702778fe20f2de3b2fe570b5b',
|
40 |
-
),
|
41 |
-
'myclabs/deep-copy' =>
|
42 |
-
array (
|
43 |
-
'pretty_version' => '1.10.2',
|
44 |
-
'version' => '1.10.2.0',
|
45 |
-
'aliases' =>
|
46 |
-
array (
|
47 |
-
),
|
48 |
-
'reference' => '776f831124e9c62e1a2c601ecc52e776d8bb7220',
|
49 |
-
'replaced' =>
|
50 |
-
array (
|
51 |
-
0 => '1.10.2',
|
52 |
-
),
|
53 |
-
),
|
54 |
-
'phpcompatibility/php-compatibility' =>
|
55 |
-
array (
|
56 |
-
'pretty_version' => '9.3.5',
|
57 |
-
'version' => '9.3.5.0',
|
58 |
-
'aliases' =>
|
59 |
-
array (
|
60 |
-
),
|
61 |
-
'reference' => '9fb324479acf6f39452e0655d2429cc0d3914243',
|
62 |
-
),
|
63 |
-
'phpcompatibility/phpcompatibility-paragonie' =>
|
64 |
-
array (
|
65 |
-
'pretty_version' => '1.3.0',
|
66 |
-
'version' => '1.3.0.0',
|
67 |
-
'aliases' =>
|
68 |
-
array (
|
69 |
-
),
|
70 |
-
'reference' => 'b862bc32f7e860d0b164b199bd995e690b4b191c',
|
71 |
-
),
|
72 |
-
'phpcompatibility/phpcompatibility-wp' =>
|
73 |
-
array (
|
74 |
-
'pretty_version' => '2.1.0',
|
75 |
-
'version' => '2.1.0.0',
|
76 |
-
'aliases' =>
|
77 |
-
array (
|
78 |
-
),
|
79 |
-
'reference' => '41bef18ba688af638b7310666db28e1ea9158b2f',
|
80 |
-
),
|
81 |
-
'phpdocumentor/reflection-common' =>
|
82 |
-
array (
|
83 |
-
'pretty_version' => '2.1.0',
|
84 |
-
'version' => '2.1.0.0',
|
85 |
-
'aliases' =>
|
86 |
-
array (
|
87 |
-
),
|
88 |
-
'reference' => '6568f4687e5b41b054365f9ae03fcb1ed5f2069b',
|
89 |
-
),
|
90 |
-
'phpdocumentor/reflection-docblock' =>
|
91 |
-
array (
|
92 |
-
'pretty_version' => '4.3.4',
|
93 |
-
'version' => '4.3.4.0',
|
94 |
-
'aliases' =>
|
95 |
-
array (
|
96 |
-
),
|
97 |
-
'reference' => 'da3fd972d6bafd628114f7e7e036f45944b62e9c',
|
98 |
-
),
|
99 |
-
'phpdocumentor/type-resolver' =>
|
100 |
-
array (
|
101 |
-
'pretty_version' => '1.0.1',
|
102 |
-
'version' => '1.0.1.0',
|
103 |
-
'aliases' =>
|
104 |
-
array (
|
105 |
-
),
|
106 |
-
'reference' => '2e32a6d48972b2c1976ed5d8967145b6cec4a4a9',
|
107 |
-
),
|
108 |
-
'phpspec/prophecy' =>
|
109 |
-
array (
|
110 |
-
'pretty_version' => 'v1.10.3',
|
111 |
-
'version' => '1.10.3.0',
|
112 |
-
'aliases' =>
|
113 |
-
array (
|
114 |
-
),
|
115 |
-
'reference' => '451c3cd1418cf640de218914901e51b064abb093',
|
116 |
-
),
|
117 |
-
'phpunit/php-code-coverage' =>
|
118 |
-
array (
|
119 |
-
'pretty_version' => '4.0.8',
|
120 |
-
'version' => '4.0.8.0',
|
121 |
-
'aliases' =>
|
122 |
-
array (
|
123 |
-
),
|
124 |
-
'reference' => 'ef7b2f56815df854e66ceaee8ebe9393ae36a40d',
|
125 |
-
),
|
126 |
-
'phpunit/php-file-iterator' =>
|
127 |
-
array (
|
128 |
-
'pretty_version' => '1.4.5',
|
129 |
-
'version' => '1.4.5.0',
|
130 |
-
'aliases' =>
|
131 |
-
array (
|
132 |
-
),
|
133 |
-
'reference' => '730b01bc3e867237eaac355e06a36b85dd93a8b4',
|
134 |
-
),
|
135 |
-
'phpunit/php-text-template' =>
|
136 |
-
array (
|
137 |
-
'pretty_version' => '1.2.1',
|
138 |
-
'version' => '1.2.1.0',
|
139 |
-
'aliases' =>
|
140 |
-
array (
|
141 |
-
),
|
142 |
-
'reference' => '31f8b717e51d9a2afca6c9f046f5d69fc27c8686',
|
143 |
-
),
|
144 |
-
'phpunit/php-timer' =>
|
145 |
-
array (
|
146 |
-
'pretty_version' => '1.0.9',
|
147 |
-
'version' => '1.0.9.0',
|
148 |
-
'aliases' =>
|
149 |
-
array (
|
150 |
-
),
|
151 |
-
'reference' => '3dcf38ca72b158baf0bc245e9184d3fdffa9c46f',
|
152 |
-
),
|
153 |
-
'phpunit/php-token-stream' =>
|
154 |
-
array (
|
155 |
-
'pretty_version' => '2.0.2',
|
156 |
-
'version' => '2.0.2.0',
|
157 |
-
'aliases' =>
|
158 |
-
array (
|
159 |
-
),
|
160 |
-
'reference' => '791198a2c6254db10131eecfe8c06670700904db',
|
161 |
-
),
|
162 |
-
'phpunit/phpunit' =>
|
163 |
-
array (
|
164 |
-
'pretty_version' => '5.7.27',
|
165 |
-
'version' => '5.7.27.0',
|
166 |
-
'aliases' =>
|
167 |
-
array (
|
168 |
-
),
|
169 |
-
'reference' => 'b7803aeca3ccb99ad0a506fa80b64cd6a56bbc0c',
|
170 |
-
),
|
171 |
-
'phpunit/phpunit-mock-objects' =>
|
172 |
-
array (
|
173 |
-
'pretty_version' => '3.4.4',
|
174 |
-
'version' => '3.4.4.0',
|
175 |
-
'aliases' =>
|
176 |
-
array (
|
177 |
-
),
|
178 |
-
'reference' => 'a23b761686d50a560cc56233b9ecf49597cc9118',
|
179 |
-
),
|
180 |
-
'sebastian/code-unit-reverse-lookup' =>
|
181 |
-
array (
|
182 |
-
'pretty_version' => '1.0.2',
|
183 |
-
'version' => '1.0.2.0',
|
184 |
-
'aliases' =>
|
185 |
-
array (
|
186 |
-
),
|
187 |
-
'reference' => '1de8cd5c010cb153fcd68b8d0f64606f523f7619',
|
188 |
-
),
|
189 |
-
'sebastian/comparator' =>
|
190 |
-
array (
|
191 |
-
'pretty_version' => '1.2.4',
|
192 |
-
'version' => '1.2.4.0',
|
193 |
-
'aliases' =>
|
194 |
-
array (
|
195 |
-
),
|
196 |
-
'reference' => '2b7424b55f5047b47ac6e5ccb20b2aea4011d9be',
|
197 |
-
),
|
198 |
-
'sebastian/diff' =>
|
199 |
-
array (
|
200 |
-
'pretty_version' => '1.4.3',
|
201 |
-
'version' => '1.4.3.0',
|
202 |
-
'aliases' =>
|
203 |
-
array (
|
204 |
-
),
|
205 |
-
'reference' => '7f066a26a962dbe58ddea9f72a4e82874a3975a4',
|
206 |
-
),
|
207 |
-
'sebastian/environment' =>
|
208 |
-
array (
|
209 |
-
'pretty_version' => '2.0.0',
|
210 |
-
'version' => '2.0.0.0',
|
211 |
-
'aliases' =>
|
212 |
-
array (
|
213 |
-
),
|
214 |
-
'reference' => '5795ffe5dc5b02460c3e34222fee8cbe245d8fac',
|
215 |
-
),
|
216 |
-
'sebastian/exporter' =>
|
217 |
-
array (
|
218 |
-
'pretty_version' => '2.0.0',
|
219 |
-
'version' => '2.0.0.0',
|
220 |
-
'aliases' =>
|
221 |
-
array (
|
222 |
-
),
|
223 |
-
'reference' => 'ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4',
|
224 |
-
),
|
225 |
-
'sebastian/global-state' =>
|
226 |
-
array (
|
227 |
-
'pretty_version' => '1.1.1',
|
228 |
-
'version' => '1.1.1.0',
|
229 |
-
'aliases' =>
|
230 |
-
array (
|
231 |
-
),
|
232 |
-
'reference' => 'bc37d50fea7d017d3d340f230811c9f1d7280af4',
|
233 |
-
),
|
234 |
-
'sebastian/object-enumerator' =>
|
235 |
-
array (
|
236 |
-
'pretty_version' => '2.0.1',
|
237 |
-
'version' => '2.0.1.0',
|
238 |
-
'aliases' =>
|
239 |
-
array (
|
240 |
-
),
|
241 |
-
'reference' => '1311872ac850040a79c3c058bea3e22d0f09cbb7',
|
242 |
-
),
|
243 |
-
'sebastian/recursion-context' =>
|
244 |
-
array (
|
245 |
-
'pretty_version' => '2.0.0',
|
246 |
-
'version' => '2.0.0.0',
|
247 |
-
'aliases' =>
|
248 |
-
array (
|
249 |
-
),
|
250 |
-
'reference' => '2c3ba150cbec723aa057506e73a8d33bdb286c9a',
|
251 |
-
),
|
252 |
-
'sebastian/resource-operations' =>
|
253 |
-
array (
|
254 |
-
'pretty_version' => '1.0.0',
|
255 |
-
'version' => '1.0.0.0',
|
256 |
-
'aliases' =>
|
257 |
-
array (
|
258 |
-
),
|
259 |
-
'reference' => 'ce990bb21759f94aeafd30209e8cfcdfa8bc3f52',
|
260 |
-
),
|
261 |
-
'sebastian/version' =>
|
262 |
-
array (
|
263 |
-
'pretty_version' => '2.0.1',
|
264 |
-
'version' => '2.0.1.0',
|
265 |
-
'aliases' =>
|
266 |
-
array (
|
267 |
-
),
|
268 |
-
'reference' => '99732be0ddb3361e16ad77b68ba41efc8e979019',
|
269 |
-
),
|
270 |
-
'sirbrillig/phpcs-variable-analysis' =>
|
271 |
-
array (
|
272 |
-
'pretty_version' => 'v2.10.1',
|
273 |
-
'version' => '2.10.1.0',
|
274 |
-
'aliases' =>
|
275 |
-
array (
|
276 |
-
),
|
277 |
-
'reference' => 'c6716a98fe7bee25d31306e14fb62c3ffa16d70a',
|
278 |
-
),
|
279 |
-
'squizlabs/php_codesniffer' =>
|
280 |
-
array (
|
281 |
-
'pretty_version' => '3.5.8',
|
282 |
-
'version' => '3.5.8.0',
|
283 |
-
'aliases' =>
|
284 |
-
array (
|
285 |
-
),
|
286 |
-
'reference' => '9d583721a7157ee997f235f327de038e7ea6dac4',
|
287 |
-
),
|
288 |
-
'symfony/polyfill-ctype' =>
|
289 |
-
array (
|
290 |
-
'pretty_version' => 'v1.20.0',
|
291 |
-
'version' => '1.20.0.0',
|
292 |
-
'aliases' =>
|
293 |
-
array (
|
294 |
-
),
|
295 |
-
'reference' => 'f4ba089a5b6366e453971d3aad5fe8e897b37f41',
|
296 |
-
),
|
297 |
-
'symfony/yaml' =>
|
298 |
-
array (
|
299 |
-
'pretty_version' => 'v4.4.17',
|
300 |
-
'version' => '4.4.17.0',
|
301 |
-
'aliases' =>
|
302 |
-
array (
|
303 |
-
),
|
304 |
-
'reference' => '7531361cf38e4816821b4a12a42542b3c6143ad1',
|
305 |
-
),
|
306 |
-
'webmozart/assert' =>
|
307 |
-
array (
|
308 |
-
'pretty_version' => '1.9.1',
|
309 |
-
'version' => '1.9.1.0',
|
310 |
-
'aliases' =>
|
311 |
-
array (
|
312 |
-
),
|
313 |
-
'reference' => 'bafc69caeb4d49c39fd0779086c03a3738cbb389',
|
314 |
-
),
|
315 |
-
'wp-coding-standards/wpcs' =>
|
316 |
-
array (
|
317 |
-
'pretty_version' => '2.3.0',
|
318 |
-
'version' => '2.3.0.0',
|
319 |
-
'aliases' =>
|
320 |
-
array (
|
321 |
-
),
|
322 |
-
'reference' => '7da1894633f168fe244afc6de00d141f27517b62',
|
323 |
-
),
|
324 |
-
'wpsyntex/polylang' =>
|
325 |
-
array (
|
326 |
-
'pretty_version' => 'dev-master',
|
327 |
-
'version' => 'dev-master',
|
328 |
-
'aliases' =>
|
329 |
-
array (
|
330 |
-
),
|
331 |
-
'reference' => '421ec30d3ae8380eb66da357d813d2eabc1b8875',
|
332 |
-
),
|
333 |
-
'wpsyntex/wp-phpunit' =>
|
334 |
-
array (
|
335 |
-
'pretty_version' => 'dev-branch-5.7',
|
336 |
-
'version' => 'dev-branch-5.7',
|
337 |
-
'aliases' =>
|
338 |
-
array (
|
339 |
-
),
|
340 |
-
'reference' => '1928b00425f8393b80c5d603428cca7c4001b480',
|
341 |
-
),
|
342 |
-
),
|
343 |
-
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/platform_check.php
DELETED
@@ -1,26 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
// platform_check.php @generated by Composer
|
4 |
-
|
5 |
-
$issues = array();
|
6 |
-
|
7 |
-
if (!(PHP_VERSION_ID >= 50600)) {
|
8 |
-
$issues[] = 'Your Composer dependencies require a PHP version ">= 5.6.0". You are running ' . PHP_VERSION . '.';
|
9 |
-
}
|
10 |
-
|
11 |
-
if ($issues) {
|
12 |
-
if (!headers_sent()) {
|
13 |
-
header('HTTP/1.1 500 Internal Server Error');
|
14 |
-
}
|
15 |
-
if (!ini_get('display_errors')) {
|
16 |
-
if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
|
17 |
-
fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL);
|
18 |
-
} elseif (!headers_sent()) {
|
19 |
-
echo 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)) . PHP_EOL.PHP_EOL;
|
20 |
-
}
|
21 |
-
}
|
22 |
-
trigger_error(
|
23 |
-
'Composer detected issues in your platform: ' . implode(' ', $issues),
|
24 |
-
E_USER_ERROR
|
25 |
-
);
|
26 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|