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

Version Description

  • 2018-12-13 =
  • Added DIVI compatibility
Download this release

Release Info

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

Code changes from version 1.7 to 1.7.1

flexible-checkout-fields.php CHANGED
@@ -3,13 +3,13 @@
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: 1.7
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.5
12
- Tested up to: 5.0.0
13
  WC requires at least: 3.1.0
14
  WC tested up to: 3.5.2
15
 
@@ -33,7 +33,7 @@
33
 
34
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
35
 
36
- $plugin_version = '1.7';
37
  define( 'FLEXIBLE_CHECKOUT_FIELDS_VERSION', $plugin_version );
38
 
39
 
@@ -68,7 +68,7 @@
68
 
69
  class Flexible_Checkout_Fields_Plugin extends WPDesk_Plugin_1_8 {
70
 
71
- protected $script_version = '1.7';
72
 
73
  protected $fields = array();
74
 
@@ -324,12 +324,15 @@
324
  }
325
 
326
  /**
327
- * wordpress action
328
  *
329
- * inits css
330
  */
331
  public function admin_enqueue_scripts( $hooq ) {
332
- wp_enqueue_style( 'jquery-ui-style', '//ajax.googleapis.com/ajax/libs/jqueryui/' . '1.9.2' . '/themes/smoothness/jquery-ui.css' );
 
 
 
333
  wp_enqueue_style( 'inspire_checkout_fields_admin_style', trailingslashit( $this->get_plugin_assets_url() ) . 'css/admin.css', array(), $this->script_version );
334
 
335
  wp_enqueue_script( 'jquery' );
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: 1.7.1
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.5
12
+ Tested up to: 5.0.1
13
  WC requires at least: 3.1.0
14
  WC tested up to: 3.5.2
15
 
33
 
34
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
35
 
36
+ $plugin_version = '1.7.1';
37
  define( 'FLEXIBLE_CHECKOUT_FIELDS_VERSION', $plugin_version );
38
 
39
 
68
 
69
  class Flexible_Checkout_Fields_Plugin extends WPDesk_Plugin_1_8 {
70
 
71
+ protected $script_version = '1.7.1';
72
 
73
  protected $fields = array();
74
 
324
  }
325
 
326
  /**
327
+ * Enqueue admin scripts and styles.
328
  *
329
+ * @param string $hooq Current admin page name.
330
  */
331
  public function admin_enqueue_scripts( $hooq ) {
332
+ if ( isset( $hooq ) && 'woocommerce_page_inspire_checkout_fields_settings' === $hooq ) {
333
+ wp_enqueue_style('jquery-ui-style',
334
+ '//ajax.googleapis.com/ajax/libs/jqueryui/' . '1.9.2' . '/themes/smoothness/jquery-ui.css');
335
+ }
336
  wp_enqueue_style( 'inspire_checkout_fields_admin_style', trailingslashit( $this->get_plugin_assets_url() ) . 'css/admin.css', array(), $this->script_version );
337
 
338
  wp_enqueue_script( 'jquery' );
lang/flexible-checkout-fields-pl_PL.mo CHANGED
Binary file
lang/flexible-checkout-fields-pl_PL.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Flexible Checkout Fields\n"
4
- "POT-Creation-Date: 2018-12-06 12:24+0100\n"
5
- "PO-Revision-Date: 2018-12-06 12:32+0100\n"
6
  "Last-Translator: Piotr Jabłonowski <piotr.jablonowski@wpdesk.net>\n"
7
  "Language-Team: Maciej Swoboda <maciej.swoboda@gmail.com>\n"
8
  "Language: pl_PL\n"
@@ -20,6 +20,7 @@ msgstr ""
20
  "_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
21
  "X-Poedit-SearchPath-0: .\n"
22
  "X-Poedit-SearchPathExcluded-0: *.js\n"
 
23
 
24
  #: classes/display-options.php:108 classes/user-profile.php:135
25
  msgid "Additional Information"
@@ -74,7 +75,7 @@ msgstr ""
74
  "Notatka do twojego zamówienia, np. informacje o dostarczeniu przesyłki."
75
 
76
  #: classes/settings.php:147 classes/views/settings-settings.php:11
77
- #: classes/wpdesk/class-plugin.php:209 flexible-checkout-fields.php:912
78
  msgid "Settings"
79
  msgstr "Ustawienia"
80
 
@@ -364,11 +365,11 @@ msgstr ""
364
  "Klucz licencyjny wtyczki %s%s%s nie został aktywowany, więc wtyczka jest "
365
  "nieaktywna! %sKliknij tutaj%s, aby aktywować klucz licencyjny wtyczki."
366
 
367
- #: classes/wpdesk/class-plugin.php:196 flexible-checkout-fields.php:915
368
  msgid "Support"
369
  msgstr "Wsparcie"
370
 
371
- #: classes/wpdesk/class-plugin.php:202 flexible-checkout-fields.php:914
372
  msgid "Docs"
373
  msgstr "Docs"
374
 
@@ -477,31 +478,31 @@ msgstr "HTML"
477
  msgid "File Upload"
478
  msgstr "Przesyłanie pliku"
479
 
480
- #: flexible-checkout-fields.php:366
481
  msgid "Uploading file..."
482
  msgstr "Przesyłanie plik..."
483
 
484
- #: flexible-checkout-fields.php:398
485
  msgid "Close"
486
  msgstr "Zamknij"
487
 
488
- #: flexible-checkout-fields.php:399
489
  msgid "Today"
490
  msgstr "Dzisiaj"
491
 
492
- #: flexible-checkout-fields.php:402
493
  msgid "Next"
494
  msgstr "Następny"
495
 
496
- #: flexible-checkout-fields.php:403
497
  msgid "Previous"
498
  msgstr "Poprzedni"
499
 
500
- #: flexible-checkout-fields.php:921
501
  msgid "Upgrade"
502
  msgstr "Kup PRO"
503
 
504
- #: flexible-checkout-fields.php:933
505
  msgid "Advanced"
506
  msgstr "Zaawansowane"
507
 
@@ -649,15 +650,6 @@ msgstr ""
649
  "została przyjęta. Jeśli zmienisz zdanie, zawsze możesz włączyć zgodę poprzez "
650
  "szybkie linki w menu wtyczek."
651
 
652
- #: vendor/10up/wp_mock/tests/FunctionMocksTest.php:65
653
- msgid "Test"
654
- msgstr "Test"
655
-
656
- #: vendor/10up/wp_mock/tests/FunctionMocksTest.php:75
657
- #: vendor/10up/wp_mock/tests/FunctionMocksTest.php:77
658
- msgid "Input"
659
- msgstr "Input"
660
-
661
  #: views/settings-field-advanced.php:6
662
  #, php-format
663
  msgid ""
@@ -687,6 +679,12 @@ msgstr "WP Desk"
687
  msgid "https://www.wpdesk.net/"
688
  msgstr "https://www.wpdesk.pl/"
689
 
 
 
 
 
 
 
690
  #~ msgid ""
691
  #~ "Invalid field name. Field name can contains only lower case letters, "
692
  #~ "digits and _ (underline) character!"
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Flexible Checkout Fields\n"
4
+ "POT-Creation-Date: 2018-12-13 11:29+0100\n"
5
+ "PO-Revision-Date: 2018-12-13 11:29+0100\n"
6
  "Last-Translator: Piotr Jabłonowski <piotr.jablonowski@wpdesk.net>\n"
7
  "Language-Team: Maciej Swoboda <maciej.swoboda@gmail.com>\n"
8
  "Language: pl_PL\n"
20
  "_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
21
  "X-Poedit-SearchPath-0: .\n"
22
  "X-Poedit-SearchPathExcluded-0: *.js\n"
23
+ "X-Poedit-SearchPathExcluded-1: vendor\n"
24
 
25
  #: classes/display-options.php:108 classes/user-profile.php:135
26
  msgid "Additional Information"
75
  "Notatka do twojego zamówienia, np. informacje o dostarczeniu przesyłki."
76
 
77
  #: classes/settings.php:147 classes/views/settings-settings.php:11
78
+ #: classes/wpdesk/class-plugin.php:209 flexible-checkout-fields.php:915
79
  msgid "Settings"
80
  msgstr "Ustawienia"
81
 
365
  "Klucz licencyjny wtyczki %s%s%s nie został aktywowany, więc wtyczka jest "
366
  "nieaktywna! %sKliknij tutaj%s, aby aktywować klucz licencyjny wtyczki."
367
 
368
+ #: classes/wpdesk/class-plugin.php:196 flexible-checkout-fields.php:918
369
  msgid "Support"
370
  msgstr "Wsparcie"
371
 
372
+ #: classes/wpdesk/class-plugin.php:202 flexible-checkout-fields.php:917
373
  msgid "Docs"
374
  msgstr "Docs"
375
 
478
  msgid "File Upload"
479
  msgstr "Przesyłanie pliku"
480
 
481
+ #: flexible-checkout-fields.php:369
482
  msgid "Uploading file..."
483
  msgstr "Przesyłanie plik..."
484
 
485
+ #: flexible-checkout-fields.php:401
486
  msgid "Close"
487
  msgstr "Zamknij"
488
 
489
+ #: flexible-checkout-fields.php:402
490
  msgid "Today"
491
  msgstr "Dzisiaj"
492
 
493
+ #: flexible-checkout-fields.php:405
494
  msgid "Next"
495
  msgstr "Następny"
496
 
497
+ #: flexible-checkout-fields.php:406
498
  msgid "Previous"
499
  msgstr "Poprzedni"
500
 
501
+ #: flexible-checkout-fields.php:924
502
  msgid "Upgrade"
503
  msgstr "Kup PRO"
504
 
505
+ #: flexible-checkout-fields.php:936
506
  msgid "Advanced"
507
  msgstr "Zaawansowane"
508
 
650
  "została przyjęta. Jeśli zmienisz zdanie, zawsze możesz włączyć zgodę poprzez "
651
  "szybkie linki w menu wtyczek."
652
 
 
 
 
 
 
 
 
 
 
653
  #: views/settings-field-advanced.php:6
654
  #, php-format
655
  msgid ""
679
  msgid "https://www.wpdesk.net/"
680
  msgstr "https://www.wpdesk.pl/"
681
 
682
+ #~ msgid "Test"
683
+ #~ msgstr "Test"
684
+
685
+ #~ msgid "Input"
686
+ #~ msgstr "Input"
687
+
688
  #~ msgid ""
689
  #~ "Invalid field name. Field name can contains only lower case letters, "
690
  #~ "digits and _ (underline) character!"
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: wpdesk
3
  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.0.0
7
- Stable tag: 1.7
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
  = 1.7.0 - 2018-12-06 =
192
  * Added required changes for PRO version and multi-select field
193
  * Added required changes for PRO version and select2 styling
3
  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.0.1
7
+ Stable tag: 1.7.1
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
+ = 1.7.1 - 2018-12-13 =
192
+ * Added DIVI compatibility
193
+
194
  = 1.7.0 - 2018-12-06 =
195
  * Added required changes for PRO version and multi-select field
196
  * Added required changes for PRO version and select2 styling
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit55d83a75a0d27ed703ce6fce7ea38265::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInitfc4490c04acfadaad932ff74b2af2950::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit55d83a75a0d27ed703ce6fce7ea38265
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit55d83a75a0d27ed703ce6fce7ea38265
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit55d83a75a0d27ed703ce6fce7ea38265', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit55d83a75a0d27ed703ce6fce7ea38265', '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\ComposerStaticInit55d83a75a0d27ed703ce6fce7ea38265::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 ComposerAutoloaderInitfc4490c04acfadaad932ff74b2af2950
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInitfc4490c04acfadaad932ff74b2af2950', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInitfc4490c04acfadaad932ff74b2af2950', '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\ComposerStaticInitfc4490c04acfadaad932ff74b2af2950::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 ComposerStaticInit55d83a75a0d27ed703ce6fce7ea38265
8
  {
9
  public static $classMap = array (
10
  'Browser' => __DIR__ . '/../..' . '/classes/wpdesk/settings-api/modules/sysinfo/browser.php',
@@ -53,7 +53,7 @@ class ComposerStaticInit55d83a75a0d27ed703ce6fce7ea38265
53
  public static function getInitializer(ClassLoader $loader)
54
  {
55
  return \Closure::bind(function () use ($loader) {
56
- $loader->classMap = ComposerStaticInit55d83a75a0d27ed703ce6fce7ea38265::$classMap;
57
 
58
  }, null, ClassLoader::class);
59
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInitfc4490c04acfadaad932ff74b2af2950
8
  {
9
  public static $classMap = array (
10
  'Browser' => __DIR__ . '/../..' . '/classes/wpdesk/settings-api/modules/sysinfo/browser.php',
53
  public static function getInitializer(ClassLoader $loader)
54
  {
55
  return \Closure::bind(function () use ($loader) {
56
+ $loader->classMap = ComposerStaticInitfc4490c04acfadaad932ff74b2af2950::$classMap;
57
 
58
  }, null, ClassLoader::class);
59
  }