Version Description
- 2021-07-15 =
- Added support for WordPress 5.8
- Added support for WooCommerce 5.5
Download this release
Release Info
Developer | wpdesk |
Plugin | Flexible Checkout Fields for WooCommerce – WooCommerce Checkout Manager |
Version | 3.0.11 |
Comparing to | |
See all releases |
Code changes from version 3.0.10 to 3.0.11
- flexible-checkout-fields.php +5 -5
- lang/flexible-checkout-fields.pot +3 -3
- readme.txt +6 -2
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +4 -4
- vendor/composer/autoload_static.php +4 -4
- vendor_prefixed/monolog/monolog/src/Monolog/Logger.php +1 -1
- vendor_prefixed/wpdesk/wp-code-sniffer/composer.json +18 -14
- vendor_prefixed/wpdesk/wp-wpdesk-helper/src/HelperRemover.php +3 -3
- vendor_prefixed/wpdesk/wp-wpdesk-helper/src/UpgradeSoonNotice.php +4 -0
flexible-checkout-fields.php
CHANGED
@@ -3,15 +3,15 @@
|
|
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: 3.0.
|
7 |
Author: WP Desk
|
8 |
Author URI: https://www.wpdesk.net/
|
9 |
Text Domain: flexible-checkout-fields
|
10 |
Domain Path: /lang/
|
11 |
Requires at least: 5.2
|
12 |
-
Tested up to: 5.
|
13 |
-
WC requires at least:
|
14 |
-
WC tested up to: 5.
|
15 |
Requires PHP: 7.0
|
16 |
|
17 |
Copyright 2017 WP Desk Ltd.
|
@@ -39,7 +39,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
39 |
|
40 |
|
41 |
/* THIS VARIABLE CAN BE CHANGED AUTOMATICALLY */
|
42 |
-
$plugin_version = '3.0.
|
43 |
|
44 |
/*
|
45 |
* Update when conditions are met:
|
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: 3.0.11
|
7 |
Author: WP Desk
|
8 |
Author URI: https://www.wpdesk.net/
|
9 |
Text Domain: flexible-checkout-fields
|
10 |
Domain Path: /lang/
|
11 |
Requires at least: 5.2
|
12 |
+
Tested up to: 5.8
|
13 |
+
WC requires at least: 5.2
|
14 |
+
WC tested up to: 5.5
|
15 |
Requires PHP: 7.0
|
16 |
|
17 |
Copyright 2017 WP Desk Ltd.
|
39 |
|
40 |
|
41 |
/* THIS VARIABLE CAN BE CHANGED AUTOMATICALLY */
|
42 |
+
$plugin_version = '3.0.11';
|
43 |
|
44 |
/*
|
45 |
* Update when conditions are met:
|
lang/flexible-checkout-fields.pot
CHANGED
@@ -2,16 +2,16 @@
|
|
2 |
# This file is distributed under the same license as the Flexible Checkout Fields plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Flexible Checkout Fields 3.0.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/flexible-checkout-fields\n"
|
7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"POT-Creation-Date: 2021-
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
-
"X-Generator: WP-CLI 2.
|
15 |
"X-Domain: flexible-checkout-fields\n"
|
16 |
|
17 |
#. Plugin Name of the plugin
|
2 |
# This file is distributed under the same license as the Flexible Checkout Fields plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Flexible Checkout Fields 3.0.11\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/flexible-checkout-fields\n"
|
7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"POT-Creation-Date: 2021-07-15T16:47:32+00:00\n"
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
+
"X-Generator: WP-CLI 2.4.0\n"
|
15 |
"X-Domain: flexible-checkout-fields\n"
|
16 |
|
17 |
#. Plugin Name of the plugin
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== Flexible Checkout Fields for WooCommerce ===
|
2 |
|
3 |
-
Contributors: wpdesk,dyszczo,grola,piotrpo,marcinkolanko,mateuszgbiorczyk,sebastianpisula
|
4 |
Donate link: https://www.wpdesk.net/flexible-checkout-fields-woocommerce/
|
5 |
Tags: woocommerce checkout fields, woocommerce custom fields, woocommerce checkout manager, woocommerce checkout editor, woocommerce fields manager
|
6 |
Requires at least: 4.9
|
7 |
-
Tested up to: 5.
|
8 |
Stable tag: trunk
|
9 |
Requires PHP: 7.0
|
10 |
License: GPLv3 or later
|
@@ -187,6 +187,10 @@ If you are upgrading from the old WooCommerce Checkout Fields version (1.1, wooc
|
|
187 |
|
188 |
== Changelog ==
|
189 |
|
|
|
|
|
|
|
|
|
190 |
= 3.0.10 - 2021-05-20 =
|
191 |
* Fixed support for checkbox, radio and select fields added by other plugins
|
192 |
* Added support for WooCommerce 5.3
|
1 |
=== Flexible Checkout Fields for WooCommerce ===
|
2 |
|
3 |
+
Contributors: wpdesk,dyszczo,grola,piotrpo,marcinkolanko,mateuszgbiorczyk,sebastianpisula,bartj
|
4 |
Donate link: https://www.wpdesk.net/flexible-checkout-fields-woocommerce/
|
5 |
Tags: woocommerce checkout fields, woocommerce custom fields, woocommerce checkout manager, woocommerce checkout editor, woocommerce fields manager
|
6 |
Requires at least: 4.9
|
7 |
+
Tested up to: 5.8
|
8 |
Stable tag: trunk
|
9 |
Requires PHP: 7.0
|
10 |
License: GPLv3 or later
|
187 |
|
188 |
== Changelog ==
|
189 |
|
190 |
+
= 3.0.11 - 2021-07-15 =
|
191 |
+
* Added support for WordPress 5.8
|
192 |
+
* Added support for WooCommerce 5.5
|
193 |
+
|
194 |
= 3.0.10 - 2021-05-20 =
|
195 |
* Fixed support for checkbox, radio and select fields added by other plugins
|
196 |
* Added support for WooCommerce 5.3
|
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 ComposerAutoloaderInit9148b2bdd1ebdaa6d6fe67d208abe94c::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 |
|
@@ -22,15 +22,15 @@ class ComposerAutoloaderInitbd920cdc00ca8143065e1e2a0f4c2210
|
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
-
spl_autoload_register(array('
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
-
spl_autoload_unregister(array('
|
28 |
|
29 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
30 |
if ($useStaticLoader) {
|
31 |
require_once __DIR__ . '/autoload_static.php';
|
32 |
|
33 |
-
call_user_func(\Composer\Autoload\
|
34 |
} else {
|
35 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
36 |
foreach ($map as $namespace => $path) {
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit9148b2bdd1ebdaa6d6fe67d208abe94c
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
+
spl_autoload_register(array('ComposerAutoloaderInit9148b2bdd1ebdaa6d6fe67d208abe94c', 'loadClassLoader'), true, true);
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit9148b2bdd1ebdaa6d6fe67d208abe94c', 'loadClassLoader'));
|
28 |
|
29 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
30 |
if ($useStaticLoader) {
|
31 |
require_once __DIR__ . '/autoload_static.php';
|
32 |
|
33 |
+
call_user_func(\Composer\Autoload\ComposerStaticInit9148b2bdd1ebdaa6d6fe67d208abe94c::getInitializer($loader));
|
34 |
} else {
|
35 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
36 |
foreach ($map as $namespace => $path) {
|
vendor/composer/autoload_static.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'W' =>
|
@@ -410,9 +410,9 @@ class ComposerStaticInitbd920cdc00ca8143065e1e2a0f4c2210
|
|
410 |
public static function getInitializer(ClassLoader $loader)
|
411 |
{
|
412 |
return \Closure::bind(function () use ($loader) {
|
413 |
-
$loader->prefixLengthsPsr4 =
|
414 |
-
$loader->prefixDirsPsr4 =
|
415 |
-
$loader->classMap =
|
416 |
|
417 |
}, null, ClassLoader::class);
|
418 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit9148b2bdd1ebdaa6d6fe67d208abe94c
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'W' =>
|
410 |
public static function getInitializer(ClassLoader $loader)
|
411 |
{
|
412 |
return \Closure::bind(function () use ($loader) {
|
413 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit9148b2bdd1ebdaa6d6fe67d208abe94c::$prefixLengthsPsr4;
|
414 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit9148b2bdd1ebdaa6d6fe67d208abe94c::$prefixDirsPsr4;
|
415 |
+
$loader->classMap = ComposerStaticInit9148b2bdd1ebdaa6d6fe67d208abe94c::$classMap;
|
416 |
|
417 |
}, null, ClassLoader::class);
|
418 |
}
|
vendor_prefixed/monolog/monolog/src/Monolog/Logger.php
CHANGED
@@ -271,7 +271,7 @@ class Logger implements \Psr\Log\LoggerInterface, \FcfVendor\Monolog\ResettableI
|
|
271 |
if ($this->microsecondTimestamps && \PHP_VERSION_ID < 70100) {
|
272 |
$ts = \DateTime::createFromFormat('U.u', \sprintf('%.6F', \microtime(\true)), static::$timezone);
|
273 |
} else {
|
274 |
-
$ts = new \DateTime(
|
275 |
}
|
276 |
$ts->setTimezone(static::$timezone);
|
277 |
$record = array('message' => (string) $message, 'context' => $context, 'level' => $level, 'level_name' => $levelName, 'channel' => $this->name, 'datetime' => $ts, 'extra' => array());
|
271 |
if ($this->microsecondTimestamps && \PHP_VERSION_ID < 70100) {
|
272 |
$ts = \DateTime::createFromFormat('U.u', \sprintf('%.6F', \microtime(\true)), static::$timezone);
|
273 |
} else {
|
274 |
+
$ts = new \DateTime('now', static::$timezone);
|
275 |
}
|
276 |
$ts->setTimezone(static::$timezone);
|
277 |
$record = array('message' => (string) $message, 'context' => $context, 'level' => $level, 'level_name' => $levelName, 'channel' => $this->name, 'datetime' => $ts, 'extra' => array());
|
vendor_prefixed/wpdesk/wp-code-sniffer/composer.json
CHANGED
@@ -1,15 +1,17 @@
|
|
1 |
{
|
2 |
"name": "wpdesk\/wp-code-sniffer",
|
3 |
-
"description": "Library for WP Desk Coding
|
4 |
"license": "MIT",
|
5 |
"keywords": [
|
6 |
"wordpress",
|
7 |
"code sniffer",
|
8 |
-
"admin"
|
|
|
9 |
],
|
10 |
"homepage": "https:\/\/gitlab.com\/wpdesk\/wp-code-sniffer",
|
11 |
"type": "phpcodesniffer-standard",
|
12 |
"prefer-stable": true,
|
|
|
13 |
"authors": [
|
14 |
{
|
15 |
"name": "grola",
|
@@ -17,22 +19,24 @@
|
|
17 |
}
|
18 |
],
|
19 |
"require": {
|
|
|
20 |
"dealerdirect\/phpcodesniffer-composer-installer": "0.6|^0.7",
|
21 |
-
"
|
22 |
-
"
|
23 |
-
"wp
|
24 |
},
|
25 |
"require-dev": {
|
26 |
-
"
|
27 |
-
"mockery\/mockery": "*",
|
28 |
-
"10up\/wp_mock": "*"
|
29 |
},
|
30 |
-
"autoload": {},
|
31 |
-
"autoload-dev": {},
|
32 |
"scripts": {
|
33 |
-
"
|
34 |
-
|
35 |
-
|
36 |
-
"
|
|
|
|
|
|
|
|
|
|
|
37 |
}
|
38 |
}
|
1 |
{
|
2 |
"name": "wpdesk\/wp-code-sniffer",
|
3 |
+
"description": "Library for WP Desk Coding Standards in plugins.",
|
4 |
"license": "MIT",
|
5 |
"keywords": [
|
6 |
"wordpress",
|
7 |
"code sniffer",
|
8 |
+
"admin",
|
9 |
+
"phpcs"
|
10 |
],
|
11 |
"homepage": "https:\/\/gitlab.com\/wpdesk\/wp-code-sniffer",
|
12 |
"type": "phpcodesniffer-standard",
|
13 |
"prefer-stable": true,
|
14 |
+
"version": "1.2.3",
|
15 |
"authors": [
|
16 |
{
|
17 |
"name": "grola",
|
19 |
}
|
20 |
],
|
21 |
"require": {
|
22 |
+
"php": ">=7.0",
|
23 |
"dealerdirect\/phpcodesniffer-composer-installer": "0.6|^0.7",
|
24 |
+
"squizlabs\/php_codesniffer": "^3.6",
|
25 |
+
"wp-coding-standards\/wpcs": "^2.3",
|
26 |
+
"phpcompatibility\/phpcompatibility-wp": "^2.1.1"
|
27 |
},
|
28 |
"require-dev": {
|
29 |
+
"roave\/security-advisories": "dev-latest"
|
|
|
|
|
30 |
},
|
|
|
|
|
31 |
"scripts": {
|
32 |
+
"install-codestandards": [
|
33 |
+
"Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run"
|
34 |
+
],
|
35 |
+
"pre-package-install": [
|
36 |
+
"@install-codestandards"
|
37 |
+
],
|
38 |
+
"post-package-update": [
|
39 |
+
"@install-codestandards"
|
40 |
+
]
|
41 |
}
|
42 |
}
|
vendor_prefixed/wpdesk/wp-wpdesk-helper/src/HelperRemover.php
CHANGED
@@ -55,9 +55,9 @@ class HelperRemover implements \FcfVendor\WPDesk\PluginBuilder\Plugin\Hookable
|
|
55 |
private function remove_object_action_by_name($action_name, $priority, $function_name)
|
56 |
{
|
57 |
global $wp_filter;
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
$default_priority_callbacks = $admin_notices_tag->callbacks[$priority];
|
62 |
foreach ($default_priority_callbacks as $callback) {
|
63 |
if (\is_array($callback) && \is_array($callback[self::CALLBACK_KEY]) && isset($callback[self::CALLBACK_KEY][self::CALLBACK_KEY_WITH_FUNCTION_NAME])) {
|
55 |
private function remove_object_action_by_name($action_name, $priority, $function_name)
|
56 |
{
|
57 |
global $wp_filter;
|
58 |
+
if (isset($wp_filter[$action_name]) && isset($wp_filter[$action_name]->callbacks[$priority])) {
|
59 |
+
/** @var WP_Hook $admin_notices_tag */
|
60 |
+
$admin_notices_tag = $wp_filter[$action_name];
|
61 |
$default_priority_callbacks = $admin_notices_tag->callbacks[$priority];
|
62 |
foreach ($default_priority_callbacks as $callback) {
|
63 |
if (\is_array($callback) && \is_array($callback[self::CALLBACK_KEY]) && isset($callback[self::CALLBACK_KEY][self::CALLBACK_KEY_WITH_FUNCTION_NAME])) {
|
vendor_prefixed/wpdesk/wp-wpdesk-helper/src/UpgradeSoonNotice.php
CHANGED
@@ -19,6 +19,10 @@ class UpgradeSoonNotice
|
|
19 |
*/
|
20 |
private function is_old_wc()
|
21 |
{
|
|
|
|
|
|
|
|
|
22 |
return !\FcfVendor\WPDesk_Basic_Requirement_Checker::is_wc_at_least(self::SUPPORTED_WC);
|
23 |
}
|
24 |
/**
|
19 |
*/
|
20 |
private function is_old_wc()
|
21 |
{
|
22 |
+
if (!\defined('WC_VERSION')) {
|
23 |
+
// when there is no WC, assume it is not old.
|
24 |
+
return \false;
|
25 |
+
}
|
26 |
return !\FcfVendor\WPDesk_Basic_Requirement_Checker::is_wc_at_least(self::SUPPORTED_WC);
|
27 |
}
|
28 |
/**
|