Version Description
- 2021-03-01 =
- Fixed editing of order in administration panel
Download this release
Release Info
Developer | wpdesk |
Plugin | Flexible Checkout Fields for WooCommerce – WooCommerce Checkout Manager |
Version | 3.0.2 |
Comparing to | |
See all releases |
Code changes from version 3.0.1 to 3.0.2
- classes/plugin.php +12 -63
- flexible-checkout-fields.php +2 -2
- lang/flexible-checkout-fields.pot +30 -30
- readme.txt +4 -1
- src/Plugin.php +0 -1
- src/Settings/Page.php +12 -0
- vendor/autoload.php +1 -1
- vendor/composer/autoload_classmap.php +0 -1
- vendor/composer/autoload_real.php +4 -4
- vendor/composer/autoload_static.php +4 -5
classes/plugin.php
CHANGED
@@ -803,69 +803,6 @@ class Flexible_Checkout_Fields_Plugin extends \FcfVendor\WPDesk\PluginBuilder\Pl
|
|
803 |
}
|
804 |
}
|
805 |
|
806 |
-
public function changeAdminLabelsCheckoutFields( $labels, $request_type ) {
|
807 |
-
$settings = $this->get_settings();
|
808 |
-
if ( ! empty( $settings ) && ( $request_type == null || ! empty( $settings[ $request_type ] ) ) ) {
|
809 |
-
$new = array();
|
810 |
-
foreach ( $settings as $key => $type ) {
|
811 |
-
if ( $request_type == null || $request_type == $key ) {
|
812 |
-
foreach ( $type as $field ) {
|
813 |
-
if ( $field['visible'] == 0 && ( $request_type == null || strpos( $field['name'], $request_type ) === 0 )
|
814 |
-
&& ( ( empty( $field['type'] ) || ( $field['type'] !== 'heading' && $field['type'] !== 'info' && $field['type'] !== 'file' ) ) )
|
815 |
-
) {
|
816 |
-
$field_name = $this->replace_only_first( $request_type . '_', '', $field['name'] );
|
817 |
-
|
818 |
-
if ( isset( $labels[ $field_name ] ) ) {
|
819 |
-
|
820 |
-
$new[ $field_name ] = $labels[ $field_name ];
|
821 |
-
|
822 |
-
if ( ! empty( $field['label'] ) ) {
|
823 |
-
$new[ $field_name ]['label'] = $field['label'];
|
824 |
-
}
|
825 |
-
|
826 |
-
if ( empty( $new[ $field_name ]['label'] ) ) {
|
827 |
-
$new[ $field_name ]['label'] = $field['name'];
|
828 |
-
}
|
829 |
-
|
830 |
-
$new[ $field_name ]['type'] = 'text';
|
831 |
-
if ( isset( $field['type'] ) ) {
|
832 |
-
$new[ $field_name ]['type'] = $field['type'];
|
833 |
-
}
|
834 |
-
|
835 |
-
$new[ $field_name ] = apply_filters( 'flexible_checkout_fields_admin_labels', $new[ $field_name ], $field, $field_name );
|
836 |
-
|
837 |
-
if ( $field_name === 'country' ) {
|
838 |
-
$new[ $field_name ]['type'] = 'select';
|
839 |
-
}
|
840 |
-
|
841 |
-
if ( isset( $field['show'] ) ) {
|
842 |
-
$new[ $field_name ]['show'] = $field['show'];
|
843 |
-
}
|
844 |
-
|
845 |
-
//$new[ $field_name ]['wrapper_class'] = 'form-field-wide';
|
846 |
-
|
847 |
-
}
|
848 |
-
}
|
849 |
-
}
|
850 |
-
}
|
851 |
-
}
|
852 |
-
|
853 |
-
foreach ( $labels as $key => $value ) {
|
854 |
-
if ( $request_type == null || $request_type == $key ) {
|
855 |
-
if ( empty( $new[ $key ] ) ) {
|
856 |
-
$new[ $key ] = $value;
|
857 |
-
}
|
858 |
-
}
|
859 |
-
}
|
860 |
-
|
861 |
-
return $new;
|
862 |
-
} else {
|
863 |
-
return $labels;
|
864 |
-
}
|
865 |
-
|
866 |
-
}
|
867 |
-
|
868 |
-
|
869 |
public function changeCheckoutFields( $fields ) {
|
870 |
return $this->getCheckoutFields( $fields );
|
871 |
}
|
@@ -882,6 +819,18 @@ class Flexible_Checkout_Fields_Plugin extends \FcfVendor\WPDesk\PluginBuilder\Pl
|
|
882 |
return $this->getCheckoutFields( $fields, 'order' );
|
883 |
}
|
884 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
885 |
public function addCustomFieldsBillingFields( $fields ) {
|
886 |
return $this->getCheckoutUserFields( $fields, 'billing' );
|
887 |
}
|
803 |
}
|
804 |
}
|
805 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
806 |
public function changeCheckoutFields( $fields ) {
|
807 |
return $this->getCheckoutFields( $fields );
|
808 |
}
|
819 |
return $this->getCheckoutFields( $fields, 'order' );
|
820 |
}
|
821 |
|
822 |
+
public function addCustomBillingFieldsToAdmin( $order ) {
|
823 |
+
$this->printCheckoutFields( $order, 'billing' );
|
824 |
+
}
|
825 |
+
|
826 |
+
public function addCustomShippingFieldsToAdmin( $order ) {
|
827 |
+
$this->printCheckoutFields( $order, 'shipping' );
|
828 |
+
}
|
829 |
+
|
830 |
+
public function addCustomOrderFieldsToAdmin( $order ) {
|
831 |
+
$this->printCheckoutFields( $order, 'order' );
|
832 |
+
}
|
833 |
+
|
834 |
public function addCustomFieldsBillingFields( $fields ) {
|
835 |
return $this->getCheckoutUserFields( $fields, 'billing' );
|
836 |
}
|
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: 3.0.
|
7 |
Author: WP Desk
|
8 |
Author URI: https://www.wpdesk.net/
|
9 |
Text Domain: flexible-checkout-fields
|
@@ -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.2
|
7 |
Author: WP Desk
|
8 |
Author URI: https://www.wpdesk.net/
|
9 |
Text Domain: flexible-checkout-fields
|
39 |
|
40 |
|
41 |
/* THIS VARIABLE CAN BE CHANGED AUTOMATICALLY */
|
42 |
+
$plugin_version = '3.0.2';
|
43 |
|
44 |
/*
|
45 |
* Update when conditions are met:
|
lang/flexible-checkout-fields.pot
CHANGED
@@ -2,14 +2,14 @@
|
|
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-03-
|
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"
|
@@ -147,24 +147,24 @@ msgstr ""
|
|
147 |
msgid "File Upload"
|
148 |
msgstr ""
|
149 |
|
150 |
-
#: classes/plugin.php:
|
151 |
msgid "Uploading file..."
|
152 |
msgstr ""
|
153 |
|
154 |
-
#: classes/plugin.php:
|
155 |
#: src/Settings/Menu.php:40
|
156 |
msgid "Settings"
|
157 |
msgstr ""
|
158 |
|
159 |
-
#: classes/plugin.php:
|
160 |
msgid "Docs"
|
161 |
msgstr ""
|
162 |
|
163 |
-
#: classes/plugin.php:
|
164 |
msgid "Support"
|
165 |
msgstr ""
|
166 |
|
167 |
-
#: classes/plugin.php:
|
168 |
msgid "Upgrade"
|
169 |
msgstr ""
|
170 |
|
@@ -177,12 +177,12 @@ msgid "Opt-out"
|
|
177 |
msgstr ""
|
178 |
|
179 |
#: classes/user-profile.php:100
|
180 |
-
#: src/Settings/Page.php:
|
181 |
msgid "Yes"
|
182 |
msgstr ""
|
183 |
|
184 |
#: classes/user-profile.php:101
|
185 |
-
#: src/Settings/Page.php:
|
186 |
msgid "No"
|
187 |
msgstr ""
|
188 |
|
@@ -269,12 +269,12 @@ msgid "State/County formatting"
|
|
269 |
msgstr ""
|
270 |
|
271 |
#: src/Settings/Option/LabelOption.php:56
|
272 |
-
#: src/Settings/Page.php:
|
273 |
msgid "This field is required."
|
274 |
msgstr ""
|
275 |
|
276 |
#: src/Settings/Option/LabelOption.php:66
|
277 |
-
#: src/Settings/Page.php:
|
278 |
msgid "Label"
|
279 |
msgstr ""
|
280 |
|
@@ -357,80 +357,80 @@ msgstr ""
|
|
357 |
msgid "Checkout Fields"
|
358 |
msgstr ""
|
359 |
|
360 |
-
#: src/Settings/Page.php:
|
361 |
msgid "Edit form"
|
362 |
msgstr ""
|
363 |
|
364 |
-
#: src/Settings/Page.php:
|
365 |
msgid "Add new field"
|
366 |
msgstr ""
|
367 |
|
368 |
-
#: src/Settings/Page.php:
|
369 |
msgid "Edit section"
|
370 |
msgstr ""
|
371 |
|
372 |
-
#: src/Settings/Page.php:
|
373 |
msgid "Edit settings"
|
374 |
msgstr ""
|
375 |
|
376 |
-
#: src/Settings/Page.php:
|
377 |
msgid "Add Field"
|
378 |
msgstr ""
|
379 |
|
380 |
-
#: src/Settings/Page.php:
|
381 |
msgid "Add New"
|
382 |
msgstr ""
|
383 |
|
384 |
-
#: src/Settings/Page.php:
|
385 |
msgid "Save Changes"
|
386 |
msgstr ""
|
387 |
|
388 |
-
#: src/Settings/Page.php:
|
389 |
msgid "Reset Section Settings"
|
390 |
msgstr ""
|
391 |
|
392 |
-
#: src/Settings/Page.php:
|
393 |
msgid "Read more"
|
394 |
msgstr ""
|
395 |
|
396 |
-
#: src/Settings/Page.php:
|
397 |
msgid "Field Type"
|
398 |
msgstr ""
|
399 |
|
400 |
-
#: src/Settings/Page.php:
|
401 |
msgid "Name"
|
402 |
msgstr ""
|
403 |
|
404 |
-
#: src/Settings/Page.php:
|
405 |
msgid "Field name should contains only lowercase letters, numbers and underscore sign."
|
406 |
msgstr ""
|
407 |
|
408 |
-
#: src/Settings/Page.php:
|
409 |
msgid "Select..."
|
410 |
msgstr ""
|
411 |
|
412 |
-
#: src/Settings/Page.php:
|
413 |
msgid "Loading..."
|
414 |
msgstr ""
|
415 |
|
416 |
-
#: src/Settings/Page.php:
|
417 |
msgid "No options."
|
418 |
msgstr ""
|
419 |
|
420 |
#. translators: %1$s: break line, %2$s: anchor opening tag, %3$s: anchor closing tag
|
421 |
-
#: src/Settings/Page.php:
|
422 |
msgid "This field is available in the PRO version.%1$s %2$sUpgrade to PRO%3$s"
|
423 |
msgstr ""
|
424 |
|
425 |
-
#: src/Settings/Page.php:
|
426 |
msgid "Are you sure you want to delete this field? Deleting a field will remove it from all orders."
|
427 |
msgstr ""
|
428 |
|
429 |
-
#: src/Settings/Page.php:
|
430 |
msgid "Do you really want to reset section settings? Resetting a section remove all added fields from orders."
|
431 |
msgstr ""
|
432 |
|
433 |
-
#: src/Settings/Page.php:
|
434 |
msgid "No fields available."
|
435 |
msgstr ""
|
436 |
|
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.2\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-03-01T20:08:02+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"
|
147 |
msgid "File Upload"
|
148 |
msgstr ""
|
149 |
|
150 |
+
#: classes/plugin.php:935
|
151 |
msgid "Uploading file..."
|
152 |
msgstr ""
|
153 |
|
154 |
+
#: classes/plugin.php:1008
|
155 |
#: src/Settings/Menu.php:40
|
156 |
msgid "Settings"
|
157 |
msgstr ""
|
158 |
|
159 |
+
#: classes/plugin.php:1009
|
160 |
msgid "Docs"
|
161 |
msgstr ""
|
162 |
|
163 |
+
#: classes/plugin.php:1010
|
164 |
msgid "Support"
|
165 |
msgstr ""
|
166 |
|
167 |
+
#: classes/plugin.php:1014
|
168 |
msgid "Upgrade"
|
169 |
msgstr ""
|
170 |
|
177 |
msgstr ""
|
178 |
|
179 |
#: classes/user-profile.php:100
|
180 |
+
#: src/Settings/Page.php:192
|
181 |
msgid "Yes"
|
182 |
msgstr ""
|
183 |
|
184 |
#: classes/user-profile.php:101
|
185 |
+
#: src/Settings/Page.php:193
|
186 |
msgid "No"
|
187 |
msgstr ""
|
188 |
|
269 |
msgstr ""
|
270 |
|
271 |
#: src/Settings/Option/LabelOption.php:56
|
272 |
+
#: src/Settings/Page.php:197
|
273 |
msgid "This field is required."
|
274 |
msgstr ""
|
275 |
|
276 |
#: src/Settings/Option/LabelOption.php:66
|
277 |
+
#: src/Settings/Page.php:195
|
278 |
msgid "Label"
|
279 |
msgstr ""
|
280 |
|
357 |
msgid "Checkout Fields"
|
358 |
msgstr ""
|
359 |
|
360 |
+
#: src/Settings/Page.php:183
|
361 |
msgid "Edit form"
|
362 |
msgstr ""
|
363 |
|
364 |
+
#: src/Settings/Page.php:184
|
365 |
msgid "Add new field"
|
366 |
msgstr ""
|
367 |
|
368 |
+
#: src/Settings/Page.php:185
|
369 |
msgid "Edit section"
|
370 |
msgstr ""
|
371 |
|
372 |
+
#: src/Settings/Page.php:186
|
373 |
msgid "Edit settings"
|
374 |
msgstr ""
|
375 |
|
376 |
+
#: src/Settings/Page.php:187
|
377 |
msgid "Add Field"
|
378 |
msgstr ""
|
379 |
|
380 |
+
#: src/Settings/Page.php:188
|
381 |
msgid "Add New"
|
382 |
msgstr ""
|
383 |
|
384 |
+
#: src/Settings/Page.php:189
|
385 |
msgid "Save Changes"
|
386 |
msgstr ""
|
387 |
|
388 |
+
#: src/Settings/Page.php:190
|
389 |
msgid "Reset Section Settings"
|
390 |
msgstr ""
|
391 |
|
392 |
+
#: src/Settings/Page.php:191
|
393 |
msgid "Read more"
|
394 |
msgstr ""
|
395 |
|
396 |
+
#: src/Settings/Page.php:194
|
397 |
msgid "Field Type"
|
398 |
msgstr ""
|
399 |
|
400 |
+
#: src/Settings/Page.php:196
|
401 |
msgid "Name"
|
402 |
msgstr ""
|
403 |
|
404 |
+
#: src/Settings/Page.php:198
|
405 |
msgid "Field name should contains only lowercase letters, numbers and underscore sign."
|
406 |
msgstr ""
|
407 |
|
408 |
+
#: src/Settings/Page.php:199
|
409 |
msgid "Select..."
|
410 |
msgstr ""
|
411 |
|
412 |
+
#: src/Settings/Page.php:200
|
413 |
msgid "Loading..."
|
414 |
msgstr ""
|
415 |
|
416 |
+
#: src/Settings/Page.php:201
|
417 |
msgid "No options."
|
418 |
msgstr ""
|
419 |
|
420 |
#. translators: %1$s: break line, %2$s: anchor opening tag, %3$s: anchor closing tag
|
421 |
+
#: src/Settings/Page.php:204
|
422 |
msgid "This field is available in the PRO version.%1$s %2$sUpgrade to PRO%3$s"
|
423 |
msgstr ""
|
424 |
|
425 |
+
#: src/Settings/Page.php:209
|
426 |
msgid "Are you sure you want to delete this field? Deleting a field will remove it from all orders."
|
427 |
msgstr ""
|
428 |
|
429 |
+
#: src/Settings/Page.php:210
|
430 |
msgid "Do you really want to reset section settings? Resetting a section remove all added fields from orders."
|
431 |
msgstr ""
|
432 |
|
433 |
+
#: src/Settings/Page.php:211
|
434 |
msgid "No fields available."
|
435 |
msgstr ""
|
436 |
|
readme.txt
CHANGED
@@ -187,8 +187,11 @@ If you are upgrading from the old WooCommerce Checkout Fields version (1.1, wooc
|
|
187 |
|
188 |
== Changelog ==
|
189 |
|
|
|
|
|
|
|
190 |
= 3.0.1 - 2021-03-01 =
|
191 |
-
* Fixed
|
192 |
|
193 |
= 3.0.0 - 2021-03-01 =
|
194 |
* Major Update!
|
187 |
|
188 |
== Changelog ==
|
189 |
|
190 |
+
= 3.0.2 - 2021-03-01 =
|
191 |
+
* Fixed editing of order in administration panel
|
192 |
+
|
193 |
= 3.0.1 - 2021-03-01 =
|
194 |
+
* Fixed adding of new field
|
195 |
|
196 |
= 3.0.0 - 2021-03-01 =
|
197 |
* Major Update!
|
src/Plugin.php
CHANGED
@@ -62,7 +62,6 @@ class Plugin extends AbstractPlugin implements HookableCollection {
|
|
62 |
*/
|
63 |
public function init() {
|
64 |
$this->add_hookable( new Admin\NoticeReview() );
|
65 |
-
$this->add_hookable( new Admin\Page() );
|
66 |
( new Field\Types() )->init();
|
67 |
$this->add_hookable( new Helpers\Shortener() );
|
68 |
$this->add_hookable( new Integration\IntegratorIntegration( $this->plugin_old ) );
|
62 |
*/
|
63 |
public function init() {
|
64 |
$this->add_hookable( new Admin\NoticeReview() );
|
|
|
65 |
( new Field\Types() )->init();
|
66 |
$this->add_hookable( new Helpers\Shortener() );
|
67 |
$this->add_hookable( new Integration\IntegratorIntegration( $this->plugin_old ) );
|
src/Settings/Page.php
CHANGED
@@ -81,6 +81,7 @@ class Page implements Hookable, HookablePluginDependant {
|
|
81 |
return;
|
82 |
}
|
83 |
|
|
|
84 |
$this->load_styles_for_page();
|
85 |
$this->load_scripts_for_page();
|
86 |
}
|
@@ -211,6 +212,17 @@ class Page implements Hookable, HookablePluginDependant {
|
|
211 |
];
|
212 |
}
|
213 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
214 |
/**
|
215 |
* Enqueues styles in WordPress Admin Dashboard.
|
216 |
*/
|
81 |
return;
|
82 |
}
|
83 |
|
84 |
+
add_filter( 'admin_footer_text', [ $this, 'update_footer_text' ] );
|
85 |
$this->load_styles_for_page();
|
86 |
$this->load_scripts_for_page();
|
87 |
}
|
212 |
];
|
213 |
}
|
214 |
|
215 |
+
/**
|
216 |
+
* Removes WooCommerce footer from plugin settings page.
|
217 |
+
*
|
218 |
+
* @return string New footer content.
|
219 |
+
*
|
220 |
+
* @internal
|
221 |
+
*/
|
222 |
+
public function update_footer_text(): string {
|
223 |
+
return '';
|
224 |
+
}
|
225 |
+
|
226 |
/**
|
227 |
* Enqueues styles in WordPress Admin Dashboard.
|
228 |
*/
|
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 ComposerAutoloaderInit1c96a991fe8c4630b28162b2a4bad385::getLoader();
|
vendor/composer/autoload_classmap.php
CHANGED
@@ -270,7 +270,6 @@ return array(
|
|
270 |
'Psr\\Log\\Test\\LoggerInterfaceTest' => $vendorDir . '/psr/log/Psr/Log/Test/LoggerInterfaceTest.php',
|
271 |
'Psr\\Log\\Test\\TestLogger' => $vendorDir . '/psr/log/Psr/Log/Test/TestLogger.php',
|
272 |
'WPDesk\\FCF\\Free\\Admin\\NoticeReview' => $baseDir . '/src/Admin/NoticeReview.php',
|
273 |
-
'WPDesk\\FCF\\Free\\Admin\\Page' => $baseDir . '/src/Admin/Page.php',
|
274 |
'WPDesk\\FCF\\Free\\Field\\FieldData' => $baseDir . '/src/Field/FieldData.php',
|
275 |
'WPDesk\\FCF\\Free\\Field\\Type\\CheckboxType' => $baseDir . '/src/Field/Type/CheckboxType.php',
|
276 |
'WPDesk\\FCF\\Free\\Field\\Type\\ColorType' => $baseDir . '/src/Field/Type/ColorType.php',
|
270 |
'Psr\\Log\\Test\\LoggerInterfaceTest' => $vendorDir . '/psr/log/Psr/Log/Test/LoggerInterfaceTest.php',
|
271 |
'Psr\\Log\\Test\\TestLogger' => $vendorDir . '/psr/log/Psr/Log/Test/TestLogger.php',
|
272 |
'WPDesk\\FCF\\Free\\Admin\\NoticeReview' => $baseDir . '/src/Admin/NoticeReview.php',
|
|
|
273 |
'WPDesk\\FCF\\Free\\Field\\FieldData' => $baseDir . '/src/Field/FieldData.php',
|
274 |
'WPDesk\\FCF\\Free\\Field\\Type\\CheckboxType' => $baseDir . '/src/Field/Type/CheckboxType.php',
|
275 |
'WPDesk\\FCF\\Free\\Field\\Type\\ColorType' => $baseDir . '/src/Field/Type/ColorType.php',
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit584045e23fd1b0abc2a8e8d10e4a42e3
|
|
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) {
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit1c96a991fe8c4630b28162b2a4bad385
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInit1c96a991fe8c4630b28162b2a4bad385', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit1c96a991fe8c4630b28162b2a4bad385', '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\ComposerStaticInit1c96a991fe8c4630b28162b2a4bad385::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
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'W' =>
|
@@ -293,7 +293,6 @@ class ComposerStaticInit584045e23fd1b0abc2a8e8d10e4a42e3
|
|
293 |
'Psr\\Log\\Test\\LoggerInterfaceTest' => __DIR__ . '/..' . '/psr/log/Psr/Log/Test/LoggerInterfaceTest.php',
|
294 |
'Psr\\Log\\Test\\TestLogger' => __DIR__ . '/..' . '/psr/log/Psr/Log/Test/TestLogger.php',
|
295 |
'WPDesk\\FCF\\Free\\Admin\\NoticeReview' => __DIR__ . '/../..' . '/src/Admin/NoticeReview.php',
|
296 |
-
'WPDesk\\FCF\\Free\\Admin\\Page' => __DIR__ . '/../..' . '/src/Admin/Page.php',
|
297 |
'WPDesk\\FCF\\Free\\Field\\FieldData' => __DIR__ . '/../..' . '/src/Field/FieldData.php',
|
298 |
'WPDesk\\FCF\\Free\\Field\\Type\\CheckboxType' => __DIR__ . '/../..' . '/src/Field/Type/CheckboxType.php',
|
299 |
'WPDesk\\FCF\\Free\\Field\\Type\\ColorType' => __DIR__ . '/../..' . '/src/Field/Type/ColorType.php',
|
@@ -402,9 +401,9 @@ class ComposerStaticInit584045e23fd1b0abc2a8e8d10e4a42e3
|
|
402 |
public static function getInitializer(ClassLoader $loader)
|
403 |
{
|
404 |
return \Closure::bind(function () use ($loader) {
|
405 |
-
$loader->prefixLengthsPsr4 =
|
406 |
-
$loader->prefixDirsPsr4 =
|
407 |
-
$loader->classMap =
|
408 |
|
409 |
}, null, ClassLoader::class);
|
410 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit1c96a991fe8c4630b28162b2a4bad385
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'W' =>
|
293 |
'Psr\\Log\\Test\\LoggerInterfaceTest' => __DIR__ . '/..' . '/psr/log/Psr/Log/Test/LoggerInterfaceTest.php',
|
294 |
'Psr\\Log\\Test\\TestLogger' => __DIR__ . '/..' . '/psr/log/Psr/Log/Test/TestLogger.php',
|
295 |
'WPDesk\\FCF\\Free\\Admin\\NoticeReview' => __DIR__ . '/../..' . '/src/Admin/NoticeReview.php',
|
|
|
296 |
'WPDesk\\FCF\\Free\\Field\\FieldData' => __DIR__ . '/../..' . '/src/Field/FieldData.php',
|
297 |
'WPDesk\\FCF\\Free\\Field\\Type\\CheckboxType' => __DIR__ . '/../..' . '/src/Field/Type/CheckboxType.php',
|
298 |
'WPDesk\\FCF\\Free\\Field\\Type\\ColorType' => __DIR__ . '/../..' . '/src/Field/Type/ColorType.php',
|
401 |
public static function getInitializer(ClassLoader $loader)
|
402 |
{
|
403 |
return \Closure::bind(function () use ($loader) {
|
404 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit1c96a991fe8c4630b28162b2a4bad385::$prefixLengthsPsr4;
|
405 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit1c96a991fe8c4630b28162b2a4bad385::$prefixDirsPsr4;
|
406 |
+
$loader->classMap = ComposerStaticInit1c96a991fe8c4630b28162b2a4bad385::$classMap;
|
407 |
|
408 |
}, null, ClassLoader::class);
|
409 |
}
|