Version Description
(2020-04-27) =
- Pro: Re-allow to modify the capability for strings translations
- Pro: Fix redirect for posts having the same slug as a media
- Pro: Fix PHP notice with ACF flexible content
- Pro: Fix a fatal error with InfiniteWP
- Update plugin updater to 1.7
- Fix font in setup wizard
Download this release
Release Info
Developer | Chouby |
Plugin | Polylang |
Version | 2.7.2 |
Comparing to | |
See all releases |
Code changes from version 2.7.1 to 2.7.2
- admin/admin.php +4 -1
- changelog.txt +111 -0
- install/plugin-updater.php +46 -3
- modules/wizard/css/wizard.css +1 -1
- modules/wizard/css/wizard.min.css +1 -1
- polylang.php +13 -9
- readme.txt +10 -113
admin/admin.php
CHANGED
@@ -190,13 +190,16 @@ class PLL_Admin extends PLL_Admin_Base {
|
|
190 |
/**
|
191 |
* Load the post synchronization object, depending on the editor in use.
|
192 |
*
|
|
|
|
|
|
|
193 |
* @since 2.6
|
194 |
*
|
195 |
* @param bool $is_block_editor Whether to use the block editor or not.
|
196 |
* @return bool
|
197 |
*/
|
198 |
public function _maybe_load_sync_post( $is_block_editor ) {
|
199 |
-
if ( ! isset( $this->sync_post )
|
200 |
if ( class_exists( 'PLL_Sync_Post_REST' ) && pll_use_block_editor_plugin() && $is_block_editor ) {
|
201 |
$this->sync_post = new PLL_Sync_Post_REST( $this );
|
202 |
} elseif ( class_exists( 'PLL_Sync_Post' ) ) {
|
190 |
/**
|
191 |
* Load the post synchronization object, depending on the editor in use.
|
192 |
*
|
193 |
+
* We must make sure to instantiate the class only once, as the function may be called from a filter,
|
194 |
+
* and that the synchronization model has been instantiated (due to InfiniteWP messing the actions wp_loaded and admin_init).
|
195 |
+
*
|
196 |
* @since 2.6
|
197 |
*
|
198 |
* @param bool $is_block_editor Whether to use the block editor or not.
|
199 |
* @return bool
|
200 |
*/
|
201 |
public function _maybe_load_sync_post( $is_block_editor ) {
|
202 |
+
if ( ! isset( $this->sync_post ) && isset( $this->sync_post_model ) ) {
|
203 |
if ( class_exists( 'PLL_Sync_Post_REST' ) && pll_use_block_editor_plugin() && $is_block_editor ) {
|
204 |
$this->sync_post = new PLL_Sync_Post_REST( $this );
|
205 |
} elseif ( class_exists( 'PLL_Sync_Post' ) ) {
|
changelog.txt
CHANGED
@@ -2,6 +2,117 @@
|
|
2 |
|
3 |
This file contains only old changelog. See readme.txt for newer versions.
|
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
|
6 |
= 2.5.4 (2019-05-28) =
|
7 |
|
2 |
|
3 |
This file contains only old changelog. See readme.txt for newer versions.
|
4 |
|
5 |
+
= 2.6.10 (2020-02-19) =
|
6 |
+
|
7 |
+
* Pro: Fix sticky posts not filtered in REST API (introduced in 2.6.9)
|
8 |
+
* Fix wrong language detected if a child page uses the slug of another language
|
9 |
+
* Fix a PHP notice with PHP 7.4. #438
|
10 |
+
* Fix lang-item-first class in language switcher when the current language is hidden. #445
|
11 |
+
* Fix partially a conflict with Fusion Builder (the other part of the conflict being in Fusion Builder).
|
12 |
+
|
13 |
+
= 2.6.9 (2020-01-15) =
|
14 |
+
|
15 |
+
* Pro: Use 'parse_query' rather than 'rest_{$type}_query' to filter REST requests.
|
16 |
+
* Pro: Filter the comments REST endpoint.
|
17 |
+
* Pro: Fix duplication of terms without language.
|
18 |
+
* Pro: Fix fatal error when Admin Columns is activated and no language is defined yet.
|
19 |
+
* Fix shortlink when using one subdomain or domain per language
|
20 |
+
|
21 |
+
= 2.6.8 (2019-12-11) =
|
22 |
+
|
23 |
+
* Pro: Fix conflict with JetThemesCore from Crocoblock
|
24 |
+
* Fix: better detection of REST requests when using plain permalinks
|
25 |
+
* Fix usage of deprecated action wpmu_new_blog in WP 5.1+
|
26 |
+
* Fix PHP notices with PHP 7.4
|
27 |
+
|
28 |
+
= 2.6.7 (2019-11-14) =
|
29 |
+
|
30 |
+
* Require PHP 5.6
|
31 |
+
* Fix PHP warning in WP 5.3
|
32 |
+
|
33 |
+
= 2.6.6 (2019-11-12) =
|
34 |
+
|
35 |
+
* Pro: Fix wrong ajax url when using one domain per language
|
36 |
+
* Pro: Fix conflict with user switching plugin when using multiple domains
|
37 |
+
* Pro: Fix latest posts block in WP 5.3
|
38 |
+
* Fix database error when attempting to sync an untranslated page parent
|
39 |
+
* Fix a conflict with the theme Neptune by Osetin
|
40 |
+
|
41 |
+
= 2.6.5 (2019-10-09) =
|
42 |
+
|
43 |
+
* Pro: Require ACF 5.7.11+ to activate the compatibility to avoid fatal errors with older versions
|
44 |
+
* Pro: Avoid translating empty front slug (could cause a wrong redirect to /wp-admin)
|
45 |
+
* Pro: Fix filter wp_unique_term_slug not always correctly applied.
|
46 |
+
* Pro: Fix a conflict with Divi causing post synchronization buttons to be displayed multiple times
|
47 |
+
* Avoid notice in WP CLI context
|
48 |
+
|
49 |
+
= 2.6.4 (2019-08-27) =
|
50 |
+
|
51 |
+
* Pro: Fix a conflict preventing meta synchronization when ACF is active
|
52 |
+
* Pro: Fix post metas not correctly copied when translating a Beaver Builder page
|
53 |
+
* Pro: Fix a fatal error when posts made with Elementor are synchronized
|
54 |
+
* Pro: Fix Prewiew button not working correctly when using one domain per language
|
55 |
+
* Pro: Fix post synchronization not available for WP CRON and WP CLI
|
56 |
+
* Fix future posts not available in the autocomplete input field of the languages metabox
|
57 |
+
* Fix translations files not loaded on REST requests
|
58 |
+
* Fix deleted term parent not synchronized
|
59 |
+
|
60 |
+
= 2.6.3 (2019-08-06) =
|
61 |
+
|
62 |
+
* Pro: Fix fatal error when updating an ACF field from frontend
|
63 |
+
* Pro: Add action 'pll_post_synchronized'
|
64 |
+
* Allow to get the current or default language object using the API. Props Jory Hogeveen. #359
|
65 |
+
* Fix empty span in languages switcher widget when showing only flags
|
66 |
+
* Fix wpml_register_single_string when updating the original string
|
67 |
+
|
68 |
+
= 2.6.2 (2019-07-16) =
|
69 |
+
|
70 |
+
* Pro: Fix slow admin in case the translations update server can't be reached
|
71 |
+
* Pro: Fix value not correctly translated for ACF clone fields in repeater
|
72 |
+
* Fix strings translations mixed when registered via the WPML compatibility. #381
|
73 |
+
|
74 |
+
= 2.6.1 (2019-07-03) =
|
75 |
+
|
76 |
+
* Pro: Fix Yoast SEO sitemap for inactive languages when using subdomains or multiple domains
|
77 |
+
* Fix fatal error in combination with Yoast SEO and Social Warfare
|
78 |
+
* Fix post type archive url in Yoast SEO sitemap
|
79 |
+
|
80 |
+
= 2.6 (2019-06-26) =
|
81 |
+
|
82 |
+
* Pro: Remove all languages files. All translations are now maintained on TranslationsPress
|
83 |
+
* Pro: Move the languages metabox to a block editor plugin
|
84 |
+
* Pro: Better management of user capabilities when synchronizing posts
|
85 |
+
* Pro: Separate REST requests from the frontend
|
86 |
+
* Pro: Copy the post slug when duplicating a post
|
87 |
+
* Pro: Duplicate ACF term metas when terms are automatically duplicated when creating a new post translation
|
88 |
+
* Pro: Fix hierarchy lost when duplicating terms
|
89 |
+
* Pro: Fix page shared slugs with special characters
|
90 |
+
* Pro: Fix synchronized posts sharing their slug when the language is set from the content
|
91 |
+
* Pro: Fix PHP warning with ACF Pro 5.8.1
|
92 |
+
* Pro: Fix ACF clone fields not translated in repeaters
|
93 |
+
* Better management of user capablities when synchronizing taxonomies terms and custom fields
|
94 |
+
* Extend string translations search to translated strings #207
|
95 |
+
* Update plugin updater to 1.6.18
|
96 |
+
* Honor the filter `pll_flag` when performing the flag validation when creating a new language
|
97 |
+
* Modify the title and the label for the language switcher menu items #307
|
98 |
+
* Add support for international domain names
|
99 |
+
* Add a title to the link icon used to add a translation #325
|
100 |
+
* Add a notice when a static front page is not translated in a language
|
101 |
+
* Add support for custom term fields in wpml-config.xml
|
102 |
+
* Add filter `pll_admin_languages_filter` for the list of items the admin bar language filter
|
103 |
+
* Add compatibility with WP Offload Media Lite. Props Daniel Berkman
|
104 |
+
* Yoast SEO: Add post type archive url in all languages to the sitemap
|
105 |
+
* Fix www. not redirected to not www. for the home page in multiple domains #311
|
106 |
+
* Fix cropped images not being synchronized
|
107 |
+
* Fix auto added page to menus when the page is created with the block editor
|
108 |
+
* Fix embed of translated static front page #318
|
109 |
+
* Fix a possible infinite redirect if the static front page is not translated
|
110 |
+
* Fix incorrect behavior of action 'wpml_register_single_string' when updating the string source
|
111 |
+
* Fix fatal error with Jetpack when no languages has been defined yet #330
|
112 |
+
* Fix a conflict with Laravel Valet. Props @chesio. #250
|
113 |
+
* Fix a conflict with Thesis.
|
114 |
+
* Fix a conflict with Pods in the block editor. Props Jory Hogeveen. #369
|
115 |
+
* Fix fatal error with Twenty Fourteen introduced in version 2.5.4. #374
|
116 |
|
117 |
= 2.5.4 (2019-05-28) =
|
118 |
|
install/plugin-updater.php
CHANGED
@@ -10,7 +10,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
10 |
* Modified version with 'polylang' text domain and comments for translators
|
11 |
*
|
12 |
* @author Easy Digital Downloads
|
13 |
-
* @version 1.
|
14 |
*/
|
15 |
class PLL_Plugin_Updater {
|
16 |
|
@@ -120,6 +120,7 @@ class PLL_Plugin_Updater {
|
|
120 |
|
121 |
if ( false !== $version_info && is_object( $version_info ) && isset( $version_info->new_version ) ) {
|
122 |
|
|
|
123 |
if ( version_compare( $this->version, $version_info->new_version, '<' ) ) {
|
124 |
|
125 |
$_transient_data->response[ $this->name ] = $version_info;
|
@@ -127,11 +128,25 @@ class PLL_Plugin_Updater {
|
|
127 |
// Make sure the plugin property is set to the plugin's name/location. See issue 1463 on Software Licensing's GitHub repo.
|
128 |
$_transient_data->response[ $this->name ]->plugin = $this->name;
|
129 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
130 |
}
|
131 |
|
132 |
$_transient_data->last_checked = time();
|
133 |
$_transient_data->checked[ $this->name ] = $this->version;
|
134 |
|
|
|
|
|
|
|
135 |
}
|
136 |
|
137 |
return $_transient_data;
|
@@ -188,6 +203,14 @@ class PLL_Plugin_Updater {
|
|
188 |
$version_info->icons = $this->convert_object_to_array( $version_info->icons );
|
189 |
}
|
190 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
191 |
$this->set_version_info_cache( $version_info );
|
192 |
}
|
193 |
|
@@ -195,14 +218,29 @@ class PLL_Plugin_Updater {
|
|
195 |
return;
|
196 |
}
|
197 |
|
|
|
198 |
if ( version_compare( $this->version, $version_info->new_version, '<' ) ) {
|
199 |
|
200 |
$update_cache->response[ $this->name ] = $version_info;
|
201 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
202 |
}
|
203 |
|
204 |
-
$update_cache->last_checked
|
205 |
$update_cache->checked[ $this->name ] = $this->version;
|
|
|
|
|
|
|
206 |
|
207 |
set_site_transient( 'update_plugins', $update_cache );
|
208 |
|
@@ -324,6 +362,11 @@ class PLL_Plugin_Updater {
|
|
324 |
$_data->icons = $this->convert_object_to_array( $_data->icons );
|
325 |
}
|
326 |
|
|
|
|
|
|
|
|
|
|
|
327 |
if( ! isset( $_data->plugin ) ) {
|
328 |
$_data->plugin = $this->name;
|
329 |
}
|
@@ -346,7 +389,7 @@ class PLL_Plugin_Updater {
|
|
346 |
private function convert_object_to_array( $data ) {
|
347 |
$new_data = array();
|
348 |
foreach ( $data as $key => $value ) {
|
349 |
-
$new_data[ $key ] = $value;
|
350 |
}
|
351 |
|
352 |
return $new_data;
|
10 |
* Modified version with 'polylang' text domain and comments for translators
|
11 |
*
|
12 |
* @author Easy Digital Downloads
|
13 |
+
* @version 1.7
|
14 |
*/
|
15 |
class PLL_Plugin_Updater {
|
16 |
|
120 |
|
121 |
if ( false !== $version_info && is_object( $version_info ) && isset( $version_info->new_version ) ) {
|
122 |
|
123 |
+
$no_update = false;
|
124 |
if ( version_compare( $this->version, $version_info->new_version, '<' ) ) {
|
125 |
|
126 |
$_transient_data->response[ $this->name ] = $version_info;
|
128 |
// Make sure the plugin property is set to the plugin's name/location. See issue 1463 on Software Licensing's GitHub repo.
|
129 |
$_transient_data->response[ $this->name ]->plugin = $this->name;
|
130 |
|
131 |
+
} else {
|
132 |
+
$no_update = new stdClass();
|
133 |
+
$no_update->id = '';
|
134 |
+
$no_update->slug = $this->slug;
|
135 |
+
$no_update->plugin = $this->name;
|
136 |
+
$no_update->new_version = $version_info->new_version;
|
137 |
+
$no_update->url = $version_info->homepage;
|
138 |
+
$no_update->package = isset( $version_info->package ) ? $version_info->package : ''; #modified#
|
139 |
+
$no_update->icons = $version_info->icons;
|
140 |
+
$no_update->banners = $version_info->banners;
|
141 |
+
$no_update->banners_rtl = array();
|
142 |
}
|
143 |
|
144 |
$_transient_data->last_checked = time();
|
145 |
$_transient_data->checked[ $this->name ] = $this->version;
|
146 |
|
147 |
+
if ( $no_update ) {
|
148 |
+
$_transient_data->no_update[ $this->name ] = $no_update;
|
149 |
+
}
|
150 |
}
|
151 |
|
152 |
return $_transient_data;
|
203 |
$version_info->icons = $this->convert_object_to_array( $version_info->icons );
|
204 |
}
|
205 |
|
206 |
+
if ( isset( $version_info->icons ) && ! is_array( $version_info->icons ) ) {
|
207 |
+
$version_info->icons = $this->convert_object_to_array( $version_info->icons );
|
208 |
+
}
|
209 |
+
|
210 |
+
if ( isset( $version_info->contributors ) && ! is_array( $version_info->contributors ) ) {
|
211 |
+
$version_info->contributors = $this->convert_object_to_array( $version_info->contributors );
|
212 |
+
}
|
213 |
+
|
214 |
$this->set_version_info_cache( $version_info );
|
215 |
}
|
216 |
|
218 |
return;
|
219 |
}
|
220 |
|
221 |
+
$no_update = false;
|
222 |
if ( version_compare( $this->version, $version_info->new_version, '<' ) ) {
|
223 |
|
224 |
$update_cache->response[ $this->name ] = $version_info;
|
225 |
|
226 |
+
} else {
|
227 |
+
$no_update = new stdClass();
|
228 |
+
$no_update->id = '';
|
229 |
+
$no_update->slug = $this->slug;
|
230 |
+
$no_update->plugin = $this->name;
|
231 |
+
$no_update->new_version = $version_info->new_version;
|
232 |
+
$no_update->url = $version_info->homepage;
|
233 |
+
$no_update->package = isset( $version_info->package ) ? $version_info->package : ''; #modified#
|
234 |
+
$no_update->icons = $version_info->icons;
|
235 |
+
$no_update->banners = $version_info->banners;
|
236 |
+
$no_update->banners_rtl = array();
|
237 |
}
|
238 |
|
239 |
+
$update_cache->last_checked = time();
|
240 |
$update_cache->checked[ $this->name ] = $this->version;
|
241 |
+
if ( $no_update ) {
|
242 |
+
$update_cache->no_update[ $this->name ] = $no_update;
|
243 |
+
}
|
244 |
|
245 |
set_site_transient( 'update_plugins', $update_cache );
|
246 |
|
362 |
$_data->icons = $this->convert_object_to_array( $_data->icons );
|
363 |
}
|
364 |
|
365 |
+
// Convert contributors into an associative array, since we're getting an object, but Core expects an array.
|
366 |
+
if ( isset( $_data->contributors ) && ! is_array( $_data->contributors ) ) {
|
367 |
+
$_data->contributors = $this->convert_object_to_array( $_data->contributors );
|
368 |
+
}
|
369 |
+
|
370 |
if( ! isset( $_data->plugin ) ) {
|
371 |
$_data->plugin = $this->name;
|
372 |
}
|
389 |
private function convert_object_to_array( $data ) {
|
390 |
$new_data = array();
|
391 |
foreach ( $data as $key => $value ) {
|
392 |
+
$new_data[ $key ] = is_object( $value ) ? $this->convert_object_to_array( $value ) : $value;
|
393 |
}
|
394 |
|
395 |
return $new_data;
|
modules/wizard/css/wizard.css
CHANGED
@@ -11,7 +11,7 @@ body {
|
|
11 |
margin: 0 0 24px;
|
12 |
padding: 0;
|
13 |
text-align: center;
|
14 |
-
font-family:
|
15 |
font-size: 64px;
|
16 |
text-transform: uppercase;
|
17 |
color: #000;
|
11 |
margin: 0 0 24px;
|
12 |
padding: 0;
|
13 |
text-align: center;
|
14 |
+
font-family: sans-serif;
|
15 |
font-size: 64px;
|
16 |
text-transform: uppercase;
|
17 |
color: #000;
|
modules/wizard/css/wizard.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
@charset "UTF-8";body{margin:65px auto 24px;box-shadow:none;background:#f1f1f1;padding:0}#pll-logo{border:0;margin:0 0 24px;padding:0;text-align:center;font-family:Verdana;font-size:64px;text-transform:uppercase;color:#000;line-height:normal}#pll-logo a{display:flex;justify-content:center;color:#000;text-decoration:none}#pll-logo img{max-width:100%;margin-right:16px}.rtl #pll-logo img{margin-right:0;margin-left:16px}.pll-wizard-footer{text-align:center}.pll-wizard .select2-container{text-align:left;width:auto}.pll-wizard .hidden{display:none}.pll-wizard-content{box-shadow:0 1px 3px rgba(0,0,0,.13);padding:2em;margin:0 0 20px;background:#fff;overflow:hidden;zoom:1;text-align:left}.rtl .pll-wizard-content{text-align:right}.pll-wizard-content h1,.pll-wizard-content h2,.pll-wizard-content h3,.pll-wizard-content table{margin:0 0 20px;border:0;padding:0;color:#666;clear:none;font-weight:500}.pll-wizard-content p{margin:20px 0;font-size:1em;line-height:1.75em;color:#666}.pll-wizard-content table{font-size:1em;line-height:1.75em;color:#666;width:100%;margin-top:20px}.pll-wizard-content table td span{display:inline-block}.pll-wizard-content table caption{caption-side:bottom;font-style:italic;text-align:right}.rtl .pll-wizard-content table caption{text-align:left}.pll-wizard-content table caption .icon-default-lang{font-style:normal}.pll-wizard-content a{color:#a03f3f}.pll-wizard-content a:focus,.pll-wizard-content a:hover,.pll-wizard-footer-links:hover{color:#dd5454}.pll-wizard-content .pll-wizard-next-steps{overflow:hidden;margin:0 0 24px;padding-bottom:2px}.pll-wizard-content .pll-wizard-next-steps h2{margin-bottom:12px}.pll-wizard-content .pll-wizard-next-steps .pll-wizard-next-steps-first{float:left;width:50%;box-sizing:border-box}.pll-wizard-content .pll-wizard-next-steps .pll-wizard-next-steps-last{float:right;width:50%;box-sizing:border-box}.pll-wizard-content .pll-wizard-next-steps ul{padding:0 2em 0 0;list-style:none outside;margin:0}.pll-wizard-content .pll-wizard-next-steps ul li a{display:block;padding:0 0 .75em}.pll-wizard-content .pll-wizard-next-steps ul li a::before{color:#82878c;font:normal 20px/1 dashicons;speak:none;display:inline-block;padding:0 10px 0 0;top:1px;position:relative;text-decoration:none!important;vertical-align:top}.pll-wizard-steps{padding:0 0 24px;margin:0;list-style:none outside;overflow:hidden;color:#ccc;width:100%;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex}.pll-wizard-steps li{width:100%;float:left;padding:0 0 .8em;margin:0;text-align:center;position:relative;border-bottom:4px solid #ccc;line-height:1.4em}.pll-wizard-steps li a{color:#a03f3f;text-decoration:none;padding:1.5em;margin:-1.5em;position:relative;z-index:1}.pll-wizard-steps li a:focus,.pll-wizard-steps li a:hover{color:#dd5454;text-decoration:underline}.pll-wizard-steps li::before{content:"";border:4px solid #ccc;border-radius:100%;width:4px;height:4px;position:absolute;bottom:0;left:50%;margin-left:-6px;margin-bottom:-8px;background:#fff}.pll-wizard-steps li.active{border-color:#a03f3f;color:#a03f3f;font-weight:700}.pll-wizard-steps li.active::before{border-color:#a03f3f}.pll-wizard-steps li.done{border-color:#a03f3f;color:#a03f3f}.pll-wizard-steps li.done::before{border-color:#a03f3f;background:#a03f3f}.pll-wizard .pll-wizard-actions{overflow:hidden;margin:20px 0 0;position:relative}.pll-wizard .pll-wizard-actions .button{font-size:16px;font-weight:300;padding:1em 2em;line-height:1em;margin-right:.5em;margin-bottom:2px;margin-top:10px;height:auto;border-radius:4px;box-shadow:none;min-width:auto;border-color:#a03f3f;color:#a03f3f}.pll-wizard .pll-wizard-content .button{border-color:#a03f3f;color:#a03f3f}.pll-wizard .pll-wizard-actions .button-primary,.pll-wizard .pll-wizard-content .button-primary{background-color:#a03f3f;border-color:#a03f3f;color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 #a03f3f;text-shadow:0 -1px 1px #a03f3f,1px 0 1px #a03f3f,0 1px 1px #a03f3f,-1px 0 1px #a03f3f;margin:0;opacity:1}.pll-wizard .pll-wizard-content .button-small .dashicons{font-size:15px;height:auto;vertical-align:middle}.pll-wizard .button-primary:active,.pll-wizard .button-primary:focus,.pll-wizard .button-primary:hover,.pll-wizard input[type=checkbox]:focus+label.button-primary{background:#dd5454;border-color:#dd5454;box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 #dd5454}.pll-wizard .pll-wizard-actions .button-primary.disabled,.pll-wizard .pll-wizard-actions .button-primary:disabled,.pll-wizard .pll-wizard-actions .button-primary[disabled]{cursor:wait;background-color:#bb5454!important;border-color:#bb5454!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 #bb5454!important;text-shadow:0 -1px 1px #bb5454,1px 0 1px #bb5454,0 1px 1px #bb5454,-1px 0 1px #bb5454!important;color:#ffa3a3!important}.pll-wizard-content p:last-child{margin-bottom:0}.pll-wizard-footer-links{font-size:.85em;color:#7b7b7b;margin:1.18em auto;display:inline-block;text-align:center}.pll-wizard-services{border:1px solid #eee;padding:0;margin:0 0 1em;list-style:none outside;border-radius:4px;overflow:hidden}.pll-wizard-services p{margin:0 0 1em 0;padding:0;font-size:1em;line-height:1.5em}.pll-wizard-service-item{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;padding:0;border-bottom:1px solid #eee;color:#666;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.media-step .pll-wizard-service-item{border:0}.media-step .pll-wizard-service-item:last-child{display:block}.media-step .pll-wizard-service-item .pll-wizard-service-enable{padding-bottom:0}.pll-wizard-service-item:last-child{border-bottom:0}.pll-wizard-service-item .pll-wizard-service-name{-webkit-flex-basis:0;flex-basis:0;min-width:160px;text-align:center;font-weight:700;padding:2em 0;-webkit-align-self:stretch;align-self:stretch;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:baseline;-webkit-align-items:baseline;align-items:baseline}.pll-wizard-service-item .pll-wizard-service-name img{max-width:75px}.pll-wizard-service-item .pll-wizard-service-description{-webkit-box-flex:1;-webkit-flex-grow:1;flex-grow:1;padding:20px}.pll-wizard-service-item .pll-wizard-service-example{padding:0 20px 20px}.pll-wizard-service-item .pll-wizard-service-example p{text-align:right}.rtl .pll-wizard-service-item .pll-wizard-service-example p{text-align:left}.pll-wizard-service-item .pll-wizard-service-description p{margin-bottom:1em}.pll-wizard-service-item .pll-wizard-service-description p:last-child{margin-bottom:0}.pll-wizard-service-item .pll-wizard-service-description .pll-wizard-service-settings-description{display:block;font-style:italic;color:#999}.pll-wizard-service-item .pll-wizard-service-enable{-webkit-flex-basis:0;flex-basis:0;min-width:75px;text-align:center;cursor:pointer;padding:2em 0;position:relative;max-height:1.5em;-webkit-align-self:flex-start;align-self:flex-start;-webkit-box-ordinal-group:4;-webkit-order:3;order:3}.pll-wizard-service-item .pll-wizard-service-toggle{position:relative}.pll-wizard-service-item .pll-wizard-service-toggle input[type=checkbox]{position:absolute;opacity:0}.pll-wizard-service-item .pll-wizard-service-toggle input[type=checkbox]+label{position:relative;display:inline-block;width:44px;height:20px;border-radius:10em;cursor:pointer;text-indent:-9999px}.pll-wizard-service-item .pll-wizard-service-toggle input[type=checkbox]:focus+label{border:1px dashed #777}.pll-wizard-service-item .pll-wizard-service-toggle input[type=checkbox]+label::after,.pll-wizard-service-item .pll-wizard-service-toggle input[type=checkbox]+label::before{content:'';position:absolute}.pll-wizard-service-item .pll-wizard-service-toggle input[type=checkbox]+label::before{left:0;top:0;width:44px;height:20px;background:#ddd;border-radius:10em;transition:background-color .2s}.pll-wizard-service-item .pll-wizard-service-toggle input[type=checkbox]+label::after{width:16px;height:16px;transition:all .2s;border-radius:50%;background:#fff;margin:2px;top:0;left:0}.pll-wizard-service-item .pll-wizard-service-toggle input[type=checkbox]:checked+label::before{background:#a03f3f}.pll-wizard-service-item .pll-wizard-service-toggle input[type=checkbox]:checked+label::after{right:0;left:auto}.pll-wizard-service-item .pll-wizard-service-settings{display:none;margin-top:.75em;margin-bottom:0;cursor:default}.pll-wizard-service-item .pll-wizard-service-settings.hide{display:none}.pll-wizard-service-item.checked .pll-wizard-service-settings{display:inline-block}.pll-wizard-service-item.checked .pll-wizard-service-settings.hide{display:none}.pll-wizard-service-item.closed{border-bottom:0}.step{text-align:center}.pll-wizard .button .dashicons{vertical-align:middle}.rtl .dashicons-arrow-right-alt2:before{content:"\f341"}.pll-wizard .pll-wizard-actions .button:active,.pll-wizard .pll-wizard-actions .button:focus,.pll-wizard .pll-wizard-actions .button:hover{box-shadow:none}.pll-wizard-next-steps{border:1px solid #eee;border-radius:4px;list-style:none;padding:0}.pll-wizard-next-steps li{padding:0}.pll-wizard-next-steps .pll-wizard-next-step-item{display:-webkit-box;display:-webkit-flex;display:flex;border-top:1px solid #eee}.pll-wizard-next-steps .pll-wizard-next-step-item.no-border,.pll-wizard-next-steps .pll-wizard-next-step-item:first-child{border-top:0}.pll-wizard-next-steps .pll-wizard-next-step-description{-webkit-box-flex:1;-webkit-flex-grow:1;flex-grow:1;margin:1.5em}.pll-wizard-next-steps .pll-wizard-next-step-action{-webkit-box-flex:0;-webkit-flex-grow:0;flex-grow:0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.pll-wizard-next-steps .pll-wizard-next-step-action .button{margin:1em 1.5em}.pll-wizard-next-steps .pll-wizard-next-step-item.no-border .pll-wizard-actions,.pll-wizard-next-steps .pll-wizard-next-step-item.no-border .pll-wizard-next-step-action .button,.pll-wizard-next-steps .pll-wizard-next-step-item.no-border .pll-wizard-next-step-description{margin-top:0}.pll-wizard-next-steps p.next-step-heading{margin:0;font-size:.95em;font-weight:400;font-variant:all-petite-caps}.pll-wizard-next-steps p.next-step-extra-info{margin:0}.pll-wizard-next-steps h3.next-step-description{margin:0;font-size:16px;font-weight:600}.pll-wizard-next-steps .pll-wizard-additional-steps{border-top:1px solid #eee}.pll-wizard-next-steps .pll-wizard-additional-steps .pll-wizard-next-step-description{margin-bottom:0}.pll-wizard-next-steps .pll-wizard-additional-steps .pll-wizard-actions{margin:0 0 1.5em 0}.pll-wizard-next-steps .pll-wizard-additional-steps .pll-wizard-actions .button{font-size:15px;margin:1em 0 1em 1.5em}.rtl .pll-wizard-next-steps .pll-wizard-additional-steps .pll-wizard-actions .button{margin:1em 1.5em 1em 0}.pll-wizard-next-steps .pll-wizard-additional-steps .pll-wizard-actions .button::last-child{margin-right:1.5em}.pll-wizard-content img{max-width:100%;margin-right:.5em}.rtl .pll-wizard-content img{margin-left:.5em}.pll-wizard-content .form-field label{margin-bottom:5px;display:block}.pll-wizard-content .form-field select{padding:3px}.pll-wizard-content .languages-step select,.pll-wizard-content .untranslated-contents-step select{width:100%}.languages-step .form-field .button{margin-left:15px}.languages-step .form-field .button>span{margin-right:.3em}.rtl .languages-step .form-field .button{margin-left:0;margin-right:15px}.rtl .languages-step .form-field .button>span{margin-left:.3em;margin-right:0}.pll-wizard-content .languages-step .select-language-field{display:flex}.pll-wizard-content #languages{display:none}.pll-wizard-content #languages tr th:first-child{width:80%}.pll-wizard-content #languages .dashicons{color:#a03f3f}.pll-wizard-content #languages img{margin-right:5px}.pll-wizard-content .error{color:#a03f3f;font-weight:700}.pll-wizard-content #messages .error{background:#fccfcf;padding:.5rem;border:1px solid #a03f3f;margin-bottom:.5rem}.pll-wizard-content #slide-toggle{position:absolute;opacity:0}.pll-wizard-content #slide-toggle+label{position:relative}.pll-wizard-content #slide-toggle+label+span{display:block}.pll-wizard-content #slide-toggle+label .dashicons{margin-right:.3em}.rtl .pll-wizard-content #slide-toggle+label .dashicons{margin-left:.3em;margin-right:0}.pll-wizard-content #slide-toggle~#screenshot>img{max-height:500px;margin-top:10px;-webkit-transition:all .5s cubic-bezier(0,1,.5,1);transition:all .5s cubic-bezier(0,1,.5,1)}.pll-wizard-content #slide-toggle:checked~#screenshot>img{max-height:0}.hide{display:none}.field-in-error,input[type=checkbox].field-in-error,input[type=color].field-in-error,input[type=date].field-in-error,input[type=datetime-local].field-in-error,input[type=datetime].field-in-error,input[type=email].field-in-error,input[type=month].field-in-error,input[type=number].field-in-error,input[type=password].field-in-error,input[type=radio].field-in-error,input[type=search].field-in-error,input[type=tel].field-in-error,input[type=text].field-in-error,input[type=time].field-in-error,input[type=url].field-in-error,input[type=week].field-in-error,select.field-in-error,span.field-in-error,textarea.field-in-error{border-color:#a03f3f}.field-in-error:focus,input[type=checkbox].field-in-error:focus,input[type=color].field-in-error:focus,input[type=date].field-in-error:focus,input[type=datetime-local].field-in-error:focus,input[type=datetime].field-in-error:focus,input[type=email].field-in-error:focus,input[type=month].field-in-error:focus,input[type=number].field-in-error:focus,input[type=password].field-in-error:focus,input[type=radio].field-in-error:focus,input[type=search].field-in-error:focus,input[type=tel].field-in-error:focus,input[type=text].field-in-error:focus,input[type=time].field-in-error:focus,input[type=url].field-in-error:focus,input[type=week].field-in-error:focus,select.field-in-error:focus,span.field-in-error:focus,textarea.field-in-error:focus{border:1px solid #a03f3f;box-shadow:0 0 2px rgba(160,63,63,.8);outline-color:#a03f3f;outline-style:auto;outline-width:thin}.form-table input.regular-text{width:25em}.form-table input.field-in-error{border-color:#a03f3f}#pll-licenses-table td{padding:10px 9px}#pll-licenses-table .license-valid td p{min-width:35em}#pll-licenses-table .pll-deactivate-license{margin:0 0 0 20px}.rtl #pll-licenses-table .pll-deactivate-license{margin:0 10px 0 0}.pll-wizard-content .documentation{padding:24px 24px 0;margin:0 0 24px;overflow:hidden;background:#f5f5f5}.pll-wizard-content .documentation p{padding:0;margin:0 0 12px}.documentation-container{display:-webkit-box;display:-webkit-flex;display:flex;justify-content:flex-end}.documentation-container .documentation-button-container{-webkit-box-flex:0;-webkit-flex-grow:0;flex-grow:0}.wc-setup .wc-setup-actions .button.documentation-button{height:42px;padding:0 1em;margin:0}#dialog{display:none}.pll-wizard .ui-dialog.ui-widget-content{max-height:none}.pll-wizard .ui-dialog-title::before{content:"\f534";font-family:dashicons;display:inline-block;line-height:1;font-weight:400;font-style:normal;speak:none;text-decoration:inherit;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:20px;height:20px;font-size:20px;vertical-align:middle;text-align:center;margin:0 5px 5px 0;transition:color .1s ease-in}.rtl.pll-wizard .ui-dialog-title::before{margin-right:0;margin-left:5px}.pll-wizard .ui-dialog ul{list-style:disc;padding-left:20px}.rtl.pll-wizard .ui-dialog ul{padding-left:0;padding-right:20px}.pll-wizard li{margin-bottom:0}#translations{border-collapse:collapse}#translations tbody:nth-child(odd){background-color:#f9f9f9}#translations.striped>tbody>:nth-child(odd){background-color:transparent}.pll-wizard-content mark{background:transparent none}.pll-wizard-content mark{color:#7ad03a}@media screen and (max-width:782px){.languages-step .form-field .button{font-size:13px;line-height:26px;height:28px;padding:0 10px 1px;vertical-align:top}#pll-licenses-table .pll-deactivate-license{margin:10px 0 5px}}@media only screen and (max-width:620px){.ui-dialog{width:100%!important}}@media only screen and (max-width:500px){#pll-logo a,.select-language-field{flex-direction:column}.select-language-field .action-buttons{display:flex;justify-content:flex-end}.languages-step .form-field .button{margin:5px 0 0}}@media only screen and (max-width:400px){#pll-logo{font-size:56px}.pll-wizard-steps{display:none}.pll-wizard-service-item{-webkit-flex-wrap:wrap;flex-wrap:wrap}.pll-wizard-service-item .pll-wizard-service-enable{-webkit-box-ordinal-group:3;-webkit-order:2;order:2;padding:20px 0 0}.pll-wizard-service-item .pll-wizard-service-description{-webkit-box-ordinal-group:4;-webkit-order:3;order:3}.pll-wizard-service-item .pll-wizard-service-name{padding:20px 20px 0;text-align:left;-webkit-box-pack:justify!important;-webkit-justify-content:space-between!important;justify-content:space-between!important}.pll-wizard-service-item .pll-wizard-service-name img{margin:0}.pll-wizard-next-steps .pll-wizard-next-step-item{-webkit-flex-wrap:wrap;flex-wrap:wrap}.pll-wizard-next-steps .pll-wizard-next-step-item .pll-wizard-next-step-description{margin-bottom:0}.pll-wizard-next-steps .pll-wizard-next-step-item .pll-wizard-next-step-action p{margin:0}}@media only screen and (max-width:360px){#pll-logo{font-size:48px}}
|
1 |
+
@charset "UTF-8";body{margin:65px auto 24px;box-shadow:none;background:#f1f1f1;padding:0}#pll-logo{border:0;margin:0 0 24px;padding:0;text-align:center;font-family:sans-serif;font-size:64px;text-transform:uppercase;color:#000;line-height:normal}#pll-logo a{display:flex;justify-content:center;color:#000;text-decoration:none}#pll-logo img{max-width:100%;margin-right:16px}.rtl #pll-logo img{margin-right:0;margin-left:16px}.pll-wizard-footer{text-align:center}.pll-wizard .select2-container{text-align:left;width:auto}.pll-wizard .hidden{display:none}.pll-wizard-content{box-shadow:0 1px 3px rgba(0,0,0,.13);padding:2em;margin:0 0 20px;background:#fff;overflow:hidden;zoom:1;text-align:left}.rtl .pll-wizard-content{text-align:right}.pll-wizard-content h1,.pll-wizard-content h2,.pll-wizard-content h3,.pll-wizard-content table{margin:0 0 20px;border:0;padding:0;color:#666;clear:none;font-weight:500}.pll-wizard-content p{margin:20px 0;font-size:1em;line-height:1.75em;color:#666}.pll-wizard-content table{font-size:1em;line-height:1.75em;color:#666;width:100%;margin-top:20px}.pll-wizard-content table td span{display:inline-block}.pll-wizard-content table caption{caption-side:bottom;font-style:italic;text-align:right}.rtl .pll-wizard-content table caption{text-align:left}.pll-wizard-content table caption .icon-default-lang{font-style:normal}.pll-wizard-content a{color:#a03f3f}.pll-wizard-content a:focus,.pll-wizard-content a:hover,.pll-wizard-footer-links:hover{color:#dd5454}.pll-wizard-content .pll-wizard-next-steps{overflow:hidden;margin:0 0 24px;padding-bottom:2px}.pll-wizard-content .pll-wizard-next-steps h2{margin-bottom:12px}.pll-wizard-content .pll-wizard-next-steps .pll-wizard-next-steps-first{float:left;width:50%;box-sizing:border-box}.pll-wizard-content .pll-wizard-next-steps .pll-wizard-next-steps-last{float:right;width:50%;box-sizing:border-box}.pll-wizard-content .pll-wizard-next-steps ul{padding:0 2em 0 0;list-style:none outside;margin:0}.pll-wizard-content .pll-wizard-next-steps ul li a{display:block;padding:0 0 .75em}.pll-wizard-content .pll-wizard-next-steps ul li a::before{color:#82878c;font:normal 20px/1 dashicons;speak:none;display:inline-block;padding:0 10px 0 0;top:1px;position:relative;text-decoration:none!important;vertical-align:top}.pll-wizard-steps{padding:0 0 24px;margin:0;list-style:none outside;overflow:hidden;color:#ccc;width:100%;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex}.pll-wizard-steps li{width:100%;float:left;padding:0 0 .8em;margin:0;text-align:center;position:relative;border-bottom:4px solid #ccc;line-height:1.4em}.pll-wizard-steps li a{color:#a03f3f;text-decoration:none;padding:1.5em;margin:-1.5em;position:relative;z-index:1}.pll-wizard-steps li a:focus,.pll-wizard-steps li a:hover{color:#dd5454;text-decoration:underline}.pll-wizard-steps li::before{content:"";border:4px solid #ccc;border-radius:100%;width:4px;height:4px;position:absolute;bottom:0;left:50%;margin-left:-6px;margin-bottom:-8px;background:#fff}.pll-wizard-steps li.active{border-color:#a03f3f;color:#a03f3f;font-weight:700}.pll-wizard-steps li.active::before{border-color:#a03f3f}.pll-wizard-steps li.done{border-color:#a03f3f;color:#a03f3f}.pll-wizard-steps li.done::before{border-color:#a03f3f;background:#a03f3f}.pll-wizard .pll-wizard-actions{overflow:hidden;margin:20px 0 0;position:relative}.pll-wizard .pll-wizard-actions .button{font-size:16px;font-weight:300;padding:1em 2em;line-height:1em;margin-right:.5em;margin-bottom:2px;margin-top:10px;height:auto;border-radius:4px;box-shadow:none;min-width:auto;border-color:#a03f3f;color:#a03f3f}.pll-wizard .pll-wizard-content .button{border-color:#a03f3f;color:#a03f3f}.pll-wizard .pll-wizard-actions .button-primary,.pll-wizard .pll-wizard-content .button-primary{background-color:#a03f3f;border-color:#a03f3f;color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 #a03f3f;text-shadow:0 -1px 1px #a03f3f,1px 0 1px #a03f3f,0 1px 1px #a03f3f,-1px 0 1px #a03f3f;margin:0;opacity:1}.pll-wizard .pll-wizard-content .button-small .dashicons{font-size:15px;height:auto;vertical-align:middle}.pll-wizard .button-primary:active,.pll-wizard .button-primary:focus,.pll-wizard .button-primary:hover,.pll-wizard input[type=checkbox]:focus+label.button-primary{background:#dd5454;border-color:#dd5454;box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 #dd5454}.pll-wizard .pll-wizard-actions .button-primary.disabled,.pll-wizard .pll-wizard-actions .button-primary:disabled,.pll-wizard .pll-wizard-actions .button-primary[disabled]{cursor:wait;background-color:#bb5454!important;border-color:#bb5454!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 #bb5454!important;text-shadow:0 -1px 1px #bb5454,1px 0 1px #bb5454,0 1px 1px #bb5454,-1px 0 1px #bb5454!important;color:#ffa3a3!important}.pll-wizard-content p:last-child{margin-bottom:0}.pll-wizard-footer-links{font-size:.85em;color:#7b7b7b;margin:1.18em auto;display:inline-block;text-align:center}.pll-wizard-services{border:1px solid #eee;padding:0;margin:0 0 1em;list-style:none outside;border-radius:4px;overflow:hidden}.pll-wizard-services p{margin:0 0 1em 0;padding:0;font-size:1em;line-height:1.5em}.pll-wizard-service-item{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;padding:0;border-bottom:1px solid #eee;color:#666;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.media-step .pll-wizard-service-item{border:0}.media-step .pll-wizard-service-item:last-child{display:block}.media-step .pll-wizard-service-item .pll-wizard-service-enable{padding-bottom:0}.pll-wizard-service-item:last-child{border-bottom:0}.pll-wizard-service-item .pll-wizard-service-name{-webkit-flex-basis:0;flex-basis:0;min-width:160px;text-align:center;font-weight:700;padding:2em 0;-webkit-align-self:stretch;align-self:stretch;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:baseline;-webkit-align-items:baseline;align-items:baseline}.pll-wizard-service-item .pll-wizard-service-name img{max-width:75px}.pll-wizard-service-item .pll-wizard-service-description{-webkit-box-flex:1;-webkit-flex-grow:1;flex-grow:1;padding:20px}.pll-wizard-service-item .pll-wizard-service-example{padding:0 20px 20px}.pll-wizard-service-item .pll-wizard-service-example p{text-align:right}.rtl .pll-wizard-service-item .pll-wizard-service-example p{text-align:left}.pll-wizard-service-item .pll-wizard-service-description p{margin-bottom:1em}.pll-wizard-service-item .pll-wizard-service-description p:last-child{margin-bottom:0}.pll-wizard-service-item .pll-wizard-service-description .pll-wizard-service-settings-description{display:block;font-style:italic;color:#999}.pll-wizard-service-item .pll-wizard-service-enable{-webkit-flex-basis:0;flex-basis:0;min-width:75px;text-align:center;cursor:pointer;padding:2em 0;position:relative;max-height:1.5em;-webkit-align-self:flex-start;align-self:flex-start;-webkit-box-ordinal-group:4;-webkit-order:3;order:3}.pll-wizard-service-item .pll-wizard-service-toggle{position:relative}.pll-wizard-service-item .pll-wizard-service-toggle input[type=checkbox]{position:absolute;opacity:0}.pll-wizard-service-item .pll-wizard-service-toggle input[type=checkbox]+label{position:relative;display:inline-block;width:44px;height:20px;border-radius:10em;cursor:pointer;text-indent:-9999px}.pll-wizard-service-item .pll-wizard-service-toggle input[type=checkbox]:focus+label{border:1px dashed #777}.pll-wizard-service-item .pll-wizard-service-toggle input[type=checkbox]+label::after,.pll-wizard-service-item .pll-wizard-service-toggle input[type=checkbox]+label::before{content:'';position:absolute}.pll-wizard-service-item .pll-wizard-service-toggle input[type=checkbox]+label::before{left:0;top:0;width:44px;height:20px;background:#ddd;border-radius:10em;transition:background-color .2s}.pll-wizard-service-item .pll-wizard-service-toggle input[type=checkbox]+label::after{width:16px;height:16px;transition:all .2s;border-radius:50%;background:#fff;margin:2px;top:0;left:0}.pll-wizard-service-item .pll-wizard-service-toggle input[type=checkbox]:checked+label::before{background:#a03f3f}.pll-wizard-service-item .pll-wizard-service-toggle input[type=checkbox]:checked+label::after{right:0;left:auto}.pll-wizard-service-item .pll-wizard-service-settings{display:none;margin-top:.75em;margin-bottom:0;cursor:default}.pll-wizard-service-item .pll-wizard-service-settings.hide{display:none}.pll-wizard-service-item.checked .pll-wizard-service-settings{display:inline-block}.pll-wizard-service-item.checked .pll-wizard-service-settings.hide{display:none}.pll-wizard-service-item.closed{border-bottom:0}.step{text-align:center}.pll-wizard .button .dashicons{vertical-align:middle}.rtl .dashicons-arrow-right-alt2:before{content:"\f341"}.pll-wizard .pll-wizard-actions .button:active,.pll-wizard .pll-wizard-actions .button:focus,.pll-wizard .pll-wizard-actions .button:hover{box-shadow:none}.pll-wizard-next-steps{border:1px solid #eee;border-radius:4px;list-style:none;padding:0}.pll-wizard-next-steps li{padding:0}.pll-wizard-next-steps .pll-wizard-next-step-item{display:-webkit-box;display:-webkit-flex;display:flex;border-top:1px solid #eee}.pll-wizard-next-steps .pll-wizard-next-step-item.no-border,.pll-wizard-next-steps .pll-wizard-next-step-item:first-child{border-top:0}.pll-wizard-next-steps .pll-wizard-next-step-description{-webkit-box-flex:1;-webkit-flex-grow:1;flex-grow:1;margin:1.5em}.pll-wizard-next-steps .pll-wizard-next-step-action{-webkit-box-flex:0;-webkit-flex-grow:0;flex-grow:0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.pll-wizard-next-steps .pll-wizard-next-step-action .button{margin:1em 1.5em}.pll-wizard-next-steps .pll-wizard-next-step-item.no-border .pll-wizard-actions,.pll-wizard-next-steps .pll-wizard-next-step-item.no-border .pll-wizard-next-step-action .button,.pll-wizard-next-steps .pll-wizard-next-step-item.no-border .pll-wizard-next-step-description{margin-top:0}.pll-wizard-next-steps p.next-step-heading{margin:0;font-size:.95em;font-weight:400;font-variant:all-petite-caps}.pll-wizard-next-steps p.next-step-extra-info{margin:0}.pll-wizard-next-steps h3.next-step-description{margin:0;font-size:16px;font-weight:600}.pll-wizard-next-steps .pll-wizard-additional-steps{border-top:1px solid #eee}.pll-wizard-next-steps .pll-wizard-additional-steps .pll-wizard-next-step-description{margin-bottom:0}.pll-wizard-next-steps .pll-wizard-additional-steps .pll-wizard-actions{margin:0 0 1.5em 0}.pll-wizard-next-steps .pll-wizard-additional-steps .pll-wizard-actions .button{font-size:15px;margin:1em 0 1em 1.5em}.rtl .pll-wizard-next-steps .pll-wizard-additional-steps .pll-wizard-actions .button{margin:1em 1.5em 1em 0}.pll-wizard-next-steps .pll-wizard-additional-steps .pll-wizard-actions .button::last-child{margin-right:1.5em}.pll-wizard-content img{max-width:100%;margin-right:.5em}.rtl .pll-wizard-content img{margin-left:.5em}.pll-wizard-content .form-field label{margin-bottom:5px;display:block}.pll-wizard-content .form-field select{padding:3px}.pll-wizard-content .languages-step select,.pll-wizard-content .untranslated-contents-step select{width:100%}.languages-step .form-field .button{margin-left:15px}.languages-step .form-field .button>span{margin-right:.3em}.rtl .languages-step .form-field .button{margin-left:0;margin-right:15px}.rtl .languages-step .form-field .button>span{margin-left:.3em;margin-right:0}.pll-wizard-content .languages-step .select-language-field{display:flex}.pll-wizard-content #languages{display:none}.pll-wizard-content #languages tr th:first-child{width:80%}.pll-wizard-content #languages .dashicons{color:#a03f3f}.pll-wizard-content #languages img{margin-right:5px}.pll-wizard-content .error{color:#a03f3f;font-weight:700}.pll-wizard-content #messages .error{background:#fccfcf;padding:.5rem;border:1px solid #a03f3f;margin-bottom:.5rem}.pll-wizard-content #slide-toggle{position:absolute;opacity:0}.pll-wizard-content #slide-toggle+label{position:relative}.pll-wizard-content #slide-toggle+label+span{display:block}.pll-wizard-content #slide-toggle+label .dashicons{margin-right:.3em}.rtl .pll-wizard-content #slide-toggle+label .dashicons{margin-left:.3em;margin-right:0}.pll-wizard-content #slide-toggle~#screenshot>img{max-height:500px;margin-top:10px;-webkit-transition:all .5s cubic-bezier(0,1,.5,1);transition:all .5s cubic-bezier(0,1,.5,1)}.pll-wizard-content #slide-toggle:checked~#screenshot>img{max-height:0}.hide{display:none}.field-in-error,input[type=checkbox].field-in-error,input[type=color].field-in-error,input[type=date].field-in-error,input[type=datetime-local].field-in-error,input[type=datetime].field-in-error,input[type=email].field-in-error,input[type=month].field-in-error,input[type=number].field-in-error,input[type=password].field-in-error,input[type=radio].field-in-error,input[type=search].field-in-error,input[type=tel].field-in-error,input[type=text].field-in-error,input[type=time].field-in-error,input[type=url].field-in-error,input[type=week].field-in-error,select.field-in-error,span.field-in-error,textarea.field-in-error{border-color:#a03f3f}.field-in-error:focus,input[type=checkbox].field-in-error:focus,input[type=color].field-in-error:focus,input[type=date].field-in-error:focus,input[type=datetime-local].field-in-error:focus,input[type=datetime].field-in-error:focus,input[type=email].field-in-error:focus,input[type=month].field-in-error:focus,input[type=number].field-in-error:focus,input[type=password].field-in-error:focus,input[type=radio].field-in-error:focus,input[type=search].field-in-error:focus,input[type=tel].field-in-error:focus,input[type=text].field-in-error:focus,input[type=time].field-in-error:focus,input[type=url].field-in-error:focus,input[type=week].field-in-error:focus,select.field-in-error:focus,span.field-in-error:focus,textarea.field-in-error:focus{border:1px solid #a03f3f;box-shadow:0 0 2px rgba(160,63,63,.8);outline-color:#a03f3f;outline-style:auto;outline-width:thin}.form-table input.regular-text{width:25em}.form-table input.field-in-error{border-color:#a03f3f}#pll-licenses-table td{padding:10px 9px}#pll-licenses-table .license-valid td p{min-width:35em}#pll-licenses-table .pll-deactivate-license{margin:0 0 0 20px}.rtl #pll-licenses-table .pll-deactivate-license{margin:0 10px 0 0}.pll-wizard-content .documentation{padding:24px 24px 0;margin:0 0 24px;overflow:hidden;background:#f5f5f5}.pll-wizard-content .documentation p{padding:0;margin:0 0 12px}.documentation-container{display:-webkit-box;display:-webkit-flex;display:flex;justify-content:flex-end}.documentation-container .documentation-button-container{-webkit-box-flex:0;-webkit-flex-grow:0;flex-grow:0}.wc-setup .wc-setup-actions .button.documentation-button{height:42px;padding:0 1em;margin:0}#dialog{display:none}.pll-wizard .ui-dialog.ui-widget-content{max-height:none}.pll-wizard .ui-dialog-title::before{content:"\f534";font-family:dashicons;display:inline-block;line-height:1;font-weight:400;font-style:normal;speak:none;text-decoration:inherit;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:20px;height:20px;font-size:20px;vertical-align:middle;text-align:center;margin:0 5px 5px 0;transition:color .1s ease-in}.rtl.pll-wizard .ui-dialog-title::before{margin-right:0;margin-left:5px}.pll-wizard .ui-dialog ul{list-style:disc;padding-left:20px}.rtl.pll-wizard .ui-dialog ul{padding-left:0;padding-right:20px}.pll-wizard li{margin-bottom:0}#translations{border-collapse:collapse}#translations tbody:nth-child(odd){background-color:#f9f9f9}#translations.striped>tbody>:nth-child(odd){background-color:transparent}.pll-wizard-content mark{background:transparent none}.pll-wizard-content mark{color:#7ad03a}@media screen and (max-width:782px){.languages-step .form-field .button{font-size:13px;line-height:26px;height:28px;padding:0 10px 1px;vertical-align:top}#pll-licenses-table .pll-deactivate-license{margin:10px 0 5px}}@media only screen and (max-width:620px){.ui-dialog{width:100%!important}}@media only screen and (max-width:500px){#pll-logo a,.select-language-field{flex-direction:column}.select-language-field .action-buttons{display:flex;justify-content:flex-end}.languages-step .form-field .button{margin:5px 0 0}}@media only screen and (max-width:400px){#pll-logo{font-size:56px}.pll-wizard-steps{display:none}.pll-wizard-service-item{-webkit-flex-wrap:wrap;flex-wrap:wrap}.pll-wizard-service-item .pll-wizard-service-enable{-webkit-box-ordinal-group:3;-webkit-order:2;order:2;padding:20px 0 0}.pll-wizard-service-item .pll-wizard-service-description{-webkit-box-ordinal-group:4;-webkit-order:3;order:3}.pll-wizard-service-item .pll-wizard-service-name{padding:20px 20px 0;text-align:left;-webkit-box-pack:justify!important;-webkit-justify-content:space-between!important;justify-content:space-between!important}.pll-wizard-service-item .pll-wizard-service-name img{margin:0}.pll-wizard-next-steps .pll-wizard-next-step-item{-webkit-flex-wrap:wrap;flex-wrap:wrap}.pll-wizard-next-steps .pll-wizard-next-step-item .pll-wizard-next-step-description{margin-bottom:0}.pll-wizard-next-steps .pll-wizard-next-step-item .pll-wizard-next-step-action p{margin:0}}@media only screen and (max-width:360px){#pll-logo{font-size:48px}}
|
polylang.php
CHANGED
@@ -1,14 +1,18 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
-
Plugin Name: Polylang
|
5 |
-
Plugin URI: https://polylang.pro
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
|
|
|
|
|
|
|
|
12 |
*/
|
13 |
|
14 |
/*
|
@@ -51,7 +55,7 @@ if ( defined( 'POLYLANG_BASENAME' ) ) {
|
|
51 |
}
|
52 |
} else {
|
53 |
// Go on loading the plugin
|
54 |
-
define( 'POLYLANG_VERSION', '2.7.
|
55 |
define( 'PLL_MIN_WP_VERSION', '4.9' );
|
56 |
define( 'PLL_MIN_PHP_VERSION', '5.6' );
|
57 |
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
+
* Plugin Name: Polylang
|
5 |
+
* Plugin URI: https://polylang.pro
|
6 |
+
* Description: Adds multilingual capability to WordPress
|
7 |
+
* Version: 2.7.2
|
8 |
+
* Requires at least: 4.9
|
9 |
+
* Requires PHP: 5.6
|
10 |
+
* Author: WP SYNTEX
|
11 |
+
* Author uri: https://polylang.pro
|
12 |
+
* License: GPL v3 or later
|
13 |
+
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
14 |
+
* Text Domain: polylang
|
15 |
+
* Domain Path: /languages
|
16 |
*/
|
17 |
|
18 |
/*
|
55 |
}
|
56 |
} else {
|
57 |
// Go on loading the plugin
|
58 |
+
define( 'POLYLANG_VERSION', '2.7.2' );
|
59 |
define( 'PLL_MIN_WP_VERSION', '4.9' );
|
60 |
define( 'PLL_MIN_PHP_VERSION', '5.6' );
|
61 |
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: multilingual, bilingual, translate, translation, language, multilanguage,
|
|
5 |
Requires at least: 4.9
|
6 |
Tested up to: 5.4
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 2.7.
|
9 |
License: GPLv3 or later
|
10 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
@@ -78,6 +78,15 @@ Don't hesitate to [give your feedback](http://wordpress.org/support/view/plugin-
|
|
78 |
|
79 |
== Changelog ==
|
80 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
= 2.7.1 (2020-04-09) =
|
82 |
|
83 |
* Pro: Fix untranslated post types filtered by the parameter in the REST API #493
|
@@ -114,116 +123,4 @@ Don't hesitate to [give your feedback](http://wordpress.org/support/view/plugin-
|
|
114 |
* Fix wildcards not correctly interpreted in wpml-config.xml
|
115 |
* Fix product categories with special characters duplicated when importing WooCommerce products #474
|
116 |
|
117 |
-
= 2.6.10 (2020-02-19) =
|
118 |
-
|
119 |
-
* Pro: Fix sticky posts not filtered in REST API (introduced in 2.6.9)
|
120 |
-
* Fix wrong language detected if a child page uses the slug of another language
|
121 |
-
* Fix a PHP notice with PHP 7.4. #438
|
122 |
-
* Fix lang-item-first class in language switcher when the current language is hidden. #445
|
123 |
-
* Fix partially a conflict with Fusion Builder (the other part of the conflict being in Fusion Builder).
|
124 |
-
|
125 |
-
= 2.6.9 (2020-01-15) =
|
126 |
-
|
127 |
-
* Pro: Use 'parse_query' rather than 'rest_{$type}_query' to filter REST requests.
|
128 |
-
* Pro: Filter the comments REST endpoint.
|
129 |
-
* Pro: Fix duplication of terms without language.
|
130 |
-
* Pro: Fix fatal error when Admin Columns is activated and no language is defined yet.
|
131 |
-
* Fix shortlink when using one subdomain or domain per language
|
132 |
-
|
133 |
-
= 2.6.8 (2019-12-11) =
|
134 |
-
|
135 |
-
* Pro: Fix conflict with JetThemesCore from Crocoblock
|
136 |
-
* Fix: better detection of REST requests when using plain permalinks
|
137 |
-
* Fix usage of deprecated action wpmu_new_blog in WP 5.1+
|
138 |
-
* Fix PHP notices with PHP 7.4
|
139 |
-
|
140 |
-
= 2.6.7 (2019-11-14) =
|
141 |
-
|
142 |
-
* Require PHP 5.6
|
143 |
-
* Fix PHP warning in WP 5.3
|
144 |
-
|
145 |
-
= 2.6.6 (2019-11-12) =
|
146 |
-
|
147 |
-
* Pro: Fix wrong ajax url when using one domain per language
|
148 |
-
* Pro: Fix conflict with user switching plugin when using multiple domains
|
149 |
-
* Pro: Fix latest posts block in WP 5.3
|
150 |
-
* Fix database error when attempting to sync an untranslated page parent
|
151 |
-
* Fix a conflict with the theme Neptune by Osetin
|
152 |
-
|
153 |
-
= 2.6.5 (2019-10-09) =
|
154 |
-
|
155 |
-
* Pro: Require ACF 5.7.11+ to activate the compatibility to avoid fatal errors with older versions
|
156 |
-
* Pro: Avoid translating empty front slug (could cause a wrong redirect to /wp-admin)
|
157 |
-
* Pro: Fix filter wp_unique_term_slug not always correctly applied.
|
158 |
-
* Pro: Fix a conflict with Divi causing post synchronization buttons to be displayed multiple times
|
159 |
-
* Avoid notice in WP CLI context
|
160 |
-
|
161 |
-
= 2.6.4 (2019-08-27) =
|
162 |
-
|
163 |
-
* Pro: Fix a conflict preventing meta synchronization when ACF is active
|
164 |
-
* Pro: Fix post metas not correctly copied when translating a Beaver Builder page
|
165 |
-
* Pro: Fix a fatal error when posts made with Elementor are synchronized
|
166 |
-
* Pro: Fix Prewiew button not working correctly when using one domain per language
|
167 |
-
* Pro: Fix post synchronization not available for WP CRON and WP CLI
|
168 |
-
* Fix future posts not available in the autocomplete input field of the languages metabox
|
169 |
-
* Fix translations files not loaded on REST requests
|
170 |
-
* Fix deleted term parent not synchronized
|
171 |
-
|
172 |
-
= 2.6.3 (2019-08-06) =
|
173 |
-
|
174 |
-
* Pro: Fix fatal error when updating an ACF field from frontend
|
175 |
-
* Pro: Add action 'pll_post_synchronized'
|
176 |
-
* Allow to get the current or default language object using the API. Props Jory Hogeveen. #359
|
177 |
-
* Fix empty span in languages switcher widget when showing only flags
|
178 |
-
* Fix wpml_register_single_string when updating the original string
|
179 |
-
|
180 |
-
= 2.6.2 (2019-07-16) =
|
181 |
-
|
182 |
-
* Pro: Fix slow admin in case the translations update server can't be reached
|
183 |
-
* Pro: Fix value not correctly translated for ACF clone fields in repeater
|
184 |
-
* Fix strings translations mixed when registered via the WPML compatibility. #381
|
185 |
-
|
186 |
-
= 2.6.1 (2019-07-03) =
|
187 |
-
|
188 |
-
* Pro: Fix Yoast SEO sitemap for inactive languages when using subdomains or multiple domains
|
189 |
-
* Fix fatal error in combination with Yoast SEO and Social Warfare
|
190 |
-
* Fix post type archive url in Yoast SEO sitemap
|
191 |
-
|
192 |
-
= 2.6 (2019-06-26) =
|
193 |
-
|
194 |
-
* Pro: Remove all languages files. All translations are now maintained on TranslationsPress
|
195 |
-
* Pro: Move the languages metabox to a block editor plugin
|
196 |
-
* Pro: Better management of user capabilities when synchronizing posts
|
197 |
-
* Pro: Separate REST requests from the frontend
|
198 |
-
* Pro: Copy the post slug when duplicating a post
|
199 |
-
* Pro: Duplicate ACF term metas when terms are automatically duplicated when creating a new post translation
|
200 |
-
* Pro: Fix hierarchy lost when duplicating terms
|
201 |
-
* Pro: Fix page shared slugs with special characters
|
202 |
-
* Pro: Fix synchronized posts sharing their slug when the language is set from the content
|
203 |
-
* Pro: Fix PHP warning with ACF Pro 5.8.1
|
204 |
-
* Pro: Fix ACF clone fields not translated in repeaters
|
205 |
-
* Better management of user capablities when synchronizing taxonomies terms and custom fields
|
206 |
-
* Extend string translations search to translated strings #207
|
207 |
-
* Update plugin updater to 1.6.18
|
208 |
-
* Honor the filter `pll_flag` when performing the flag validation when creating a new language
|
209 |
-
* Modify the title and the label for the language switcher menu items #307
|
210 |
-
* Add support for international domain names
|
211 |
-
* Add a title to the link icon used to add a translation #325
|
212 |
-
* Add a notice when a static front page is not translated in a language
|
213 |
-
* Add support for custom term fields in wpml-config.xml
|
214 |
-
* Add filter `pll_admin_languages_filter` for the list of items the admin bar language filter
|
215 |
-
* Add compatibility with WP Offload Media Lite. Props Daniel Berkman
|
216 |
-
* Yoast SEO: Add post type archive url in all languages to the sitemap
|
217 |
-
* Fix www. not redirected to not www. for the home page in multiple domains #311
|
218 |
-
* Fix cropped images not being synchronized
|
219 |
-
* Fix auto added page to menus when the page is created with the block editor
|
220 |
-
* Fix embed of translated static front page #318
|
221 |
-
* Fix a possible infinite redirect if the static front page is not translated
|
222 |
-
* Fix incorrect behavior of action 'wpml_register_single_string' when updating the string source
|
223 |
-
* Fix fatal error with Jetpack when no languages has been defined yet #330
|
224 |
-
* Fix a conflict with Laravel Valet. Props @chesio. #250
|
225 |
-
* Fix a conflict with Thesis.
|
226 |
-
* Fix a conflict with Pods in the block editor. Props Jory Hogeveen. #369
|
227 |
-
* Fix fatal error with Twenty Fourteen introduced in version 2.5.4. #374
|
228 |
-
|
229 |
See [changelog.txt](https://plugins.svn.wordpress.org/polylang/trunk/changelog.txt) for older changelog
|
5 |
Requires at least: 4.9
|
6 |
Tested up to: 5.4
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 2.7.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.7.2 (2020-04-27) =
|
82 |
+
|
83 |
+
* Pro: Re-allow to modify the capability for strings translations
|
84 |
+
* Pro: Fix redirect for posts having the same slug as a media
|
85 |
+
* Pro: Fix PHP notice with ACF flexible content
|
86 |
+
* Pro: Fix a fatal error with InfiniteWP
|
87 |
+
* Update plugin updater to 1.7
|
88 |
+
* Fix font in setup wizard
|
89 |
+
|
90 |
= 2.7.1 (2020-04-09) =
|
91 |
|
92 |
* Pro: Fix untranslated post types filtered by the parameter in the REST API #493
|
123 |
* Fix wildcards not correctly interpreted in wpml-config.xml
|
124 |
* Fix product categories with special characters duplicated when importing WooCommerce products #474
|
125 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
126 |
See [changelog.txt](https://plugins.svn.wordpress.org/polylang/trunk/changelog.txt) for older changelog
|