Version Description
- 2019-08-13 =
- Fixed fatal error when WPDesk_Tracker_Factory is not loaded by autoloader
Download this release
Release Info
Developer | jablonowski |
Plugin | Flexible Checkout Fields for WooCommerce – WooCommerce Checkout Manager |
Version | 2.0.8 |
Comparing to | |
See all releases |
Code changes from version 2.0.7 to 2.0.8
- flexible-checkout-fields.php +3 -3
- inc/wpdesk-woo27-functions.php +4 -3
- readme.txt +4 -1
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +7 -7
- vendor/composer/autoload_static.php +4 -4
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-08-13
|
42 |
define( 'FLEXIBLE_CHECKOUT_FIELDS_VERSION', $plugin_version );
|
43 |
|
44 |
if ( ! defined( 'FCF_VERSION' ) ) {
|
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.8
|
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.8';
|
41 |
+
$plugin_release_timestamp = '2019-08-13 15:31';
|
42 |
define( 'FLEXIBLE_CHECKOUT_FIELDS_VERSION', $plugin_version );
|
43 |
|
44 |
if ( ! defined( 'FCF_VERSION' ) ) {
|
inc/wpdesk-woo27-functions.php
CHANGED
@@ -79,9 +79,10 @@ function flexible_chekout_fields_plugins_loaded() {
|
|
79 |
return apply_filters( 'wpdesk_tracker_enabled', $tracker_enabled );
|
80 |
}
|
81 |
}
|
82 |
-
|
83 |
-
|
84 |
-
|
|
|
85 |
}
|
86 |
|
87 |
|
79 |
return apply_filters( 'wpdesk_tracker_enabled', $tracker_enabled );
|
80 |
}
|
81 |
}
|
82 |
+
if ( class_exists( 'WPDesk_Tracker_Factory' ) ) {
|
83 |
+
$tracker_factory = new WPDesk_Tracker_Factory();
|
84 |
+
$tracker_factory->create_tracker( basename( dirname( __FILE__ ) ) );
|
85 |
+
}
|
86 |
}
|
87 |
|
88 |
|
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.0
|
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,9 @@ If you are upgrading from the old WooCommerce Checkout Fields version (1.1, wooc
|
|
188 |
|
189 |
== Changelog ==
|
190 |
|
|
|
|
|
|
|
191 |
= 2.0.7 - 2019-08-12 =
|
192 |
* Fixed warning in admin are on CSS class
|
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.0
|
7 |
+
Stable tag: 2.0.8
|
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.8 - 2019-08-13 =
|
192 |
+
* Fixed fatal error when WPDesk_Tracker_Factory is not loaded by autoloader
|
193 |
+
|
194 |
= 2.0.7 - 2019-08-12 =
|
195 |
* Fixed warning in admin are on CSS class
|
196 |
|
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 ComposerAutoloaderInit4ffc23bc70c3f16b6cd9f27f1b1cf958::getLoader();
|
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 ComposerAutoloaderInit847bdd6cb47efe0a21dc79bd844805ca
|
|
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 ComposerAutoloaderInit847bdd6cb47efe0a21dc79bd844805ca
|
|
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 ComposerAutoloaderInit4ffc23bc70c3f16b6cd9f27f1b1cf958
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInit4ffc23bc70c3f16b6cd9f27f1b1cf958', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit4ffc23bc70c3f16b6cd9f27f1b1cf958', '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\ComposerStaticInit4ffc23bc70c3f16b6cd9f27f1b1cf958::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\ComposerStaticInit4ffc23bc70c3f16b6cd9f27f1b1cf958::$files;
|
52 |
} else {
|
53 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
54 |
}
|
55 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
56 |
+
composerRequire4ffc23bc70c3f16b6cd9f27f1b1cf958($fileIdentifier, $file);
|
57 |
}
|
58 |
|
59 |
return $loader;
|
60 |
}
|
61 |
}
|
62 |
|
63 |
+
function composerRequire4ffc23bc70c3f16b6cd9f27f1b1cf958($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',
|
@@ -281,9 +281,9 @@ class ComposerStaticInit847bdd6cb47efe0a21dc79bd844805ca
|
|
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 ComposerStaticInit4ffc23bc70c3f16b6cd9f27f1b1cf958
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'0509b34a4bd7aebefeac629c9dc8a978' => __DIR__ . '/..' . '/wpdesk/wp-notice/src/WPDesk/notice-functions.php',
|
281 |
public static function getInitializer(ClassLoader $loader)
|
282 |
{
|
283 |
return \Closure::bind(function () use ($loader) {
|
284 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit4ffc23bc70c3f16b6cd9f27f1b1cf958::$prefixLengthsPsr4;
|
285 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit4ffc23bc70c3f16b6cd9f27f1b1cf958::$prefixDirsPsr4;
|
286 |
+
$loader->classMap = ComposerStaticInit4ffc23bc70c3f16b6cd9f27f1b1cf958::$classMap;
|
287 |
|
288 |
}, null, ClassLoader::class);
|
289 |
}
|