Flexible Checkout Fields for WooCommerce – WooCommerce Checkout Manager - Version 2.4.11

Version Description

  • 2020-05-12 =
  • Fixed field name validation - validation works only on currently added fields
Download this release

Release Info

Developer wpdesk
Plugin Icon wp plugin Flexible Checkout Fields for WooCommerce – WooCommerce Checkout Manager
Version 2.4.11
Comparing to
See all releases

Code changes from version 2.4.10 to 2.4.11

classes/{class-flexible-checkout-fields-plugin.php → plugin.php} RENAMED
@@ -22,7 +22,7 @@ class Flexible_Checkout_Fields_Plugin extends \FcfVendor\WPDesk\PluginBuilder\Pl
22
  *
23
  * @var string
24
  */
25
- private $scripts_version = FLEXIBLE_CHECKOUT_FIELDS_VERSION . '.16';
26
 
27
  protected $fields = array();
28
 
22
  *
23
  * @var string
24
  */
25
+ private $scripts_version = FLEXIBLE_CHECKOUT_FIELDS_VERSION . '.19';
26
 
27
  protected $fields = array();
28
 
classes/views/settings-fields.php CHANGED
@@ -1001,7 +1001,7 @@ $validation_options = $this->plugin->field_validation->get_validation_options( $
1001
  // When Saving Form Remove disabled from Selects
1002
  jQuery('form').bind('submit', function (event) {
1003
  var return_false = false;
1004
- jQuery('.short_name').each(function(){
1005
  var field_settings = jQuery(this).closest('.field-item');
1006
  var custom_field = jQuery(field_settings).find('.field_custom_field');
1007
  if ( jQuery(custom_field).length && jQuery(custom_field).val() == '1' ) {
1001
  // When Saving Form Remove disabled from Selects
1002
  jQuery('form').bind('submit', function (event) {
1003
  var return_false = false;
1004
+ jQuery('li.just-added .short_name').each(function(){
1005
  var field_settings = jQuery(this).closest('.field-item');
1006
  var custom_field = jQuery(field_settings).find('.field_custom_field');
1007
  if ( jQuery(custom_field).length && jQuery(custom_field).val() == '1' ) {
composer.lock CHANGED
@@ -942,16 +942,16 @@
942
  },
943
  {
944
  "name": "composer/composer",
945
- "version": "1.10.5",
946
  "source": {
947
  "type": "git",
948
  "url": "https://github.com/composer/composer.git",
949
- "reference": "7a4d5b6aa30d2118af27c04f5e897b57156ccfa9"
950
  },
951
  "dist": {
952
  "type": "zip",
953
- "url": "https://api.github.com/repos/composer/composer/zipball/7a4d5b6aa30d2118af27c04f5e897b57156ccfa9",
954
- "reference": "7a4d5b6aa30d2118af27c04f5e897b57156ccfa9",
955
  "shasum": ""
956
  },
957
  "require": {
@@ -970,7 +970,8 @@
970
  "symfony/process": "^2.7 || ^3.0 || ^4.0 || ^5.0"
971
  },
972
  "conflict": {
973
- "symfony/console": "2.8.38"
 
974
  },
975
  "require-dev": {
976
  "phpspec/prophecy": "^1.10",
@@ -1018,7 +1019,7 @@
1018
  "dependency",
1019
  "package"
1020
  ],
1021
- "time": "2020-04-10T09:44:22+00:00"
1022
  },
1023
  {
1024
  "name": "composer/semver",
@@ -1620,61 +1621,6 @@
1620
  ],
1621
  "time": "2019-11-13T10:30:21+00:00"
1622
  },
1623
- {
1624
- "name": "gumlet/php-image-resize",
1625
- "version": "1.9.2",
1626
- "source": {
1627
- "type": "git",
1628
- "url": "https://github.com/gumlet/php-image-resize.git",
1629
- "reference": "06339a9c1b167acd58173db226f57957a6617547"
1630
- },
1631
- "dist": {
1632
- "type": "zip",
1633
- "url": "https://api.github.com/repos/gumlet/php-image-resize/zipball/06339a9c1b167acd58173db226f57957a6617547",
1634
- "reference": "06339a9c1b167acd58173db226f57957a6617547",
1635
- "shasum": ""
1636
- },
1637
- "require": {
1638
- "ext-fileinfo": "*",
1639
- "ext-gd": "*",
1640
- "php": ">=5.5.0"
1641
- },
1642
- "require-dev": {
1643
- "apigen/apigen": "^4.1",
1644
- "ext-exif": "*",
1645
- "ext-gd": "*",
1646
- "php-coveralls/php-coveralls": "^2.1",
1647
- "phpunit/phpunit": "^4.8"
1648
- },
1649
- "suggest": {
1650
- "ext-exif": "Auto-rotate jpeg files"
1651
- },
1652
- "type": "library",
1653
- "autoload": {
1654
- "psr-4": {
1655
- "Gumlet\\": "lib/"
1656
- }
1657
- },
1658
- "notification-url": "https://packagist.org/downloads/",
1659
- "license": [
1660
- "MIT"
1661
- ],
1662
- "authors": [
1663
- {
1664
- "name": "Aditya Patadia",
1665
- "homepage": "http://aditya.patadia.org/"
1666
- }
1667
- ],
1668
- "description": "PHP class to re-size and scale images",
1669
- "homepage": "https://github.com/gumlet/php-image-resize",
1670
- "keywords": [
1671
- "image",
1672
- "php",
1673
- "resize",
1674
- "scale"
1675
- ],
1676
- "time": "2019-01-01T13:53:00+00:00"
1677
- },
1678
  {
1679
  "name": "guzzlehttp/guzzle",
1680
  "version": "6.5.3",
@@ -2122,16 +2068,16 @@
2122
  },
2123
  {
2124
  "name": "lucatume/wp-browser",
2125
- "version": "2.4.8",
2126
  "source": {
2127
  "type": "git",
2128
  "url": "https://github.com/lucatume/wp-browser.git",
2129
- "reference": "b484620bca5bde60920affad9b2e74435be65e54"
2130
  },
2131
  "dist": {
2132
  "type": "zip",
2133
- "url": "https://api.github.com/repos/lucatume/wp-browser/zipball/b484620bca5bde60920affad9b2e74435be65e54",
2134
- "reference": "b484620bca5bde60920affad9b2e74435be65e54",
2135
  "shasum": ""
2136
  },
2137
  "require": {
@@ -2142,18 +2088,17 @@
2142
  "ext-iconv": "*",
2143
  "ext-json": "*",
2144
  "ext-pdo": "*",
2145
- "gumlet/php-image-resize": "^1.6",
2146
  "mikemclin/laravel-wp-password": "~2.0.0",
2147
  "php": ">=5.6.0",
2148
  "symfony/filesystem": "^3.0",
2149
  "symfony/process": ">=2.7 <5.0",
2150
- "vlucas/phpdotenv": "^3.0",
2151
  "vria/nodiacritic": "^0.1.2",
2152
  "wp-cli/wp-cli-bundle": ">=2.0 <3.0.0",
2153
  "zordius/lightncandy": "^1.2"
2154
  },
2155
  "require-dev": {
2156
  "erusev/parsedown": "^1.7",
 
2157
  "lucatume/codeception-snapshot-assertions": "^0.2",
2158
  "mikey179/vfsstream": "^1.6",
2159
  "victorjonsson/markdowndocs": "dev-master"
@@ -2165,7 +2110,9 @@
2165
  "codeception/module-filesystem": "Codeception 4.0 compatibility; required by the WPFilesystem module.",
2166
  "codeception/module-phpbrowser": "Codeception 4.0 compatibility; required by the WPBrowser module.",
2167
  "codeception/module-webdriver": "Codeception 4.0 compatibility; required by the WPWebDriver module.",
2168
- "codeception/util-universalframework": "Codeception 4.0 compatibility; required by the WordPress framework module."
 
 
2169
  },
2170
  "type": "library",
2171
  "extra": {
@@ -2199,7 +2146,7 @@
2199
  "codeception",
2200
  "wordpress"
2201
  ],
2202
- "time": "2020-05-01T11:37:05+00:00"
2203
  },
2204
  {
2205
  "name": "matthiasmullie/minify",
@@ -4775,16 +4722,16 @@
4775
  },
4776
  {
4777
  "name": "symfony/polyfill-ctype",
4778
- "version": "v1.15.0",
4779
  "source": {
4780
  "type": "git",
4781
  "url": "https://github.com/symfony/polyfill-ctype.git",
4782
- "reference": "4719fa9c18b0464d399f1a63bf624b42b6fa8d14"
4783
  },
4784
  "dist": {
4785
  "type": "zip",
4786
- "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/4719fa9c18b0464d399f1a63bf624b42b6fa8d14",
4787
- "reference": "4719fa9c18b0464d399f1a63bf624b42b6fa8d14",
4788
  "shasum": ""
4789
  },
4790
  "require": {
@@ -4796,7 +4743,7 @@
4796
  "type": "library",
4797
  "extra": {
4798
  "branch-alias": {
4799
- "dev-master": "1.15-dev"
4800
  }
4801
  },
4802
  "autoload": {
@@ -4829,20 +4776,20 @@
4829
  "polyfill",
4830
  "portable"
4831
  ],
4832
- "time": "2020-02-27T09:26:54+00:00"
4833
  },
4834
  {
4835
  "name": "symfony/polyfill-intl-idn",
4836
- "version": "v1.15.0",
4837
  "source": {
4838
  "type": "git",
4839
  "url": "https://github.com/symfony/polyfill-intl-idn.git",
4840
- "reference": "47bd6aa45beb1cd7c6a16b7d1810133b728bdfcf"
4841
  },
4842
  "dist": {
4843
  "type": "zip",
4844
- "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/47bd6aa45beb1cd7c6a16b7d1810133b728bdfcf",
4845
- "reference": "47bd6aa45beb1cd7c6a16b7d1810133b728bdfcf",
4846
  "shasum": ""
4847
  },
4848
  "require": {
@@ -4856,7 +4803,7 @@
4856
  "type": "library",
4857
  "extra": {
4858
  "branch-alias": {
4859
- "dev-master": "1.15-dev"
4860
  }
4861
  },
4862
  "autoload": {
@@ -4891,20 +4838,20 @@
4891
  "portable",
4892
  "shim"
4893
  ],
4894
- "time": "2020-03-09T19:04:49+00:00"
4895
  },
4896
  {
4897
  "name": "symfony/polyfill-mbstring",
4898
- "version": "v1.15.0",
4899
  "source": {
4900
  "type": "git",
4901
  "url": "https://github.com/symfony/polyfill-mbstring.git",
4902
- "reference": "81ffd3a9c6d707be22e3012b827de1c9775fc5ac"
4903
  },
4904
  "dist": {
4905
  "type": "zip",
4906
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/81ffd3a9c6d707be22e3012b827de1c9775fc5ac",
4907
- "reference": "81ffd3a9c6d707be22e3012b827de1c9775fc5ac",
4908
  "shasum": ""
4909
  },
4910
  "require": {
@@ -4916,7 +4863,7 @@
4916
  "type": "library",
4917
  "extra": {
4918
  "branch-alias": {
4919
- "dev-master": "1.15-dev"
4920
  }
4921
  },
4922
  "autoload": {
@@ -4950,20 +4897,20 @@
4950
  "portable",
4951
  "shim"
4952
  ],
4953
- "time": "2020-03-09T19:04:49+00:00"
4954
  },
4955
  {
4956
  "name": "symfony/polyfill-php72",
4957
- "version": "v1.15.0",
4958
  "source": {
4959
  "type": "git",
4960
  "url": "https://github.com/symfony/polyfill-php72.git",
4961
- "reference": "37b0976c78b94856543260ce09b460a7bc852747"
4962
  },
4963
  "dist": {
4964
  "type": "zip",
4965
- "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/37b0976c78b94856543260ce09b460a7bc852747",
4966
- "reference": "37b0976c78b94856543260ce09b460a7bc852747",
4967
  "shasum": ""
4968
  },
4969
  "require": {
@@ -4972,7 +4919,7 @@
4972
  "type": "library",
4973
  "extra": {
4974
  "branch-alias": {
4975
- "dev-master": "1.15-dev"
4976
  }
4977
  },
4978
  "autoload": {
@@ -5005,7 +4952,7 @@
5005
  "portable",
5006
  "shim"
5007
  ],
5008
- "time": "2020-02-27T09:26:54+00:00"
5009
  },
5010
  {
5011
  "name": "symfony/process",
@@ -5117,24 +5064,25 @@
5117
  },
5118
  {
5119
  "name": "vlucas/phpdotenv",
5120
- "version": "v3.6.4",
5121
  "source": {
5122
  "type": "git",
5123
  "url": "https://github.com/vlucas/phpdotenv.git",
5124
- "reference": "10d3f853fdf1f3a6b3c7ea0c4620d2f699713db5"
5125
  },
5126
  "dist": {
5127
  "type": "zip",
5128
- "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/10d3f853fdf1f3a6b3c7ea0c4620d2f699713db5",
5129
- "reference": "10d3f853fdf1f3a6b3c7ea0c4620d2f699713db5",
5130
  "shasum": ""
5131
  },
5132
  "require": {
5133
- "php": "^5.4 || ^7.0 || ^8.0",
5134
- "phpoption/phpoption": "^1.5",
5135
  "symfony/polyfill-ctype": "^1.9"
5136
  },
5137
  "require-dev": {
 
5138
  "ext-filter": "*",
5139
  "ext-pcre": "*",
5140
  "phpunit/phpunit": "^4.8.35 || ^5.0 || ^6.0 || ^7.0"
@@ -5146,7 +5094,7 @@
5146
  "type": "library",
5147
  "extra": {
5148
  "branch-alias": {
5149
- "dev-master": "3.6-dev"
5150
  }
5151
  },
5152
  "autoload": {
@@ -5176,7 +5124,7 @@
5176
  "env",
5177
  "environment"
5178
  ],
5179
- "time": "2020-05-02T13:46:13+00:00"
5180
  },
5181
  {
5182
  "name": "vria/nodiacritic",
@@ -6387,16 +6335,16 @@
6387
  },
6388
  {
6389
  "name": "wp-cli/media-command",
6390
- "version": "v2.0.7",
6391
  "source": {
6392
  "type": "git",
6393
  "url": "https://github.com/wp-cli/media-command.git",
6394
- "reference": "0b7fbee4c4aa9335b83fd5c65183808949ba1c8e"
6395
  },
6396
  "dist": {
6397
  "type": "zip",
6398
- "url": "https://api.github.com/repos/wp-cli/media-command/zipball/0b7fbee4c4aa9335b83fd5c65183808949ba1c8e",
6399
- "reference": "0b7fbee4c4aa9335b83fd5c65183808949ba1c8e",
6400
  "shasum": ""
6401
  },
6402
  "require": {
@@ -6441,7 +6389,7 @@
6441
  ],
6442
  "description": "Imports files as attachments, regenerates thumbnails, or lists registered image sizes.",
6443
  "homepage": "https://github.com/wp-cli/media-command",
6444
- "time": "2019-11-12T11:32:15+00:00"
6445
  },
6446
  {
6447
  "name": "wp-cli/mustangostang-spyc",
@@ -7242,16 +7190,16 @@
7242
  },
7243
  {
7244
  "name": "wp-coding-standards/wpcs",
7245
- "version": "2.2.1",
7246
  "source": {
7247
  "type": "git",
7248
  "url": "https://github.com/WordPress/WordPress-Coding-Standards.git",
7249
- "reference": "b5a453203114cc2284b1a614c4953456fbe4f546"
7250
  },
7251
  "dist": {
7252
  "type": "zip",
7253
- "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/b5a453203114cc2284b1a614c4953456fbe4f546",
7254
- "reference": "b5a453203114cc2284b1a614c4953456fbe4f546",
7255
  "shasum": ""
7256
  },
7257
  "require": {
@@ -7261,6 +7209,7 @@
7261
  "require-dev": {
7262
  "dealerdirect/phpcodesniffer-composer-installer": "^0.5 || ^0.6",
7263
  "phpcompatibility/php-compatibility": "^9.0",
 
7264
  "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"
7265
  },
7266
  "suggest": {
@@ -7283,7 +7232,7 @@
7283
  "standards",
7284
  "wordpress"
7285
  ],
7286
- "time": "2020-02-04T02:52:06+00:00"
7287
  },
7288
  {
7289
  "name": "wpdesk/wp-basic-requirements",
@@ -7421,16 +7370,16 @@
7421
  },
7422
  {
7423
  "name": "wpdesk/wp-codeception",
7424
- "version": "1.5.24",
7425
  "source": {
7426
  "type": "git",
7427
  "url": "https://gitlab.com/wpdesk/wp-codeception.git",
7428
- "reference": "04a40465fab6e07cf2ece61e86f547c7598c044e"
7429
  },
7430
  "dist": {
7431
  "type": "zip",
7432
- "url": "https://gitlab.com/api/v4/projects/wpdesk%2Fwp-codeception/repository/archive.zip?sha=04a40465fab6e07cf2ece61e86f547c7598c044e",
7433
- "reference": "04a40465fab6e07cf2ece61e86f547c7598c044e",
7434
  "shasum": ""
7435
  },
7436
  "require": {
@@ -7446,6 +7395,7 @@
7446
  "ext-json": "*",
7447
  "lucatume/wp-browser": "^2.4",
7448
  "php": ">=5.6",
 
7449
  "wpdesk/wp-builder": "^1.0"
7450
  },
7451
  "require-dev": {
@@ -7484,7 +7434,7 @@
7484
  "codeception",
7485
  "wordpress"
7486
  ],
7487
- "time": "2020-04-22T09:22:48+00:00"
7488
  },
7489
  {
7490
  "name": "wpdesk/wp-logs",
@@ -7586,16 +7536,16 @@
7586
  },
7587
  {
7588
  "name": "wpdesk/wp-plugin-flow",
7589
- "version": "2.6.0",
7590
  "source": {
7591
  "type": "git",
7592
  "url": "https://gitlab.com/wpdesk/wp-plugin-flow.git",
7593
- "reference": "5e6a816a9afea00bce3a70ac8569d7b4c6d33576"
7594
  },
7595
  "dist": {
7596
  "type": "zip",
7597
- "url": "https://gitlab.com/api/v4/projects/wpdesk%2Fwp-plugin-flow/repository/archive.zip?sha=5e6a816a9afea00bce3a70ac8569d7b4c6d33576",
7598
- "reference": "5e6a816a9afea00bce3a70ac8569d7b4c6d33576",
7599
  "shasum": ""
7600
  },
7601
  "require": {
@@ -7633,20 +7583,20 @@
7633
  "email": "krzysiek@wpdesk.pl"
7634
  }
7635
  ],
7636
- "time": "2020-04-15T15:17:53+00:00"
7637
  },
7638
  {
7639
  "name": "wpdesk/wp-wpdesk-composer",
7640
- "version": "2.8.1",
7641
  "source": {
7642
  "type": "git",
7643
  "url": "https://gitlab.com/wpdesk/wp-wpdesk-composer.git",
7644
- "reference": "6c65313b78e8168414c5a7b08ae09224de97cffb"
7645
  },
7646
  "dist": {
7647
  "type": "zip",
7648
- "url": "https://gitlab.com/api/v4/projects/wpdesk%2Fwp-wpdesk-composer/repository/archive.zip?sha=6c65313b78e8168414c5a7b08ae09224de97cffb",
7649
- "reference": "6c65313b78e8168414c5a7b08ae09224de97cffb",
7650
  "shasum": ""
7651
  },
7652
  "require": {
@@ -7676,7 +7626,7 @@
7676
  "email": "krzysiek@wpdesk.pl"
7677
  }
7678
  ],
7679
- "time": "2020-05-02T20:19:07+00:00"
7680
  },
7681
  {
7682
  "name": "wpdesk/wp-wpdesk-helper",
942
  },
943
  {
944
  "name": "composer/composer",
945
+ "version": "1.10.6",
946
  "source": {
947
  "type": "git",
948
  "url": "https://github.com/composer/composer.git",
949
+ "reference": "be81b9c4735362c26876bdbfd3b5bc7e7f711c88"
950
  },
951
  "dist": {
952
  "type": "zip",
953
+ "url": "https://api.github.com/repos/composer/composer/zipball/be81b9c4735362c26876bdbfd3b5bc7e7f711c88",
954
+ "reference": "be81b9c4735362c26876bdbfd3b5bc7e7f711c88",
955
  "shasum": ""
956
  },
957
  "require": {
970
  "symfony/process": "^2.7 || ^3.0 || ^4.0 || ^5.0"
971
  },
972
  "conflict": {
973
+ "symfony/console": "2.8.38",
974
+ "symfony/phpunit-bridge": "3.4.40"
975
  },
976
  "require-dev": {
977
  "phpspec/prophecy": "^1.10",
1019
  "dependency",
1020
  "package"
1021
  ],
1022
+ "time": "2020-05-06T08:28:10+00:00"
1023
  },
1024
  {
1025
  "name": "composer/semver",
1621
  ],
1622
  "time": "2019-11-13T10:30:21+00:00"
1623
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1624
  {
1625
  "name": "guzzlehttp/guzzle",
1626
  "version": "6.5.3",
2068
  },
2069
  {
2070
  "name": "lucatume/wp-browser",
2071
+ "version": "2.5.2",
2072
  "source": {
2073
  "type": "git",
2074
  "url": "https://github.com/lucatume/wp-browser.git",
2075
+ "reference": "3077f9c3b20cfe3fc3f817673fab6b9b1c28c4fe"
2076
  },
2077
  "dist": {
2078
  "type": "zip",
2079
+ "url": "https://api.github.com/repos/lucatume/wp-browser/zipball/3077f9c3b20cfe3fc3f817673fab6b9b1c28c4fe",
2080
+ "reference": "3077f9c3b20cfe3fc3f817673fab6b9b1c28c4fe",
2081
  "shasum": ""
2082
  },
2083
  "require": {
2088
  "ext-iconv": "*",
2089
  "ext-json": "*",
2090
  "ext-pdo": "*",
 
2091
  "mikemclin/laravel-wp-password": "~2.0.0",
2092
  "php": ">=5.6.0",
2093
  "symfony/filesystem": "^3.0",
2094
  "symfony/process": ">=2.7 <5.0",
 
2095
  "vria/nodiacritic": "^0.1.2",
2096
  "wp-cli/wp-cli-bundle": ">=2.0 <3.0.0",
2097
  "zordius/lightncandy": "^1.2"
2098
  },
2099
  "require-dev": {
2100
  "erusev/parsedown": "^1.7",
2101
+ "gumlet/php-image-resize": "^1.6",
2102
  "lucatume/codeception-snapshot-assertions": "^0.2",
2103
  "mikey179/vfsstream": "^1.6",
2104
  "victorjonsson/markdowndocs": "dev-master"
2110
  "codeception/module-filesystem": "Codeception 4.0 compatibility; required by the WPFilesystem module.",
2111
  "codeception/module-phpbrowser": "Codeception 4.0 compatibility; required by the WPBrowser module.",
2112
  "codeception/module-webdriver": "Codeception 4.0 compatibility; required by the WPWebDriver module.",
2113
+ "codeception/util-universalframework": "Codeception 4.0 compatibility; required by the WordPress framework module.",
2114
+ "gumlet/php-image-resize": "To handle runtime image modification in the WPDb::haveAttachmentInDatabase method.",
2115
+ "vlucas/phpdotenv": "To manage env file based configuration of the suites."
2116
  },
2117
  "type": "library",
2118
  "extra": {
2146
  "codeception",
2147
  "wordpress"
2148
  ],
2149
+ "time": "2020-05-13T09:56:14+00:00"
2150
  },
2151
  {
2152
  "name": "matthiasmullie/minify",
4722
  },
4723
  {
4724
  "name": "symfony/polyfill-ctype",
4725
+ "version": "v1.17.0",
4726
  "source": {
4727
  "type": "git",
4728
  "url": "https://github.com/symfony/polyfill-ctype.git",
4729
+ "reference": "e94c8b1bbe2bc77507a1056cdb06451c75b427f9"
4730
  },
4731
  "dist": {
4732
  "type": "zip",
4733
+ "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/e94c8b1bbe2bc77507a1056cdb06451c75b427f9",
4734
+ "reference": "e94c8b1bbe2bc77507a1056cdb06451c75b427f9",
4735
  "shasum": ""
4736
  },
4737
  "require": {
4743
  "type": "library",
4744
  "extra": {
4745
  "branch-alias": {
4746
+ "dev-master": "1.17-dev"
4747
  }
4748
  },
4749
  "autoload": {
4776
  "polyfill",
4777
  "portable"
4778
  ],
4779
+ "time": "2020-05-12T16:14:59+00:00"
4780
  },
4781
  {
4782
  "name": "symfony/polyfill-intl-idn",
4783
+ "version": "v1.17.0",
4784
  "source": {
4785
  "type": "git",
4786
  "url": "https://github.com/symfony/polyfill-intl-idn.git",
4787
+ "reference": "3bff59ea7047e925be6b7f2059d60af31bb46d6a"
4788
  },
4789
  "dist": {
4790
  "type": "zip",
4791
+ "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/3bff59ea7047e925be6b7f2059d60af31bb46d6a",
4792
+ "reference": "3bff59ea7047e925be6b7f2059d60af31bb46d6a",
4793
  "shasum": ""
4794
  },
4795
  "require": {
4803
  "type": "library",
4804
  "extra": {
4805
  "branch-alias": {
4806
+ "dev-master": "1.17-dev"
4807
  }
4808
  },
4809
  "autoload": {
4838
  "portable",
4839
  "shim"
4840
  ],
4841
+ "time": "2020-05-12T16:47:27+00:00"
4842
  },
4843
  {
4844
  "name": "symfony/polyfill-mbstring",
4845
+ "version": "v1.17.0",
4846
  "source": {
4847
  "type": "git",
4848
  "url": "https://github.com/symfony/polyfill-mbstring.git",
4849
+ "reference": "fa79b11539418b02fc5e1897267673ba2c19419c"
4850
  },
4851
  "dist": {
4852
  "type": "zip",
4853
+ "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/fa79b11539418b02fc5e1897267673ba2c19419c",
4854
+ "reference": "fa79b11539418b02fc5e1897267673ba2c19419c",
4855
  "shasum": ""
4856
  },
4857
  "require": {
4863
  "type": "library",
4864
  "extra": {
4865
  "branch-alias": {
4866
+ "dev-master": "1.17-dev"
4867
  }
4868
  },
4869
  "autoload": {
4897
  "portable",
4898
  "shim"
4899
  ],
4900
+ "time": "2020-05-12T16:47:27+00:00"
4901
  },
4902
  {
4903
  "name": "symfony/polyfill-php72",
4904
+ "version": "v1.17.0",
4905
  "source": {
4906
  "type": "git",
4907
  "url": "https://github.com/symfony/polyfill-php72.git",
4908
+ "reference": "f048e612a3905f34931127360bdd2def19a5e582"
4909
  },
4910
  "dist": {
4911
  "type": "zip",
4912
+ "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/f048e612a3905f34931127360bdd2def19a5e582",
4913
+ "reference": "f048e612a3905f34931127360bdd2def19a5e582",
4914
  "shasum": ""
4915
  },
4916
  "require": {
4919
  "type": "library",
4920
  "extra": {
4921
  "branch-alias": {
4922
+ "dev-master": "1.17-dev"
4923
  }
4924
  },
4925
  "autoload": {
4952
  "portable",
4953
  "shim"
4954
  ],
4955
+ "time": "2020-05-12T16:47:27+00:00"
4956
  },
4957
  {
4958
  "name": "symfony/process",
5064
  },
5065
  {
5066
  "name": "vlucas/phpdotenv",
5067
+ "version": "v4.1.5",
5068
  "source": {
5069
  "type": "git",
5070
  "url": "https://github.com/vlucas/phpdotenv.git",
5071
+ "reference": "539bb6927c101a5605d31d11a2d17185a2ce2bf1"
5072
  },
5073
  "dist": {
5074
  "type": "zip",
5075
+ "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/539bb6927c101a5605d31d11a2d17185a2ce2bf1",
5076
+ "reference": "539bb6927c101a5605d31d11a2d17185a2ce2bf1",
5077
  "shasum": ""
5078
  },
5079
  "require": {
5080
+ "php": "^5.5.9 || ^7.0 || ^8.0",
5081
+ "phpoption/phpoption": "^1.7.2",
5082
  "symfony/polyfill-ctype": "^1.9"
5083
  },
5084
  "require-dev": {
5085
+ "bamarni/composer-bin-plugin": "^1.3",
5086
  "ext-filter": "*",
5087
  "ext-pcre": "*",
5088
  "phpunit/phpunit": "^4.8.35 || ^5.0 || ^6.0 || ^7.0"
5094
  "type": "library",
5095
  "extra": {
5096
  "branch-alias": {
5097
+ "dev-master": "4.1-dev"
5098
  }
5099
  },
5100
  "autoload": {
5124
  "env",
5125
  "environment"
5126
  ],
5127
+ "time": "2020-05-02T14:08:57+00:00"
5128
  },
5129
  {
5130
  "name": "vria/nodiacritic",
6335
  },
6336
  {
6337
  "name": "wp-cli/media-command",
6338
+ "version": "v2.0.8",
6339
  "source": {
6340
  "type": "git",
6341
  "url": "https://github.com/wp-cli/media-command.git",
6342
+ "reference": "5181e5cee2f6cb43cfee6cacf3b08e8fb166b2b5"
6343
  },
6344
  "dist": {
6345
  "type": "zip",
6346
+ "url": "https://api.github.com/repos/wp-cli/media-command/zipball/5181e5cee2f6cb43cfee6cacf3b08e8fb166b2b5",
6347
+ "reference": "5181e5cee2f6cb43cfee6cacf3b08e8fb166b2b5",
6348
  "shasum": ""
6349
  },
6350
  "require": {
6389
  ],
6390
  "description": "Imports files as attachments, regenerates thumbnails, or lists registered image sizes.",
6391
  "homepage": "https://github.com/wp-cli/media-command",
6392
+ "time": "2020-05-13T16:21:49+00:00"
6393
  },
6394
  {
6395
  "name": "wp-cli/mustangostang-spyc",
7190
  },
7191
  {
7192
  "name": "wp-coding-standards/wpcs",
7193
+ "version": "2.3.0",
7194
  "source": {
7195
  "type": "git",
7196
  "url": "https://github.com/WordPress/WordPress-Coding-Standards.git",
7197
+ "reference": "7da1894633f168fe244afc6de00d141f27517b62"
7198
  },
7199
  "dist": {
7200
  "type": "zip",
7201
+ "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/7da1894633f168fe244afc6de00d141f27517b62",
7202
+ "reference": "7da1894633f168fe244afc6de00d141f27517b62",
7203
  "shasum": ""
7204
  },
7205
  "require": {
7209
  "require-dev": {
7210
  "dealerdirect/phpcodesniffer-composer-installer": "^0.5 || ^0.6",
7211
  "phpcompatibility/php-compatibility": "^9.0",
7212
+ "phpcsstandards/phpcsdevtools": "^1.0",
7213
  "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"
7214
  },
7215
  "suggest": {
7232
  "standards",
7233
  "wordpress"
7234
  ],
7235
+ "time": "2020-05-13T23:57:56+00:00"
7236
  },
7237
  {
7238
  "name": "wpdesk/wp-basic-requirements",
7370
  },
7371
  {
7372
  "name": "wpdesk/wp-codeception",
7373
+ "version": "1.5.25",
7374
  "source": {
7375
  "type": "git",
7376
  "url": "https://gitlab.com/wpdesk/wp-codeception.git",
7377
+ "reference": "eb7aeafae280896fbaa7c3e4bc69dd1b2cf7d141"
7378
  },
7379
  "dist": {
7380
  "type": "zip",
7381
+ "url": "https://gitlab.com/api/v4/projects/wpdesk%2Fwp-codeception/repository/archive.zip?sha=eb7aeafae280896fbaa7c3e4bc69dd1b2cf7d141",
7382
+ "reference": "eb7aeafae280896fbaa7c3e4bc69dd1b2cf7d141",
7383
  "shasum": ""
7384
  },
7385
  "require": {
7395
  "ext-json": "*",
7396
  "lucatume/wp-browser": "^2.4",
7397
  "php": ">=5.6",
7398
+ "vlucas/phpdotenv": "^4.1",
7399
  "wpdesk/wp-builder": "^1.0"
7400
  },
7401
  "require-dev": {
7434
  "codeception",
7435
  "wordpress"
7436
  ],
7437
+ "time": "2020-05-13T16:58:34+00:00"
7438
  },
7439
  {
7440
  "name": "wpdesk/wp-logs",
7536
  },
7537
  {
7538
  "name": "wpdesk/wp-plugin-flow",
7539
+ "version": "2.7.0",
7540
  "source": {
7541
  "type": "git",
7542
  "url": "https://gitlab.com/wpdesk/wp-plugin-flow.git",
7543
+ "reference": "53c902f2627f668536d6cf8d9267e76fff8d07a2"
7544
  },
7545
  "dist": {
7546
  "type": "zip",
7547
+ "url": "https://gitlab.com/api/v4/projects/wpdesk%2Fwp-plugin-flow/repository/archive.zip?sha=53c902f2627f668536d6cf8d9267e76fff8d07a2",
7548
+ "reference": "53c902f2627f668536d6cf8d9267e76fff8d07a2",
7549
  "shasum": ""
7550
  },
7551
  "require": {
7583
  "email": "krzysiek@wpdesk.pl"
7584
  }
7585
  ],
7586
+ "time": "2020-05-06T10:17:53+00:00"
7587
  },
7588
  {
7589
  "name": "wpdesk/wp-wpdesk-composer",
7590
+ "version": "2.8.4",
7591
  "source": {
7592
  "type": "git",
7593
  "url": "https://gitlab.com/wpdesk/wp-wpdesk-composer.git",
7594
+ "reference": "5716db176cc8cd25d711cffe2d1a610ecf83a065"
7595
  },
7596
  "dist": {
7597
  "type": "zip",
7598
+ "url": "https://gitlab.com/api/v4/projects/wpdesk%2Fwp-wpdesk-composer/repository/archive.zip?sha=5716db176cc8cd25d711cffe2d1a610ecf83a065",
7599
+ "reference": "5716db176cc8cd25d711cffe2d1a610ecf83a065",
7600
  "shasum": ""
7601
  },
7602
  "require": {
7626
  "email": "krzysiek@wpdesk.pl"
7627
  }
7628
  ],
7629
+ "time": "2020-05-07T12:32:21+00:00"
7630
  },
7631
  {
7632
  "name": "wpdesk/wp-wpdesk-helper",
flexible-checkout-fields.php CHANGED
@@ -1,17 +1,17 @@
1
  <?php
2
- /*
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.4.10
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: 4.6
12
  Tested up to: 5.4.1
13
- WC requires at least: 3.8.0
14
- WC tested up to: 4.1.0
15
  Requires PHP: 5.6
16
 
17
  Copyright 2017 WP Desk Ltd.
@@ -29,16 +29,17 @@
29
  You should have received a copy of the GNU General Public License
30
  along with this program; if not, write to the Free Software
31
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
 
 
32
 
33
- */
34
  if ( ! defined( 'ABSPATH' ) ) {
35
  exit;
36
  } // Exit if accessed directly
37
 
38
 
39
- /* THESE TWO VARIABLES CAN BE CHANGED AUTOMATICALLY */
40
- $plugin_version = '2.4.10';
41
- $plugin_release_timestamp = '2020-05-06 15:11';
42
 
43
  define( 'FLEXIBLE_CHECKOUT_FIELDS_VERSION', $plugin_version );
44
 
1
  <?php
2
+ /**
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.4.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: 4.6
12
  Tested up to: 5.4.1
13
+ WC requires at least: 3.8
14
+ WC tested up to: 4.2
15
  Requires PHP: 5.6
16
 
17
  Copyright 2017 WP Desk Ltd.
29
  You should have received a copy of the GNU General Public License
30
  along with this program; if not, write to the Free Software
31
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
32
+ *
33
+ * @package Flexible Checkout Fields
34
+ */
35
 
 
36
  if ( ! defined( 'ABSPATH' ) ) {
37
  exit;
38
  } // Exit if accessed directly
39
 
40
 
41
+ /* THIS VARIABLE CAN BE CHANGED AUTOMATICALLY */
42
+ $plugin_version = '2.4.11';
 
43
 
44
  define( 'FLEXIBLE_CHECKOUT_FIELDS_VERSION', $plugin_version );
45
 
lang/flexible-checkout-fields.pot CHANGED
@@ -7,8 +7,8 @@ msgstr ""
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=UTF-8\n"
9
  "Content-Transfer-Encoding: 8bit\n"
10
- "POT-Creation-Date: 2020-05-07T09:34:59+00:00\n"
11
- "PO-Revision-Date: 2020-05-07T09:34:59+00:00\n"
12
  "Language: \n"
13
  "X-Poedit-Basepath: ..\n"
14
  "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
@@ -92,141 +92,141 @@ msgstr ""
92
  msgid "WPML detected. Read %sthis instructions if you want to translate Flexible Checkout Fields. &rarr;%s"
93
  msgstr ""
94
 
95
- #: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:292
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
96
  msgid "Billing"
97
  msgstr ""
98
 
99
- #: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:298
100
  msgid "Shipping"
101
  msgstr ""
102
 
103
- #: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:304
104
  msgid "Order"
105
  msgstr ""
106
 
107
- #: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:318
108
  msgid "Single Line Text"
109
  msgstr ""
110
 
111
- #: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:322
112
  msgid "Paragraph Text"
113
  msgstr ""
114
 
115
- #: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:330
116
- #: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:335
117
  msgid "Checkbox"
118
  msgstr ""
119
 
120
- #: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:340
121
  msgid "Radio button"
122
  msgstr ""
123
 
124
- #: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:345
125
  msgid "Select (Drop Down)"
126
  msgstr ""
127
 
128
- #: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:350
129
  msgid "Multi-select"
130
  msgstr ""
131
 
132
- #: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:355
133
  msgid "Date"
134
  msgstr ""
135
 
136
- #: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:360
137
  msgid "Time"
138
  msgstr ""
139
 
140
- #: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:365
141
  msgid "Color Picker"
142
  msgstr ""
143
 
144
- #: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:370
145
  msgid "Headline"
146
  msgstr ""
147
 
148
- #: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:375
149
  msgid "HTML"
150
  msgstr ""
151
 
152
- #: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:380
153
  msgid "File Upload"
154
  msgstr ""
155
 
156
- #: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:946
157
  msgid "Advanced"
158
  msgstr ""
159
 
160
- #: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:1024
161
  msgid "Uploading file..."
162
  msgstr ""
163
 
164
- #: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:1070
165
  msgid "Close"
166
  msgstr ""
167
 
168
- #: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:1071
169
  msgid "Today"
170
  msgstr ""
171
 
172
- #: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:1074
173
  msgid "Next"
174
  msgstr ""
175
 
176
- #: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:1075
177
  msgid "Previous"
178
  msgstr ""
179
 
180
- #: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:1103
181
  #: /builds/wpdesk/flexible-checkout-fields/classes/settings.php:165
182
  #: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-builder/src/Plugin/AbstractPlugin.php:198
183
  #: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-helper/src/Page/SettingsPage.php:46
184
  msgid "Settings"
185
  msgstr ""
186
 
187
- #: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:1105
188
  #: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-builder/src/Plugin/AbstractPlugin.php:194
189
  msgid "Docs"
190
  msgstr ""
191
 
192
- #: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:1106
193
  #: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-builder/src/Plugin/AbstractPlugin.php:191
194
  msgid "Support"
195
  msgstr ""
196
 
197
- #: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:1112
198
  msgid "Upgrade"
199
  msgstr ""
200
 
201
- #: /builds/wpdesk/flexible-checkout-fields/classes/display-options.php:103
202
- #: /builds/wpdesk/flexible-checkout-fields/classes/user-profile.php:207
203
- msgid "Additional Information"
204
- msgstr ""
205
-
206
- #: /builds/wpdesk/flexible-checkout-fields/classes/filed-validation.php:30
207
- msgid "%s is a required field."
208
- msgstr ""
209
-
210
- #: /builds/wpdesk/flexible-checkout-fields/classes/filed-validation.php:70
211
- msgid "Default"
212
- msgstr ""
213
-
214
- #: /builds/wpdesk/flexible-checkout-fields/classes/filed-validation.php:71
215
- msgid "None"
216
- msgstr ""
217
-
218
- #: /builds/wpdesk/flexible-checkout-fields/classes/filed-validation.php:72
219
- msgid "Email"
220
- msgstr ""
221
-
222
- #: /builds/wpdesk/flexible-checkout-fields/classes/filed-validation.php:73
223
- msgid "Phone"
224
- msgstr ""
225
-
226
- #: /builds/wpdesk/flexible-checkout-fields/classes/filed-validation.php:76
227
- msgid "Post code"
228
- msgstr ""
229
-
230
  #: /builds/wpdesk/flexible-checkout-fields/classes/settings.php:49
231
  #: /builds/wpdesk/flexible-checkout-fields/classes/settings.php:52
232
  #: /builds/wpdesk/flexible-checkout-fields/classes/settings.php:55
@@ -559,6 +559,6 @@ msgstr ""
559
  msgid "You are deactivating %s plugin."
560
  msgstr ""
561
 
562
- #: /builds/wpdesk/flexible-checkout-fields/views/settings-field-advanced.php:6
563
  msgid "%sGo PRO &rarr;%s to add conditional logic based on products/categories, fields and shipping method."
564
  msgstr ""
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=UTF-8\n"
9
  "Content-Transfer-Encoding: 8bit\n"
10
+ "POT-Creation-Date: 2020-05-18T08:49:29+00:00\n"
11
+ "PO-Revision-Date: 2020-05-18T08:49:29+00:00\n"
12
  "Language: \n"
13
  "X-Poedit-Basepath: ..\n"
14
  "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
92
  msgid "WPML detected. Read %sthis instructions if you want to translate Flexible Checkout Fields. &rarr;%s"
93
  msgstr ""
94
 
95
+ #: /builds/wpdesk/flexible-checkout-fields/classes/display-options.php:103
96
+ #: /builds/wpdesk/flexible-checkout-fields/classes/user-profile.php:207
97
+ msgid "Additional Information"
98
+ msgstr ""
99
+
100
+ #: /builds/wpdesk/flexible-checkout-fields/classes/filed-validation.php:30
101
+ msgid "%s is a required field."
102
+ msgstr ""
103
+
104
+ #: /builds/wpdesk/flexible-checkout-fields/classes/filed-validation.php:70
105
+ msgid "Default"
106
+ msgstr ""
107
+
108
+ #: /builds/wpdesk/flexible-checkout-fields/classes/filed-validation.php:71
109
+ msgid "None"
110
+ msgstr ""
111
+
112
+ #: /builds/wpdesk/flexible-checkout-fields/classes/filed-validation.php:72
113
+ msgid "Email"
114
+ msgstr ""
115
+
116
+ #: /builds/wpdesk/flexible-checkout-fields/classes/filed-validation.php:73
117
+ msgid "Phone"
118
+ msgstr ""
119
+
120
+ #: /builds/wpdesk/flexible-checkout-fields/classes/filed-validation.php:76
121
+ msgid "Post code"
122
+ msgstr ""
123
+
124
+ #: /builds/wpdesk/flexible-checkout-fields/classes/plugin.php:292
125
  msgid "Billing"
126
  msgstr ""
127
 
128
+ #: /builds/wpdesk/flexible-checkout-fields/classes/plugin.php:298
129
  msgid "Shipping"
130
  msgstr ""
131
 
132
+ #: /builds/wpdesk/flexible-checkout-fields/classes/plugin.php:304
133
  msgid "Order"
134
  msgstr ""
135
 
136
+ #: /builds/wpdesk/flexible-checkout-fields/classes/plugin.php:318
137
  msgid "Single Line Text"
138
  msgstr ""
139
 
140
+ #: /builds/wpdesk/flexible-checkout-fields/classes/plugin.php:322
141
  msgid "Paragraph Text"
142
  msgstr ""
143
 
144
+ #: /builds/wpdesk/flexible-checkout-fields/classes/plugin.php:330
145
+ #: /builds/wpdesk/flexible-checkout-fields/classes/plugin.php:335
146
  msgid "Checkbox"
147
  msgstr ""
148
 
149
+ #: /builds/wpdesk/flexible-checkout-fields/classes/plugin.php:340
150
  msgid "Radio button"
151
  msgstr ""
152
 
153
+ #: /builds/wpdesk/flexible-checkout-fields/classes/plugin.php:345
154
  msgid "Select (Drop Down)"
155
  msgstr ""
156
 
157
+ #: /builds/wpdesk/flexible-checkout-fields/classes/plugin.php:350
158
  msgid "Multi-select"
159
  msgstr ""
160
 
161
+ #: /builds/wpdesk/flexible-checkout-fields/classes/plugin.php:355
162
  msgid "Date"
163
  msgstr ""
164
 
165
+ #: /builds/wpdesk/flexible-checkout-fields/classes/plugin.php:360
166
  msgid "Time"
167
  msgstr ""
168
 
169
+ #: /builds/wpdesk/flexible-checkout-fields/classes/plugin.php:365
170
  msgid "Color Picker"
171
  msgstr ""
172
 
173
+ #: /builds/wpdesk/flexible-checkout-fields/classes/plugin.php:370
174
  msgid "Headline"
175
  msgstr ""
176
 
177
+ #: /builds/wpdesk/flexible-checkout-fields/classes/plugin.php:375
178
  msgid "HTML"
179
  msgstr ""
180
 
181
+ #: /builds/wpdesk/flexible-checkout-fields/classes/plugin.php:380
182
  msgid "File Upload"
183
  msgstr ""
184
 
185
+ #: /builds/wpdesk/flexible-checkout-fields/classes/plugin.php:946
186
  msgid "Advanced"
187
  msgstr ""
188
 
189
+ #: /builds/wpdesk/flexible-checkout-fields/classes/plugin.php:1024
190
  msgid "Uploading file..."
191
  msgstr ""
192
 
193
+ #: /builds/wpdesk/flexible-checkout-fields/classes/plugin.php:1070
194
  msgid "Close"
195
  msgstr ""
196
 
197
+ #: /builds/wpdesk/flexible-checkout-fields/classes/plugin.php:1071
198
  msgid "Today"
199
  msgstr ""
200
 
201
+ #: /builds/wpdesk/flexible-checkout-fields/classes/plugin.php:1074
202
  msgid "Next"
203
  msgstr ""
204
 
205
+ #: /builds/wpdesk/flexible-checkout-fields/classes/plugin.php:1075
206
  msgid "Previous"
207
  msgstr ""
208
 
209
+ #: /builds/wpdesk/flexible-checkout-fields/classes/plugin.php:1103
210
  #: /builds/wpdesk/flexible-checkout-fields/classes/settings.php:165
211
  #: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-builder/src/Plugin/AbstractPlugin.php:198
212
  #: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-helper/src/Page/SettingsPage.php:46
213
  msgid "Settings"
214
  msgstr ""
215
 
216
+ #: /builds/wpdesk/flexible-checkout-fields/classes/plugin.php:1105
217
  #: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-builder/src/Plugin/AbstractPlugin.php:194
218
  msgid "Docs"
219
  msgstr ""
220
 
221
+ #: /builds/wpdesk/flexible-checkout-fields/classes/plugin.php:1106
222
  #: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-builder/src/Plugin/AbstractPlugin.php:191
223
  msgid "Support"
224
  msgstr ""
225
 
226
+ #: /builds/wpdesk/flexible-checkout-fields/classes/plugin.php:1112
227
  msgid "Upgrade"
228
  msgstr ""
229
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
230
  #: /builds/wpdesk/flexible-checkout-fields/classes/settings.php:49
231
  #: /builds/wpdesk/flexible-checkout-fields/classes/settings.php:52
232
  #: /builds/wpdesk/flexible-checkout-fields/classes/settings.php:55
559
  msgid "You are deactivating %s plugin."
560
  msgstr ""
561
 
562
+ #: /builds/wpdesk/flexible-checkout-fields/views/settings-field-advanced.php:5
563
  msgid "%sGo PRO &rarr;%s to add conditional logic based on products/categories, fields and shipping method."
564
  msgstr ""
readme.txt CHANGED
@@ -1,11 +1,11 @@
1
  === Flexible Checkout Fields for WooCommerce ===
2
 
3
- Contributors: wpdesk,dyszczo,grola,piotrpo,marcinkolanko,damianmachnik
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, woocommerce fields editor, woocommerce custom checkout fields, woocommerce checkout options, woocommerce checkout pro, woocommerce custom sections, woocommerce file upload
6
  Requires at least: 4.5
7
  Tested up to: 5.4.1
8
- Stable tag: 2.4.10
9
  Requires PHP: 5.6
10
  License: GPLv3 or later
11
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -187,6 +187,9 @@ If you are upgrading from the old WooCommerce Checkout Fields version (1.1, wooc
187
 
188
  == Changelog ==
189
 
 
 
 
190
  = 2.4.10 - 2020-05-04 =
191
  * Fixed additional fields not saved in user profile
192
 
1
  === Flexible Checkout Fields for WooCommerce ===
2
 
3
+ Contributors: wpdesk,dyszczo,grola,piotrpo,marcinkolanko
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, woocommerce fields editor, woocommerce custom checkout fields, woocommerce checkout options, woocommerce checkout pro, woocommerce custom sections, woocommerce file upload
6
  Requires at least: 4.5
7
  Tested up to: 5.4.1
8
+ Stable tag: 2.4.11
9
  Requires PHP: 5.6
10
  License: GPLv3 or later
11
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
187
 
188
  == Changelog ==
189
 
190
+ = 2.4.11 - 2020-05-12 =
191
+ * Fixed field name validation - validation works only on currently added fields
192
+
193
  = 2.4.10 - 2020-05-04 =
194
  * Fixed additional fields not saved in user profile
195
 
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitfbb5222b79418e17397088721689fdb0::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInitc97107f40684cf7edd03e6fd207b52c5::getLoader();
vendor/composer/autoload_classmap.php CHANGED
@@ -236,7 +236,7 @@ return array(
236
  'Flexible_Checkout_Fields_Field_Validation' => $baseDir . '/classes/filed-validation.php',
237
  'Flexible_Checkout_Fields_Myaccount_Edit_Address' => $baseDir . '/classes/myaccount-edit-address.php',
238
  'Flexible_Checkout_Fields_Myaccount_Field_Processor' => $baseDir . '/classes/myaccount-filed-processor.php',
239
- 'Flexible_Checkout_Fields_Plugin' => $baseDir . '/classes/class-flexible-checkout-fields-plugin.php',
240
  'Flexible_Checkout_Fields_Settings' => $baseDir . '/classes/settings.php',
241
  'Flexible_Checkout_Fields_User_Meta' => $baseDir . '/classes/user-meta.php',
242
  'Flexible_Checkout_Fields_User_Meta_Checkout' => $baseDir . '/classes/user-meta-checkout.php',
236
  'Flexible_Checkout_Fields_Field_Validation' => $baseDir . '/classes/filed-validation.php',
237
  'Flexible_Checkout_Fields_Myaccount_Edit_Address' => $baseDir . '/classes/myaccount-edit-address.php',
238
  'Flexible_Checkout_Fields_Myaccount_Field_Processor' => $baseDir . '/classes/myaccount-filed-processor.php',
239
+ 'Flexible_Checkout_Fields_Plugin' => $baseDir . '/classes/plugin.php',
240
  'Flexible_Checkout_Fields_Settings' => $baseDir . '/classes/settings.php',
241
  'Flexible_Checkout_Fields_User_Meta' => $baseDir . '/classes/user-meta.php',
242
  'Flexible_Checkout_Fields_User_Meta_Checkout' => $baseDir . '/classes/user-meta-checkout.php',
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitfbb5222b79418e17397088721689fdb0
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInitfbb5222b79418e17397088721689fdb0
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInitfbb5222b79418e17397088721689fdb0', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInitfbb5222b79418e17397088721689fdb0', '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\ComposerStaticInitfbb5222b79418e17397088721689fdb0::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInitc97107f40684cf7edd03e6fd207b52c5
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInitc97107f40684cf7edd03e6fd207b52c5', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInitc97107f40684cf7edd03e6fd207b52c5', '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\ComposerStaticInitc97107f40684cf7edd03e6fd207b52c5::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInitfbb5222b79418e17397088721689fdb0
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'P' =>
@@ -251,7 +251,7 @@ class ComposerStaticInitfbb5222b79418e17397088721689fdb0
251
  'Flexible_Checkout_Fields_Field_Validation' => __DIR__ . '/../..' . '/classes/filed-validation.php',
252
  'Flexible_Checkout_Fields_Myaccount_Edit_Address' => __DIR__ . '/../..' . '/classes/myaccount-edit-address.php',
253
  'Flexible_Checkout_Fields_Myaccount_Field_Processor' => __DIR__ . '/../..' . '/classes/myaccount-filed-processor.php',
254
- 'Flexible_Checkout_Fields_Plugin' => __DIR__ . '/../..' . '/classes/class-flexible-checkout-fields-plugin.php',
255
  'Flexible_Checkout_Fields_Settings' => __DIR__ . '/../..' . '/classes/settings.php',
256
  'Flexible_Checkout_Fields_User_Meta' => __DIR__ . '/../..' . '/classes/user-meta.php',
257
  'Flexible_Checkout_Fields_User_Meta_Checkout' => __DIR__ . '/../..' . '/classes/user-meta-checkout.php',
@@ -278,9 +278,9 @@ class ComposerStaticInitfbb5222b79418e17397088721689fdb0
278
  public static function getInitializer(ClassLoader $loader)
279
  {
280
  return \Closure::bind(function () use ($loader) {
281
- $loader->prefixLengthsPsr4 = ComposerStaticInitfbb5222b79418e17397088721689fdb0::$prefixLengthsPsr4;
282
- $loader->prefixDirsPsr4 = ComposerStaticInitfbb5222b79418e17397088721689fdb0::$prefixDirsPsr4;
283
- $loader->classMap = ComposerStaticInitfbb5222b79418e17397088721689fdb0::$classMap;
284
 
285
  }, null, ClassLoader::class);
286
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInitc97107f40684cf7edd03e6fd207b52c5
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'P' =>
251
  'Flexible_Checkout_Fields_Field_Validation' => __DIR__ . '/../..' . '/classes/filed-validation.php',
252
  'Flexible_Checkout_Fields_Myaccount_Edit_Address' => __DIR__ . '/../..' . '/classes/myaccount-edit-address.php',
253
  'Flexible_Checkout_Fields_Myaccount_Field_Processor' => __DIR__ . '/../..' . '/classes/myaccount-filed-processor.php',
254
+ 'Flexible_Checkout_Fields_Plugin' => __DIR__ . '/../..' . '/classes/plugin.php',
255
  'Flexible_Checkout_Fields_Settings' => __DIR__ . '/../..' . '/classes/settings.php',
256
  'Flexible_Checkout_Fields_User_Meta' => __DIR__ . '/../..' . '/classes/user-meta.php',
257
  'Flexible_Checkout_Fields_User_Meta_Checkout' => __DIR__ . '/../..' . '/classes/user-meta-checkout.php',
278
  public static function getInitializer(ClassLoader $loader)
279
  {
280
  return \Closure::bind(function () use ($loader) {
281
+ $loader->prefixLengthsPsr4 = ComposerStaticInitc97107f40684cf7edd03e6fd207b52c5::$prefixLengthsPsr4;
282
+ $loader->prefixDirsPsr4 = ComposerStaticInitc97107f40684cf7edd03e6fd207b52c5::$prefixDirsPsr4;
283
+ $loader->classMap = ComposerStaticInitc97107f40684cf7edd03e6fd207b52c5::$classMap;
284
 
285
  }, null, ClassLoader::class);
286
  }
vendor_prefixed/wpdesk/wp-codeception/composer.json CHANGED
@@ -29,7 +29,8 @@
29
  "codeception\/module-rest": "^1.2",
30
  "codeception\/module-phpbrowser": "^1.0",
31
  "codeception\/module-asserts": "^1.1",
32
- "codeception\/util-universalframework": "^1.0"
 
33
  },
34
  "require-dev": {
35
  "phpunit\/phpunit": "<7",
29
  "codeception\/module-rest": "^1.2",
30
  "codeception\/module-phpbrowser": "^1.0",
31
  "codeception\/module-asserts": "^1.1",
32
+ "codeception\/util-universalframework": "^1.0",
33
+ "vlucas\/phpdotenv": "^4.1"
34
  },
35
  "require-dev": {
36
  "phpunit\/phpunit": "<7",
vendor_prefixed/wpdesk/wp-plugin-flow/src/PluginBootstrap.php CHANGED
@@ -16,8 +16,6 @@ final class PluginBootstrap
16
  /** @var string */
17
  private $plugin_version;
18
  /** @var string */
19
- private $plugin_release_timestamp;
20
- /** @var string */
21
  private $plugin_name;
22
  /** @var string */
23
  private $plugin_class_name;
@@ -54,7 +52,6 @@ final class PluginBootstrap
54
  public function __construct($plugin_version, $plugin_release_timestamp, $plugin_name, $plugin_class_name, $plugin_text_domain, $plugin_dir, $plugin_file, array $requirements, $product_id, \FcfVendor\WPDesk\Plugin\Flow\Initialization\InitializationFactory $build_factory)
55
  {
56
  $this->plugin_version = $plugin_version;
57
- $this->plugin_release_timestamp = $plugin_release_timestamp;
58
  $this->plugin_name = $plugin_name;
59
  $this->plugin_class_name = $plugin_class_name;
60
  $this->plugin_text_domain = $plugin_text_domain;
@@ -142,7 +139,6 @@ final class PluginBootstrap
142
  $plugin_info->set_version($this->plugin_version);
143
  $plugin_info->set_product_id($this->product_id);
144
  $plugin_info->set_text_domain($this->plugin_text_domain);
145
- $plugin_info->set_release_date(new \DateTime($this->plugin_release_timestamp));
146
  $plugin_info->set_plugin_url(\plugins_url(\dirname(\plugin_basename($this->plugin_file))));
147
  return $plugin_info;
148
  }
16
  /** @var string */
17
  private $plugin_version;
18
  /** @var string */
 
 
19
  private $plugin_name;
20
  /** @var string */
21
  private $plugin_class_name;
52
  public function __construct($plugin_version, $plugin_release_timestamp, $plugin_name, $plugin_class_name, $plugin_text_domain, $plugin_dir, $plugin_file, array $requirements, $product_id, \FcfVendor\WPDesk\Plugin\Flow\Initialization\InitializationFactory $build_factory)
53
  {
54
  $this->plugin_version = $plugin_version;
 
55
  $this->plugin_name = $plugin_name;
56
  $this->plugin_class_name = $plugin_class_name;
57
  $this->plugin_text_domain = $plugin_text_domain;
139
  $plugin_info->set_version($this->plugin_version);
140
  $plugin_info->set_product_id($this->product_id);
141
  $plugin_info->set_text_domain($this->plugin_text_domain);
 
142
  $plugin_info->set_plugin_url(\plugins_url(\dirname(\plugin_basename($this->plugin_file))));
143
  return $plugin_info;
144
  }
vendor_prefixed/wpdesk/wp-plugin-flow/src/plugin-init-php52-free.php CHANGED
@@ -4,7 +4,6 @@ namespace FcfVendor;
4
 
5
  /**
6
  * @var string $plugin_version
7
- * @var string $plugin_release_timestamp
8
  * @var string $plugin_name
9
  * @var string $plugin_class_name
10
  * @var string $plugin_text_domain
4
 
5
  /**
6
  * @var string $plugin_version
 
7
  * @var string $plugin_name
8
  * @var string $plugin_class_name
9
  * @var string $plugin_text_domain
vendor_prefixed/wpdesk/wp-plugin-flow/src/plugin-init-php52.php CHANGED
@@ -4,7 +4,6 @@ namespace FcfVendor;
4
 
5
  /**
6
  * @var string $plugin_version
7
- * @var string $plugin_release_timestamp
8
  * @var string $plugin_name
9
  * @var string $plugin_class_name
10
  * @var string $plugin_text_domain
@@ -23,7 +22,19 @@ if (\PHP_VERSION_ID > 50300) {
23
  if (!isset($plugin_init_factory)) {
24
  $plugin_init_factory = new \FcfVendor\WPDesk\Plugin\Flow\Initialization\Simple\SimpleFactory();
25
  }
26
- $bootstrap = new \FcfVendor\WPDesk\Plugin\Flow\PluginBootstrap($plugin_version, $plugin_release_timestamp, $plugin_name, $plugin_class_name, $plugin_text_domain, $plugin_dir, $plugin_file, $requirements, $product_id, $plugin_init_factory);
 
 
 
 
 
 
 
 
 
 
 
 
27
  $bootstrap->run();
28
  // all optional vars must be cleared
29
  unset($plugin_init_factory);
4
 
5
  /**
6
  * @var string $plugin_version
 
7
  * @var string $plugin_name
8
  * @var string $plugin_class_name
9
  * @var string $plugin_text_domain
22
  if (!isset($plugin_init_factory)) {
23
  $plugin_init_factory = new \FcfVendor\WPDesk\Plugin\Flow\Initialization\Simple\SimpleFactory();
24
  }
25
+ $bootstrap = new \FcfVendor\WPDesk\Plugin\Flow\PluginBootstrap(
26
+ $plugin_version,
27
+ null,
28
+ // deprecated
29
+ $plugin_name,
30
+ $plugin_class_name,
31
+ $plugin_text_domain,
32
+ $plugin_dir,
33
+ $plugin_file,
34
+ $requirements,
35
+ $product_id,
36
+ $plugin_init_factory
37
+ );
38
  $bootstrap->run();
39
  // all optional vars must be cleared
40
  unset($plugin_init_factory);
views/settings-field-advanced-js.php CHANGED
@@ -4,7 +4,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly.
4
  ob_start();
5
  include __DIR__ . '/settings-field-advanced.php';
6
  $content = ob_get_clean();
7
- $lines = explode( "\n", $content );
8
  ?>
9
  <?php foreach ( $lines as $line ) : ?>
10
  html += '<?php echo $line; ?>';
4
  ob_start();
5
  include __DIR__ . '/settings-field-advanced.php';
6
  $content = ob_get_clean();
7
+ $lines = explode( PHP_EOL, $content );
8
  ?>
9
  <?php foreach ( $lines as $line ) : ?>
10
  html += '<?php echo $line; ?>';
views/settings-field-advanced.php CHANGED
@@ -1,9 +1,8 @@
1
- <?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>
2
- <div class="field-settings-tab-container field-settings-advanced" style="display:none;">
3
- <div>
4
- <?php
5
- $url = get_locale() === 'pl_PL' ? 'https://www.wpdesk.pl/sklep/woocommerce-checkout-fields/' : 'https://www.wpdesk.net/products/flexible-checkout-fields-pro-woocommerce/';
6
  echo sprintf( __( '%sGo PRO &rarr;%s to add conditional logic based on products/categories, fields and shipping method.' , 'flexible-checkout-fields' ), '<a href="' . $url . '" target="_blank">', '</a>' );
7
  ?>
8
- </div>
9
  </div>
1
+ <?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?><div class="field-settings-tab-container field-settings-advanced" style="display:none;">
2
+ <div>
3
+ <?php
4
+ $url = get_locale() === 'pl_PL' ? 'https://www.wpdesk.pl/sklep/woocommerce-checkout-fields/' : 'https://www.wpdesk.net/products/flexible-checkout-fields-pro-woocommerce/';
 
5
  echo sprintf( __( '%sGo PRO &rarr;%s to add conditional logic based on products/categories, fields and shipping method.' , 'flexible-checkout-fields' ), '<a href="' . $url . '" target="_blank">', '</a>' );
6
  ?>
7
+ </div>
8
  </div>