Version Description
- 2019-07-11 =
- Fixed rare change for fatal error when activating plugin
Download this release
Release Info
Developer | jablonowski |
Plugin | Flexible Checkout Fields for WooCommerce – WooCommerce Checkout Manager |
Version | 2.0.3 |
Comparing to | |
See all releases |
Code changes from version 2.0.1 to 2.0.3
- classes/class-flexible-checkout-fields-plugin.php +0 -1
- classes/filed-validation.php +1 -1
- composer.lock +10 -10
- flexible-checkout-fields.php +4 -3
- readme.txt +7 -1
- vendor/autoload.php +1 -1
- vendor/composer/autoload_classmap.php +1 -1
- vendor/composer/autoload_real.php +7 -7
- vendor/composer/autoload_static.php +5 -5
- vendor/composer/installed.json +12 -12
- vendor/wpdesk/wp-plugin-flow/CHANGELOG.md +5 -0
- vendor/wpdesk/wp-plugin-flow/src/Build_Flow/Plugin_Build_Flow_Composer.php +1 -1
- vendor/wpdesk/wp-plugin-flow/src/Compatibility/Plugin_Compatibility_Guard.php +1 -1
- vendor/wpdesk/wp-wpdesk-helper/CHANGELOG.md +4 -0
- vendor/wpdesk/wp-wpdesk-helper/src/Integration/LogsIntegration.php +13 -6
classes/class-flexible-checkout-fields-plugin.php
CHANGED
@@ -88,7 +88,6 @@ class Flexible_Checkout_Fields_Plugin extends \WPDesk\PluginBuilder\Plugin\Abstr
|
|
88 |
* Load dependencies.
|
89 |
*/
|
90 |
private function load_dependencies() {
|
91 |
-
require_once $this->plugin_path . '/inc/wpdesk-woo27-functions.php';
|
92 |
require_once 'settings.php';
|
93 |
require_once 'field-options.php';
|
94 |
}
|
88 |
* Load dependencies.
|
89 |
*/
|
90 |
private function load_dependencies() {
|
|
|
91 |
require_once 'settings.php';
|
92 |
require_once 'field-options.php';
|
93 |
}
|
classes/filed-validation.php
CHANGED
@@ -43,7 +43,7 @@ class Flexible_Checkout_Fields_Field_Validation {
|
|
43 |
foreach ( $settings as $section => $fields ) {
|
44 |
foreach ( $fields as $field_key => $field ) {
|
45 |
if ( isset( $_POST[$field_key] ) && !empty( $field['validation'] ) && array_key_exists( $field['validation'], $custom_validations ) ) {
|
46 |
-
call_user_func( $custom_validations[$field['validation']]['callback'], $field['label'], $_POST[$field_key] );
|
47 |
}
|
48 |
}
|
49 |
}
|
43 |
foreach ( $settings as $section => $fields ) {
|
44 |
foreach ( $fields as $field_key => $field ) {
|
45 |
if ( isset( $_POST[$field_key] ) && !empty( $field['validation'] ) && array_key_exists( $field['validation'], $custom_validations ) ) {
|
46 |
+
call_user_func( $custom_validations[$field['validation']]['callback'], $field['label'], sanitize_textarea_field($_POST[$field_key]) );
|
47 |
}
|
48 |
}
|
49 |
}
|
composer.lock
CHANGED
@@ -384,16 +384,16 @@
|
|
384 |
},
|
385 |
{
|
386 |
"name": "wpdesk/wp-plugin-flow",
|
387 |
-
"version": "1.9.
|
388 |
"source": {
|
389 |
"type": "git",
|
390 |
"url": "https://gitlab.com/wpdesk/wp-plugin-flow.git",
|
391 |
-
"reference": "
|
392 |
},
|
393 |
"dist": {
|
394 |
"type": "zip",
|
395 |
-
"url": "https://gitlab.com/api/v4/projects/wpdesk%2Fwp-plugin-flow/repository/archive.zip?sha=
|
396 |
-
"reference": "
|
397 |
"shasum": ""
|
398 |
},
|
399 |
"require": {
|
@@ -424,20 +424,20 @@
|
|
424 |
"email": "krzysiek@wpdesk.pl"
|
425 |
}
|
426 |
],
|
427 |
-
"time": "2019-07-
|
428 |
},
|
429 |
{
|
430 |
"name": "wpdesk/wp-wpdesk-helper",
|
431 |
-
"version": "1.3.
|
432 |
"source": {
|
433 |
"type": "git",
|
434 |
"url": "https://gitlab.com/wpdesk/wp-wpdesk-helper.git",
|
435 |
-
"reference": "
|
436 |
},
|
437 |
"dist": {
|
438 |
"type": "zip",
|
439 |
-
"url": "https://gitlab.com/api/v4/projects/wpdesk%2Fwp-wpdesk-helper/repository/archive.zip?sha=
|
440 |
-
"reference": "
|
441 |
"shasum": ""
|
442 |
},
|
443 |
"require": {
|
@@ -469,7 +469,7 @@
|
|
469 |
"email": "krzysiek@wpdesk.pl"
|
470 |
}
|
471 |
],
|
472 |
-
"time": "2019-07-
|
473 |
},
|
474 |
{
|
475 |
"name": "wpdesk/wp-wpdesk-license",
|
384 |
},
|
385 |
{
|
386 |
"name": "wpdesk/wp-plugin-flow",
|
387 |
+
"version": "1.9.1",
|
388 |
"source": {
|
389 |
"type": "git",
|
390 |
"url": "https://gitlab.com/wpdesk/wp-plugin-flow.git",
|
391 |
+
"reference": "68db904eb138708a057a3101649b2936154b3eee"
|
392 |
},
|
393 |
"dist": {
|
394 |
"type": "zip",
|
395 |
+
"url": "https://gitlab.com/api/v4/projects/wpdesk%2Fwp-plugin-flow/repository/archive.zip?sha=68db904eb138708a057a3101649b2936154b3eee",
|
396 |
+
"reference": "68db904eb138708a057a3101649b2936154b3eee",
|
397 |
"shasum": ""
|
398 |
},
|
399 |
"require": {
|
424 |
"email": "krzysiek@wpdesk.pl"
|
425 |
}
|
426 |
],
|
427 |
+
"time": "2019-07-11T11:37:26+00:00"
|
428 |
},
|
429 |
{
|
430 |
"name": "wpdesk/wp-wpdesk-helper",
|
431 |
+
"version": "1.3.2",
|
432 |
"source": {
|
433 |
"type": "git",
|
434 |
"url": "https://gitlab.com/wpdesk/wp-wpdesk-helper.git",
|
435 |
+
"reference": "8ede5e7fb14c76d6a30f0f76af362360c9e9e386"
|
436 |
},
|
437 |
"dist": {
|
438 |
"type": "zip",
|
439 |
+
"url": "https://gitlab.com/api/v4/projects/wpdesk%2Fwp-wpdesk-helper/repository/archive.zip?sha=8ede5e7fb14c76d6a30f0f76af362360c9e9e386",
|
440 |
+
"reference": "8ede5e7fb14c76d6a30f0f76af362360c9e9e386",
|
441 |
"shasum": ""
|
442 |
},
|
443 |
"require": {
|
469 |
"email": "krzysiek@wpdesk.pl"
|
470 |
}
|
471 |
],
|
472 |
+
"time": "2019-07-04T07:12:18+00:00"
|
473 |
},
|
474 |
{
|
475 |
"name": "wpdesk/wp-wpdesk-license",
|
flexible-checkout-fields.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Flexible Checkout Fields
|
4 |
Plugin URI: https://www.wpdesk.net/products/flexible-checkout-fields-pro-woocommerce/
|
5 |
Description: Manage your WooCommerce checkout fields. Change order, labels, placeholders and add new fields.
|
6 |
-
Version: 2.0.
|
7 |
Author: WP Desk
|
8 |
Author URI: https://www.wpdesk.net/
|
9 |
Text Domain: flexible-checkout-fields
|
@@ -37,8 +37,8 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
37 |
|
38 |
|
39 |
/* THESE TWO VARIABLES CAN BE CHANGED AUTOMATICALLY */
|
40 |
-
$plugin_version = '2.0.
|
41 |
-
$plugin_release_timestamp = '2019-07-
|
42 |
define( 'FLEXIBLE_CHECKOUT_FIELDS_VERSION', $plugin_version );
|
43 |
|
44 |
if ( ! defined( 'FCF_VERSION' ) ) {
|
@@ -66,4 +66,5 @@ $requirements = array(
|
|
66 |
),
|
67 |
);
|
68 |
|
|
|
69 |
require __DIR__ . '/vendor/wpdesk/wp-plugin-flow/src/plugin-init-php52-free.php';
|
3 |
Plugin Name: Flexible Checkout Fields
|
4 |
Plugin URI: https://www.wpdesk.net/products/flexible-checkout-fields-pro-woocommerce/
|
5 |
Description: Manage your WooCommerce checkout fields. Change order, labels, placeholders and add new fields.
|
6 |
+
Version: 2.0.3
|
7 |
Author: WP Desk
|
8 |
Author URI: https://www.wpdesk.net/
|
9 |
Text Domain: flexible-checkout-fields
|
37 |
|
38 |
|
39 |
/* THESE TWO VARIABLES CAN BE CHANGED AUTOMATICALLY */
|
40 |
+
$plugin_version = '2.0.3';
|
41 |
+
$plugin_release_timestamp = '2019-07-11 13:06';
|
42 |
define( 'FLEXIBLE_CHECKOUT_FIELDS_VERSION', $plugin_version );
|
43 |
|
44 |
if ( ! defined( 'FCF_VERSION' ) ) {
|
66 |
),
|
67 |
);
|
68 |
|
69 |
+
require_once __DIR__ . '/inc/wpdesk-woo27-functions.php';
|
70 |
require __DIR__ . '/vendor/wpdesk/wp-plugin-flow/src/plugin-init-php52-free.php';
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.wpdesk.net/flexible-checkout-fields-woocommerce/
|
|
4 |
Tags: woocommerce checkout fields, woocommerce custom fields, woocommerce checkout manager, woocommerce checkout editor, woocommerce fields manager, woocommerce fields editor, woocommerce custom checkout fields, woocommerce checkout options, woocommerce checkout pro, woocommerce custom sections, woocommerce file upload
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 5.2.2
|
7 |
-
Stable tag: 2.0.
|
8 |
Requires PHP: 5.6
|
9 |
License: GPLv3 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -188,6 +188,12 @@ If you are upgrading from the old WooCommerce Checkout Fields version (1.1, wooc
|
|
188 |
|
189 |
== Changelog ==
|
190 |
|
|
|
|
|
|
|
|
|
|
|
|
|
191 |
= 2.0.1 - 2019-07-02 =
|
192 |
* Fixed jQuery conflict with WOOBE Bulk editor plugin
|
193 |
|
4 |
Tags: woocommerce checkout fields, woocommerce custom fields, woocommerce checkout manager, woocommerce checkout editor, woocommerce fields manager, woocommerce fields editor, woocommerce custom checkout fields, woocommerce checkout options, woocommerce checkout pro, woocommerce custom sections, woocommerce file upload
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 5.2.2
|
7 |
+
Stable tag: 2.0.3
|
8 |
Requires PHP: 5.6
|
9 |
License: GPLv3 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
188 |
|
189 |
== Changelog ==
|
190 |
|
191 |
+
= 2.0.3 - 2019-07-11 =
|
192 |
+
* Fixed rare change for fatal error when activating plugin
|
193 |
+
|
194 |
+
= 2.0.2 - 2019-07-03 =
|
195 |
+
* Fixed integration with a PRO plugin
|
196 |
+
|
197 |
= 2.0.1 - 2019-07-02 =
|
198 |
* Fixed jQuery conflict with WOOBE Bulk editor plugin
|
199 |
|
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 ComposerAutoloaderInit92112b3eff003d58ae8f564d870b7d04::getLoader();
|
vendor/composer/autoload_classmap.php
CHANGED
@@ -181,7 +181,7 @@ return array(
|
|
181 |
'WPDesk_Plugin_Build_Flow_Composer' => $vendorDir . '/wpdesk/wp-plugin-flow/src/Build_Flow/Plugin_Build_Flow_Composer.php',
|
182 |
'WPDesk_Plugin_Build_Flow_Composer_Free' => $vendorDir . '/wpdesk/wp-plugin-flow/src/Build_Flow/Plugin_Build_Flow_Composer_Free.php',
|
183 |
'WPDesk_Plugin_Compatibility_Checker' => $vendorDir . '/wpdesk/wp-plugin-flow/src/Compatibility/Plugin_Compatibility_Checker.php',
|
184 |
-
'
|
185 |
'WPDesk_Plugin_Disabler' => $vendorDir . '/wpdesk/wp-plugin-flow/src/Compatibility/Plugin_Disabler.php',
|
186 |
'WPDesk_Plugin_Disabler_By_File' => $vendorDir . '/wpdesk/wp-plugin-flow/src/Compatibility/Plugin_Disabler_By_File.php',
|
187 |
'WPDesk_Plugin_Disabler_Variable' => $vendorDir . '/wpdesk/wp-plugin-flow/src/Compatibility/Plugin_Disabler_Variable.php',
|
181 |
'WPDesk_Plugin_Build_Flow_Composer' => $vendorDir . '/wpdesk/wp-plugin-flow/src/Build_Flow/Plugin_Build_Flow_Composer.php',
|
182 |
'WPDesk_Plugin_Build_Flow_Composer_Free' => $vendorDir . '/wpdesk/wp-plugin-flow/src/Build_Flow/Plugin_Build_Flow_Composer_Free.php',
|
183 |
'WPDesk_Plugin_Compatibility_Checker' => $vendorDir . '/wpdesk/wp-plugin-flow/src/Compatibility/Plugin_Compatibility_Checker.php',
|
184 |
+
'WPDesk_Plugin_Compatibility_Guard_V2' => $vendorDir . '/wpdesk/wp-plugin-flow/src/Compatibility/Plugin_Compatibility_Guard.php',
|
185 |
'WPDesk_Plugin_Disabler' => $vendorDir . '/wpdesk/wp-plugin-flow/src/Compatibility/Plugin_Disabler.php',
|
186 |
'WPDesk_Plugin_Disabler_By_File' => $vendorDir . '/wpdesk/wp-plugin-flow/src/Compatibility/Plugin_Disabler_By_File.php',
|
187 |
'WPDesk_Plugin_Disabler_Variable' => $vendorDir . '/wpdesk/wp-plugin-flow/src/Compatibility/Plugin_Disabler_Variable.php',
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit2714f8aeb680b9a8f103e91854d12980
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
27 |
if ($useStaticLoader) {
|
28 |
require_once __DIR__ . '/autoload_static.php';
|
29 |
|
30 |
-
call_user_func(\Composer\Autoload\
|
31 |
} else {
|
32 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
33 |
foreach ($map as $namespace => $path) {
|
@@ -48,19 +48,19 @@ class ComposerAutoloaderInit2714f8aeb680b9a8f103e91854d12980
|
|
48 |
$loader->register(true);
|
49 |
|
50 |
if ($useStaticLoader) {
|
51 |
-
$includeFiles = Composer\Autoload\
|
52 |
} else {
|
53 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
54 |
}
|
55 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
56 |
-
|
57 |
}
|
58 |
|
59 |
return $loader;
|
60 |
}
|
61 |
}
|
62 |
|
63 |
-
function
|
64 |
{
|
65 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
66 |
require $file;
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit92112b3eff003d58ae8f564d870b7d04
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInit92112b3eff003d58ae8f564d870b7d04', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit92112b3eff003d58ae8f564d870b7d04', 'loadClassLoader'));
|
25 |
|
26 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
27 |
if ($useStaticLoader) {
|
28 |
require_once __DIR__ . '/autoload_static.php';
|
29 |
|
30 |
+
call_user_func(\Composer\Autoload\ComposerStaticInit92112b3eff003d58ae8f564d870b7d04::getInitializer($loader));
|
31 |
} else {
|
32 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
33 |
foreach ($map as $namespace => $path) {
|
48 |
$loader->register(true);
|
49 |
|
50 |
if ($useStaticLoader) {
|
51 |
+
$includeFiles = Composer\Autoload\ComposerStaticInit92112b3eff003d58ae8f564d870b7d04::$files;
|
52 |
} else {
|
53 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
54 |
}
|
55 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
56 |
+
composerRequire92112b3eff003d58ae8f564d870b7d04($fileIdentifier, $file);
|
57 |
}
|
58 |
|
59 |
return $loader;
|
60 |
}
|
61 |
}
|
62 |
|
63 |
+
function composerRequire92112b3eff003d58ae8f564d870b7d04($fileIdentifier, $file)
|
64 |
{
|
65 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
66 |
require $file;
|
vendor/composer/autoload_static.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'0509b34a4bd7aebefeac629c9dc8a978' => __DIR__ . '/..' . '/wpdesk/wp-notice/src/WPDesk/notice-functions.php',
|
@@ -236,7 +236,7 @@ class ComposerStaticInit2714f8aeb680b9a8f103e91854d12980
|
|
236 |
'WPDesk_Plugin_Build_Flow_Composer' => __DIR__ . '/..' . '/wpdesk/wp-plugin-flow/src/Build_Flow/Plugin_Build_Flow_Composer.php',
|
237 |
'WPDesk_Plugin_Build_Flow_Composer_Free' => __DIR__ . '/..' . '/wpdesk/wp-plugin-flow/src/Build_Flow/Plugin_Build_Flow_Composer_Free.php',
|
238 |
'WPDesk_Plugin_Compatibility_Checker' => __DIR__ . '/..' . '/wpdesk/wp-plugin-flow/src/Compatibility/Plugin_Compatibility_Checker.php',
|
239 |
-
'
|
240 |
'WPDesk_Plugin_Disabler' => __DIR__ . '/..' . '/wpdesk/wp-plugin-flow/src/Compatibility/Plugin_Disabler.php',
|
241 |
'WPDesk_Plugin_Disabler_By_File' => __DIR__ . '/..' . '/wpdesk/wp-plugin-flow/src/Compatibility/Plugin_Disabler_By_File.php',
|
242 |
'WPDesk_Plugin_Disabler_Variable' => __DIR__ . '/..' . '/wpdesk/wp-plugin-flow/src/Compatibility/Plugin_Disabler_Variable.php',
|
@@ -281,9 +281,9 @@ class ComposerStaticInit2714f8aeb680b9a8f103e91854d12980
|
|
281 |
public static function getInitializer(ClassLoader $loader)
|
282 |
{
|
283 |
return \Closure::bind(function () use ($loader) {
|
284 |
-
$loader->prefixLengthsPsr4 =
|
285 |
-
$loader->prefixDirsPsr4 =
|
286 |
-
$loader->classMap =
|
287 |
|
288 |
}, null, ClassLoader::class);
|
289 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit92112b3eff003d58ae8f564d870b7d04
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'0509b34a4bd7aebefeac629c9dc8a978' => __DIR__ . '/..' . '/wpdesk/wp-notice/src/WPDesk/notice-functions.php',
|
236 |
'WPDesk_Plugin_Build_Flow_Composer' => __DIR__ . '/..' . '/wpdesk/wp-plugin-flow/src/Build_Flow/Plugin_Build_Flow_Composer.php',
|
237 |
'WPDesk_Plugin_Build_Flow_Composer_Free' => __DIR__ . '/..' . '/wpdesk/wp-plugin-flow/src/Build_Flow/Plugin_Build_Flow_Composer_Free.php',
|
238 |
'WPDesk_Plugin_Compatibility_Checker' => __DIR__ . '/..' . '/wpdesk/wp-plugin-flow/src/Compatibility/Plugin_Compatibility_Checker.php',
|
239 |
+
'WPDesk_Plugin_Compatibility_Guard_V2' => __DIR__ . '/..' . '/wpdesk/wp-plugin-flow/src/Compatibility/Plugin_Compatibility_Guard.php',
|
240 |
'WPDesk_Plugin_Disabler' => __DIR__ . '/..' . '/wpdesk/wp-plugin-flow/src/Compatibility/Plugin_Disabler.php',
|
241 |
'WPDesk_Plugin_Disabler_By_File' => __DIR__ . '/..' . '/wpdesk/wp-plugin-flow/src/Compatibility/Plugin_Disabler_By_File.php',
|
242 |
'WPDesk_Plugin_Disabler_Variable' => __DIR__ . '/..' . '/wpdesk/wp-plugin-flow/src/Compatibility/Plugin_Disabler_Variable.php',
|
281 |
public static function getInitializer(ClassLoader $loader)
|
282 |
{
|
283 |
return \Closure::bind(function () use ($loader) {
|
284 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit92112b3eff003d58ae8f564d870b7d04::$prefixLengthsPsr4;
|
285 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit92112b3eff003d58ae8f564d870b7d04::$prefixDirsPsr4;
|
286 |
+
$loader->classMap = ComposerStaticInit92112b3eff003d58ae8f564d870b7d04::$classMap;
|
287 |
|
288 |
}, null, ClassLoader::class);
|
289 |
}
|
vendor/composer/installed.json
CHANGED
@@ -393,17 +393,17 @@
|
|
393 |
},
|
394 |
{
|
395 |
"name": "wpdesk/wp-plugin-flow",
|
396 |
-
"version": "1.9.
|
397 |
-
"version_normalized": "1.9.
|
398 |
"source": {
|
399 |
"type": "git",
|
400 |
"url": "https://gitlab.com/wpdesk/wp-plugin-flow.git",
|
401 |
-
"reference": "
|
402 |
},
|
403 |
"dist": {
|
404 |
"type": "zip",
|
405 |
-
"url": "https://gitlab.com/api/v4/projects/wpdesk%2Fwp-plugin-flow/repository/archive.zip?sha=
|
406 |
-
"reference": "
|
407 |
"shasum": ""
|
408 |
},
|
409 |
"require": {
|
@@ -421,7 +421,7 @@
|
|
421 |
"squizlabs/php_codesniffer": "^3.4.2",
|
422 |
"wp-coding-standards/wpcs": "^0.14.1"
|
423 |
},
|
424 |
-
"time": "2019-07-
|
425 |
"type": "library",
|
426 |
"installation-source": "dist",
|
427 |
"autoload": {
|
@@ -439,17 +439,17 @@
|
|
439 |
},
|
440 |
{
|
441 |
"name": "wpdesk/wp-wpdesk-helper",
|
442 |
-
"version": "1.3.
|
443 |
-
"version_normalized": "1.3.
|
444 |
"source": {
|
445 |
"type": "git",
|
446 |
"url": "https://gitlab.com/wpdesk/wp-wpdesk-helper.git",
|
447 |
-
"reference": "
|
448 |
},
|
449 |
"dist": {
|
450 |
"type": "zip",
|
451 |
-
"url": "https://gitlab.com/api/v4/projects/wpdesk%2Fwp-wpdesk-helper/repository/archive.zip?sha=
|
452 |
-
"reference": "
|
453 |
"shasum": ""
|
454 |
},
|
455 |
"require": {
|
@@ -468,7 +468,7 @@
|
|
468 |
"wimg/php-compatibility": "^8",
|
469 |
"wp-coding-standards/wpcs": "^0.14.1"
|
470 |
},
|
471 |
-
"time": "2019-07-
|
472 |
"type": "library",
|
473 |
"installation-source": "dist",
|
474 |
"autoload": {
|
393 |
},
|
394 |
{
|
395 |
"name": "wpdesk/wp-plugin-flow",
|
396 |
+
"version": "1.9.1",
|
397 |
+
"version_normalized": "1.9.1.0",
|
398 |
"source": {
|
399 |
"type": "git",
|
400 |
"url": "https://gitlab.com/wpdesk/wp-plugin-flow.git",
|
401 |
+
"reference": "68db904eb138708a057a3101649b2936154b3eee"
|
402 |
},
|
403 |
"dist": {
|
404 |
"type": "zip",
|
405 |
+
"url": "https://gitlab.com/api/v4/projects/wpdesk%2Fwp-plugin-flow/repository/archive.zip?sha=68db904eb138708a057a3101649b2936154b3eee",
|
406 |
+
"reference": "68db904eb138708a057a3101649b2936154b3eee",
|
407 |
"shasum": ""
|
408 |
},
|
409 |
"require": {
|
421 |
"squizlabs/php_codesniffer": "^3.4.2",
|
422 |
"wp-coding-standards/wpcs": "^0.14.1"
|
423 |
},
|
424 |
+
"time": "2019-07-11T11:37:26+00:00",
|
425 |
"type": "library",
|
426 |
"installation-source": "dist",
|
427 |
"autoload": {
|
439 |
},
|
440 |
{
|
441 |
"name": "wpdesk/wp-wpdesk-helper",
|
442 |
+
"version": "1.3.2",
|
443 |
+
"version_normalized": "1.3.2.0",
|
444 |
"source": {
|
445 |
"type": "git",
|
446 |
"url": "https://gitlab.com/wpdesk/wp-wpdesk-helper.git",
|
447 |
+
"reference": "8ede5e7fb14c76d6a30f0f76af362360c9e9e386"
|
448 |
},
|
449 |
"dist": {
|
450 |
"type": "zip",
|
451 |
+
"url": "https://gitlab.com/api/v4/projects/wpdesk%2Fwp-wpdesk-helper/repository/archive.zip?sha=8ede5e7fb14c76d6a30f0f76af362360c9e9e386",
|
452 |
+
"reference": "8ede5e7fb14c76d6a30f0f76af362360c9e9e386",
|
453 |
"shasum": ""
|
454 |
},
|
455 |
"require": {
|
468 |
"wimg/php-compatibility": "^8",
|
469 |
"wp-coding-standards/wpcs": "^0.14.1"
|
470 |
},
|
471 |
+
"time": "2019-07-04T07:12:18+00:00",
|
472 |
"type": "library",
|
473 |
"installation-source": "dist",
|
474 |
"autoload": {
|
vendor/wpdesk/wp-plugin-flow/CHANGELOG.md
CHANGED
@@ -1,3 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
## [1.9.0] - 2019-07-01
|
2 |
### Added
|
3 |
- Translations
|
1 |
+
## [1.9.1] - 2019-07-11
|
2 |
+
### Fixed
|
3 |
+
- Changed name of WPDesk_Plugin_Compatibility_Guard to WPDesk_Plugin_Compatibility_Guard_V2,
|
4 |
+
so there is no chance for conflict now.
|
5 |
+
|
6 |
## [1.9.0] - 2019-07-01
|
7 |
### Added
|
8 |
- Translations
|
vendor/wpdesk/wp-plugin-flow/src/Build_Flow/Plugin_Build_Flow_Composer.php
CHANGED
@@ -59,7 +59,7 @@ class WPDesk_Plugin_Build_Flow_Composer implements WPDesk_Plugin_Build_Flow {
|
|
59 |
private function is_plugin_compatible() {
|
60 |
$checker = new WPDesk_Plugin_Compatibility_Checker();
|
61 |
|
62 |
-
$guard = new
|
63 |
$this->plugin_info->get_plugin_file_name(),
|
64 |
$checker
|
65 |
);
|
59 |
private function is_plugin_compatible() {
|
60 |
$checker = new WPDesk_Plugin_Compatibility_Checker();
|
61 |
|
62 |
+
$guard = new WPDesk_Plugin_Compatibility_Guard_V2(
|
63 |
$this->plugin_info->get_plugin_file_name(),
|
64 |
$checker
|
65 |
);
|
vendor/wpdesk/wp-plugin-flow/src/Compatibility/Plugin_Compatibility_Guard.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
/**
|
4 |
* Class to guard that given plugin is compatible with running plugins
|
5 |
*/
|
6 |
-
class
|
7 |
/** @var string */
|
8 |
private $plugin_file;
|
9 |
|
3 |
/**
|
4 |
* Class to guard that given plugin is compatible with running plugins
|
5 |
*/
|
6 |
+
class WPDesk_Plugin_Compatibility_Guard_V2 {
|
7 |
/** @var string */
|
8 |
private $plugin_file;
|
9 |
|
vendor/wpdesk/wp-wpdesk-helper/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
1 |
## [1.3.1] - 2019-07-02
|
2 |
### Changed
|
3 |
- Minor change in translated phrase "Subskrypcje WP Desk"
|
1 |
+
## [1.3.2] - 2019-07-03
|
2 |
+
### Fixed
|
3 |
+
- Support for old FS with old wpdesk/log library
|
4 |
+
|
5 |
## [1.3.1] - 2019-07-02
|
6 |
### Changed
|
7 |
- Minor change in translated phrase "Subskrypcje WP Desk"
|
vendor/wpdesk/wp-wpdesk-helper/src/Integration/LogsIntegration.php
CHANGED
@@ -57,9 +57,11 @@ class LogsIntegration implements Hookable {
|
|
57 |
$options[ self::DEBUG_LOG_SETTING_KEY ] = '0';
|
58 |
}
|
59 |
?>
|
60 |
-
<input type="checkbox" id="wpdesk_helper_options[<?php echo self::DEBUG_LOG_SETTING_KEY; ?>]"
|
|
|
61 |
value="1" <?php checked( 1, $options[ self::DEBUG_LOG_SETTING_KEY ], true ); ?>>
|
62 |
-
<label for="wpdesk_helper_options[<?php echo self::DEBUG_LOG_SETTING_KEY; ?>]"><?php _e( 'Enable',
|
|
|
63 |
<p class="description" id="admin-email-description">
|
64 |
<?php echo sprintf( __( 'Writes error log to %s.', 'wpdesk-helper' ),
|
65 |
'<a target="_blank" href="' . content_url( 'uploads/wpdesk-logs/wpdesk_debug.log' ) . '">' . content_url( 'uploads/wpdesk-logs/wpdesk_debug.log' ) . '</a>' ); ?>
|
@@ -69,13 +71,18 @@ class LogsIntegration implements Hookable {
|
|
69 |
|
70 |
private function is_logger_active() {
|
71 |
$options = $this->settings_page->get_saved_options();
|
|
|
72 |
return isset( $options[ self::DEBUG_LOG_SETTING_KEY ] ) && '1' === $options[ self::DEBUG_LOG_SETTING_KEY ];
|
73 |
-
|
74 |
|
75 |
private function wpdesk_log_init() {
|
76 |
$logger_factory = new WPDeskLoggerFactory();
|
77 |
-
|
78 |
-
|
|
|
|
|
|
|
|
|
79 |
}
|
80 |
|
81 |
private function maybe_show_logging_notice() {
|
@@ -96,7 +103,7 @@ class LogsIntegration implements Hookable {
|
|
96 |
);
|
97 |
}
|
98 |
}
|
99 |
-
|
100 |
|
101 |
public function get_logger() {
|
102 |
return $this->logger;
|
57 |
$options[ self::DEBUG_LOG_SETTING_KEY ] = '0';
|
58 |
}
|
59 |
?>
|
60 |
+
<input type="checkbox" id="wpdesk_helper_options[<?php echo self::DEBUG_LOG_SETTING_KEY; ?>]"
|
61 |
+
name="wpdesk_helper_options[<?php echo self::DEBUG_LOG_SETTING_KEY; ?>]"
|
62 |
value="1" <?php checked( 1, $options[ self::DEBUG_LOG_SETTING_KEY ], true ); ?>>
|
63 |
+
<label for="wpdesk_helper_options[<?php echo self::DEBUG_LOG_SETTING_KEY; ?>]"><?php _e( 'Enable',
|
64 |
+
'wpdesk-helper' ); ?></label>
|
65 |
<p class="description" id="admin-email-description">
|
66 |
<?php echo sprintf( __( 'Writes error log to %s.', 'wpdesk-helper' ),
|
67 |
'<a target="_blank" href="' . content_url( 'uploads/wpdesk-logs/wpdesk_debug.log' ) . '">' . content_url( 'uploads/wpdesk-logs/wpdesk_debug.log' ) . '</a>' ); ?>
|
71 |
|
72 |
private function is_logger_active() {
|
73 |
$options = $this->settings_page->get_saved_options();
|
74 |
+
|
75 |
return isset( $options[ self::DEBUG_LOG_SETTING_KEY ] ) && '1' === $options[ self::DEBUG_LOG_SETTING_KEY ];
|
76 |
+
}
|
77 |
|
78 |
private function wpdesk_log_init() {
|
79 |
$logger_factory = new WPDeskLoggerFactory();
|
80 |
+
|
81 |
+
/** support for very old FS*/
|
82 |
+
if ( property_exists( $logger_factory, 'shouldLoggerBeActivated' ) ) {
|
83 |
+
$logger_factory::$shouldLoggerBeActivated = $this->is_logger_active();
|
84 |
+
$this->logger = $logger_factory->createWPDeskLogger();
|
85 |
+
}
|
86 |
}
|
87 |
|
88 |
private function maybe_show_logging_notice() {
|
103 |
);
|
104 |
}
|
105 |
}
|
106 |
+
}
|
107 |
|
108 |
public function get_logger() {
|
109 |
return $this->logger;
|