Version Description
Download this release
Release Info
Developer | tareq1988 |
Plugin | Dokan – Best WooCommerce Multivendor Marketplace Solution – Build Your Own Amazon, eBay, Etsy |
Version | 3.2.10 |
Comparing to | |
See all releases |
Code changes from version 3.2.9 to 3.2.10
- dokan.php +2 -2
- includes/Order/Hooks.php +13 -0
- includes/Walkers/TaxonomyDropdown.php +5 -2
- languages/dokan-lite.pot +30 -30
- readme.txt +7 -1
- templates/products/new-product-single.php +2 -0
- templates/products/new-product.php +2 -0
- templates/products/tmpl-add-product-popup.php +2 -0
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +7 -7
- vendor/composer/autoload_static.php +4 -4
dokan.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Dokan
|
4 |
* Plugin URI: https://wordpress.org/plugins/dokan-lite/
|
5 |
* Description: An e-commerce marketplace plugin for WordPress. Powered by WooCommerce and weDevs.
|
6 |
-
* Version: 3.2.
|
7 |
* Author: weDevs
|
8 |
* Author URI: https://wedevs.com/
|
9 |
* Text Domain: dokan-lite
|
@@ -56,7 +56,7 @@ final class WeDevs_Dokan {
|
|
56 |
*
|
57 |
* @var string
|
58 |
*/
|
59 |
-
public $version = '3.2.
|
60 |
|
61 |
/**
|
62 |
* Instance of self
|
3 |
* Plugin Name: Dokan
|
4 |
* Plugin URI: https://wordpress.org/plugins/dokan-lite/
|
5 |
* Description: An e-commerce marketplace plugin for WordPress. Powered by WooCommerce and weDevs.
|
6 |
+
* Version: 3.2.10
|
7 |
* Author: weDevs
|
8 |
* Author URI: https://wedevs.com/
|
9 |
* Text Domain: dokan-lite
|
56 |
*
|
57 |
* @var string
|
58 |
*/
|
59 |
+
public $version = '3.2.10';
|
60 |
|
61 |
/**
|
62 |
* Instance of self
|
includes/Order/Hooks.php
CHANGED
@@ -51,6 +51,9 @@ class Hooks {
|
|
51 |
//Wc remove child order from wc_order_product_lookup & trim child order from posts for analytics
|
52 |
add_action( 'wc-admin_import_orders', [ $this, 'delete_child_order_from_wc_order_product' ] );
|
53 |
add_filter( 'woocommerce_analytics_orders_select_query', [ $this, 'trim_child_order_for_analytics_order' ] );
|
|
|
|
|
|
|
54 |
}
|
55 |
|
56 |
/**
|
@@ -391,6 +394,16 @@ class Hooks {
|
|
391 |
return $orders;
|
392 |
}
|
393 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
394 |
/**
|
395 |
* Handle stock level wrong calculation in order notes for suborder
|
396 |
*
|
51 |
//Wc remove child order from wc_order_product_lookup & trim child order from posts for analytics
|
52 |
add_action( 'wc-admin_import_orders', [ $this, 'delete_child_order_from_wc_order_product' ] );
|
53 |
add_filter( 'woocommerce_analytics_orders_select_query', [ $this, 'trim_child_order_for_analytics_order' ] );
|
54 |
+
|
55 |
+
// remove customer info from order export based on setting
|
56 |
+
add_filter( 'dokan_csv_export_headers', [ $this, 'hide_customer_info_from_vendor_order_export' ], 20, 1 );
|
57 |
}
|
58 |
|
59 |
/**
|
394 |
return $orders;
|
395 |
}
|
396 |
|
397 |
+
public function hide_customer_info_from_vendor_order_export( $headers ) {
|
398 |
+
$hide_customer_info = dokan_get_option( 'hide_customer_info', 'dokan_selling', 'off' );
|
399 |
+
if ( 'off' !== $hide_customer_info ) {
|
400 |
+
unset( $headers['billing_email'] );
|
401 |
+
unset( $headers['customer_ip'] );
|
402 |
+
}
|
403 |
+
|
404 |
+
return $headers;
|
405 |
+
}
|
406 |
+
|
407 |
/**
|
408 |
* Handle stock level wrong calculation in order notes for suborder
|
409 |
*
|
includes/Walkers/TaxonomyDropdown.php
CHANGED
@@ -64,7 +64,7 @@ class TaxonomyDropdown extends Walker {
|
|
64 |
|
65 |
$pad = str_repeat( ' —', $depth * 1 );
|
66 |
$cat_name = apply_filters( 'list_cats', $category->name, $category );
|
67 |
-
$output .= "
|
68 |
|
69 |
if ( defined( 'DOKAN_PRO_PLUGIN_VERSION' ) && version_compare( DOKAN_PRO_PLUGIN_VERSION, '2.9.14', '<' ) ) {
|
70 |
$output .= ' data-commission="' . $commission_val . '" data-commission_type="' . $commission_type . '"';
|
@@ -72,7 +72,10 @@ class TaxonomyDropdown extends Walker {
|
|
72 |
$output .= ' data-commission="' . $commission_val . '" data-product-id="' . $this->post_id . '"';
|
73 |
}
|
74 |
|
75 |
-
|
|
|
|
|
|
|
76 |
$output .= ' selected="selected"';
|
77 |
}
|
78 |
|
64 |
|
65 |
$pad = str_repeat( ' —', $depth * 1 );
|
66 |
$cat_name = apply_filters( 'list_cats', $category->name, $category );
|
67 |
+
$output .= "<option class=\"level-$depth\" value=\"" . $category->term_id . '"';
|
68 |
|
69 |
if ( defined( 'DOKAN_PRO_PLUGIN_VERSION' ) && version_compare( DOKAN_PRO_PLUGIN_VERSION, '2.9.14', '<' ) ) {
|
70 |
$output .= ' data-commission="' . $commission_val . '" data-commission_type="' . $commission_type . '"';
|
72 |
$output .= ' data-commission="' . $commission_val . '" data-product-id="' . $this->post_id . '"';
|
73 |
}
|
74 |
|
75 |
+
$selected = is_array( $args['selected'] ) ? $args['selected'] : (array) $args['selected'];
|
76 |
+
$selected = array_map( 'intval', $selected );
|
77 |
+
|
78 |
+
if ( in_array( $category->term_id, $selected, true ) ) {
|
79 |
$output .= ' selected="selected"';
|
80 |
}
|
81 |
|
languages/dokan-lite.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the GPL2.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Dokan 3.2.
|
6 |
"Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
|
7 |
-
"POT-Creation-Date: 2021-08-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -2182,20 +2182,20 @@ msgstr ""
|
|
2182 |
msgid "Store List"
|
2183 |
msgstr ""
|
2184 |
|
2185 |
-
#: includes/Order/Hooks.php:
|
2186 |
msgid "Mark parent order completed when all child orders are completed."
|
2187 |
msgstr ""
|
2188 |
|
2189 |
-
#: includes/Order/Hooks.php:
|
2190 |
msgid "A coupon must be restricted with a vendor product."
|
2191 |
msgstr ""
|
2192 |
|
2193 |
-
#: includes/Order/Hooks.php:
|
2194 |
#. translators: %s item name.
|
2195 |
msgid "Unable to restore stock for item %s."
|
2196 |
msgstr ""
|
2197 |
|
2198 |
-
#: includes/Order/Hooks.php:
|
2199 |
msgid "Stock levels reduced:"
|
2200 |
msgstr ""
|
2201 |
|
@@ -7100,65 +7100,65 @@ msgid "To"
|
|
7100 |
msgstr ""
|
7101 |
|
7102 |
#: templates/products/new-product-single.php:259
|
7103 |
-
#: templates/products/new-product-single.php:
|
7104 |
msgid "Category"
|
7105 |
msgstr ""
|
7106 |
|
7107 |
-
#: templates/products/new-product-single.php:
|
7108 |
msgid "Please choose a category!"
|
7109 |
msgstr ""
|
7110 |
|
7111 |
-
#: templates/products/new-product-single.php:
|
7112 |
-
#: templates/products/new-product.php:
|
7113 |
-
#: templates/products/tmpl-add-product-popup.php:
|
7114 |
msgid "Select product category"
|
7115 |
msgstr ""
|
7116 |
|
7117 |
-
#: templates/products/new-product-single.php:
|
7118 |
-
#: templates/products/new-product.php:
|
7119 |
-
#: templates/products/tmpl-add-product-popup.php:
|
7120 |
msgid "Tags"
|
7121 |
msgstr ""
|
7122 |
|
7123 |
-
#: templates/products/new-product-single.php:
|
7124 |
#: templates/products/new-product.php:79
|
7125 |
#: templates/products/tmpl-add-product-popup.php:19
|
7126 |
msgid "Select tags/Add tags"
|
7127 |
msgstr ""
|
7128 |
|
7129 |
-
#: templates/products/new-product-single.php:
|
7130 |
#: templates/products/new-product.php:79
|
7131 |
#: templates/products/tmpl-add-product-popup.php:19
|
7132 |
msgid "Select product tags"
|
7133 |
msgstr ""
|
7134 |
|
7135 |
-
#: templates/products/new-product-single.php:
|
7136 |
#: templates/products/tmpl-add-product-popup.php:25
|
7137 |
msgid "Upload a product cover image"
|
7138 |
msgstr ""
|
7139 |
|
7140 |
-
#: templates/products/new-product-single.php:
|
7141 |
#: templates/products/new-product.php:133
|
7142 |
msgid "Delete image"
|
7143 |
msgstr ""
|
7144 |
|
7145 |
-
#: templates/products/new-product-single.php:
|
7146 |
#: templates/products/new-product.php:140
|
7147 |
#: templates/products/tmpl-add-product-popup.php:39
|
7148 |
msgid "Add gallery image"
|
7149 |
msgstr ""
|
7150 |
|
7151 |
-
#: templates/products/new-product-single.php:
|
7152 |
msgid "Short Description"
|
7153 |
msgstr ""
|
7154 |
|
7155 |
-
#: templates/products/new-product-single.php:
|
7156 |
-
#: templates/products/new-product.php:
|
7157 |
msgid "Description"
|
7158 |
msgstr ""
|
7159 |
|
7160 |
-
#: templates/products/new-product-single.php:
|
7161 |
-
#: templates/products/new-product-single.php:
|
7162 |
msgid "Save Product"
|
7163 |
msgstr ""
|
7164 |
|
@@ -7179,15 +7179,15 @@ msgstr ""
|
|
7179 |
msgid "Short description of the product..."
|
7180 |
msgstr ""
|
7181 |
|
7182 |
-
#: templates/products/new-product.php:
|
7183 |
msgid "Add your product description"
|
7184 |
msgstr ""
|
7185 |
|
7186 |
-
#: templates/products/new-product.php:
|
7187 |
msgid "Create & Add New"
|
7188 |
msgstr ""
|
7189 |
|
7190 |
-
#: templates/products/new-product.php:
|
7191 |
msgid "Create Product"
|
7192 |
msgstr ""
|
7193 |
|
@@ -7287,15 +7287,15 @@ msgstr ""
|
|
7287 |
msgid "Ready to start selling something awesome?"
|
7288 |
msgstr ""
|
7289 |
|
7290 |
-
#: templates/products/tmpl-add-product-popup.php:
|
7291 |
msgid "Enter some short description about this product..."
|
7292 |
msgstr ""
|
7293 |
|
7294 |
-
#: templates/products/tmpl-add-product-popup.php:
|
7295 |
msgid "Create product"
|
7296 |
msgstr ""
|
7297 |
|
7298 |
-
#: templates/products/tmpl-add-product-popup.php:
|
7299 |
msgid "Create & add new"
|
7300 |
msgstr ""
|
7301 |
|
2 |
# This file is distributed under the GPL2.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Dokan 3.2.10\n"
|
6 |
"Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
|
7 |
+
"POT-Creation-Date: 2021-08-10 13:47:19+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
2182 |
msgid "Store List"
|
2183 |
msgstr ""
|
2184 |
|
2185 |
+
#: includes/Order/Hooks.php:254
|
2186 |
msgid "Mark parent order completed when all child orders are completed."
|
2187 |
msgstr ""
|
2188 |
|
2189 |
+
#: includes/Order/Hooks.php:299
|
2190 |
msgid "A coupon must be restricted with a vendor product."
|
2191 |
msgstr ""
|
2192 |
|
2193 |
+
#: includes/Order/Hooks.php:354
|
2194 |
#. translators: %s item name.
|
2195 |
msgid "Unable to restore stock for item %s."
|
2196 |
msgstr ""
|
2197 |
|
2198 |
+
#: includes/Order/Hooks.php:431 includes/Order/Hooks.php:450
|
2199 |
msgid "Stock levels reduced:"
|
2200 |
msgstr ""
|
2201 |
|
7100 |
msgstr ""
|
7101 |
|
7102 |
#: templates/products/new-product-single.php:259
|
7103 |
+
#: templates/products/new-product-single.php:293
|
7104 |
msgid "Category"
|
7105 |
msgstr ""
|
7106 |
|
7107 |
+
#: templates/products/new-product-single.php:288
|
7108 |
msgid "Please choose a category!"
|
7109 |
msgstr ""
|
7110 |
|
7111 |
+
#: templates/products/new-product-single.php:314
|
7112 |
+
#: templates/products/new-product.php:249
|
7113 |
+
#: templates/products/tmpl-add-product-popup.php:140
|
7114 |
msgid "Select product category"
|
7115 |
msgstr ""
|
7116 |
|
7117 |
+
#: templates/products/new-product-single.php:320
|
7118 |
+
#: templates/products/new-product.php:255
|
7119 |
+
#: templates/products/tmpl-add-product-popup.php:146
|
7120 |
msgid "Tags"
|
7121 |
msgstr ""
|
7122 |
|
7123 |
+
#: templates/products/new-product-single.php:325
|
7124 |
#: templates/products/new-product.php:79
|
7125 |
#: templates/products/tmpl-add-product-popup.php:19
|
7126 |
msgid "Select tags/Add tags"
|
7127 |
msgstr ""
|
7128 |
|
7129 |
+
#: templates/products/new-product-single.php:325
|
7130 |
#: templates/products/new-product.php:79
|
7131 |
#: templates/products/tmpl-add-product-popup.php:19
|
7132 |
msgid "Select product tags"
|
7133 |
msgstr ""
|
7134 |
|
7135 |
+
#: templates/products/new-product-single.php:362
|
7136 |
#: templates/products/tmpl-add-product-popup.php:25
|
7137 |
msgid "Upload a product cover image"
|
7138 |
msgstr ""
|
7139 |
|
7140 |
+
#: templates/products/new-product-single.php:393
|
7141 |
#: templates/products/new-product.php:133
|
7142 |
msgid "Delete image"
|
7143 |
msgstr ""
|
7144 |
|
7145 |
+
#: templates/products/new-product-single.php:399
|
7146 |
#: templates/products/new-product.php:140
|
7147 |
#: templates/products/tmpl-add-product-popup.php:39
|
7148 |
msgid "Add gallery image"
|
7149 |
msgstr ""
|
7150 |
|
7151 |
+
#: templates/products/new-product-single.php:415
|
7152 |
msgid "Short Description"
|
7153 |
msgstr ""
|
7154 |
|
7155 |
+
#: templates/products/new-product-single.php:420
|
7156 |
+
#: templates/products/new-product.php:264
|
7157 |
msgid "Description"
|
7158 |
msgstr ""
|
7159 |
|
7160 |
+
#: templates/products/new-product-single.php:436
|
7161 |
+
#: templates/products/new-product-single.php:437
|
7162 |
msgid "Save Product"
|
7163 |
msgstr ""
|
7164 |
|
7179 |
msgid "Short description of the product..."
|
7180 |
msgstr ""
|
7181 |
|
7182 |
+
#: templates/products/new-product.php:264
|
7183 |
msgid "Add your product description"
|
7184 |
msgstr ""
|
7185 |
|
7186 |
+
#: templates/products/new-product.php:283
|
7187 |
msgid "Create & Add New"
|
7188 |
msgstr ""
|
7189 |
|
7190 |
+
#: templates/products/new-product.php:285
|
7191 |
msgid "Create Product"
|
7192 |
msgstr ""
|
7193 |
|
7287 |
msgid "Ready to start selling something awesome?"
|
7288 |
msgstr ""
|
7289 |
|
7290 |
+
#: templates/products/tmpl-add-product-popup.php:153
|
7291 |
msgid "Enter some short description about this product..."
|
7292 |
msgstr ""
|
7293 |
|
7294 |
+
#: templates/products/tmpl-add-product-popup.php:161
|
7295 |
msgid "Create product"
|
7296 |
msgstr ""
|
7297 |
|
7298 |
+
#: templates/products/tmpl-add-product-popup.php:171
|
7299 |
msgid "Create & add new"
|
7300 |
msgstr ""
|
7301 |
|
readme.txt
CHANGED
@@ -7,7 +7,7 @@ Tested up to: 5.8
|
|
7 |
WC requires at least: 3.0
|
8 |
WC tested up to: 5.5.2
|
9 |
Requires PHP: 5.6
|
10 |
-
Stable tag: 3.2.
|
11 |
License: GPLv2 or later
|
12 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
13 |
|
@@ -292,6 +292,12 @@ A. Just install and activate the PRO version without deleting the free plugin. A
|
|
292 |
|
293 |
== Changelog ==
|
294 |
|
|
|
|
|
|
|
|
|
|
|
|
|
295 |
= v3.2.9 ( Aug 2, 2021 ) =
|
296 |
|
297 |
- **New:** Added customize settings for store product filter option to show/hide
|
7 |
WC requires at least: 3.0
|
8 |
WC tested up to: 5.5.2
|
9 |
Requires PHP: 5.6
|
10 |
+
Stable tag: 3.2.10
|
11 |
License: GPLv2 or later
|
12 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
13 |
|
292 |
|
293 |
== Changelog ==
|
294 |
|
295 |
+
= v3.2.10 ( Aug 10, 2021 ) =
|
296 |
+
|
297 |
+
- **update:** Hide customer billing email and ip address from vendor order export data based on admin setting
|
298 |
+
- **update:** Default Category order by set to name and order by as ascending
|
299 |
+
- **fix:** After submitting the Create Product from the selected category is not selected
|
300 |
+
|
301 |
= v3.2.9 ( Aug 2, 2021 ) =
|
302 |
|
303 |
- **New:** Added customize settings for store product filter option to show/hide
|
templates/products/new-product-single.php
CHANGED
@@ -274,6 +274,7 @@ do_action( 'dokan_dashboard_wrap_before', $post, $post_id );
|
|
274 |
'name' => 'product_cat',
|
275 |
'id' => 'product_cat',
|
276 |
'taxonomy' => 'product_cat',
|
|
|
277 |
'title_li' => '',
|
278 |
'class' => 'product_cat dokan-form-control dokan-select2',
|
279 |
'exclude' => '',
|
@@ -301,6 +302,7 @@ do_action( 'dokan_dashboard_wrap_before', $post, $post_id );
|
|
301 |
'name' => 'product_cat[]',
|
302 |
'id' => 'product_cat',
|
303 |
'taxonomy' => 'product_cat',
|
|
|
304 |
'title_li' => '',
|
305 |
'class' => 'product_cat dokan-form-control dokan-select2',
|
306 |
'exclude' => '',
|
274 |
'name' => 'product_cat',
|
275 |
'id' => 'product_cat',
|
276 |
'taxonomy' => 'product_cat',
|
277 |
+
'orderby' => 'name',
|
278 |
'title_li' => '',
|
279 |
'class' => 'product_cat dokan-form-control dokan-select2',
|
280 |
'exclude' => '',
|
302 |
'name' => 'product_cat[]',
|
303 |
'id' => 'product_cat',
|
304 |
'taxonomy' => 'product_cat',
|
305 |
+
'orderby' => 'name',
|
306 |
'title_li' => '',
|
307 |
'class' => 'product_cat dokan-form-control dokan-select2',
|
308 |
'exclude' => '',
|
templates/products/new-product.php
CHANGED
@@ -210,6 +210,7 @@ use WeDevs\Dokan\Walkers\TaxonomyDropdown;
|
|
210 |
'name' => 'product_cat',
|
211 |
'id' => 'product_cat',
|
212 |
'taxonomy' => 'product_cat',
|
|
|
213 |
'title_li' => '',
|
214 |
'class' => 'product_cat dokan-form-control dokan-select2',
|
215 |
'exclude' => '',
|
@@ -236,6 +237,7 @@ use WeDevs\Dokan\Walkers\TaxonomyDropdown;
|
|
236 |
'name' => 'product_cat[]',
|
237 |
'id' => 'product_cat',
|
238 |
'taxonomy' => 'product_cat',
|
|
|
239 |
'title_li' => '',
|
240 |
'class' => 'product_cat dokan-form-control dokan-select2',
|
241 |
'exclude' => '',
|
210 |
'name' => 'product_cat',
|
211 |
'id' => 'product_cat',
|
212 |
'taxonomy' => 'product_cat',
|
213 |
+
'orderby' => 'name',
|
214 |
'title_li' => '',
|
215 |
'class' => 'product_cat dokan-form-control dokan-select2',
|
216 |
'exclude' => '',
|
237 |
'name' => 'product_cat[]',
|
238 |
'id' => 'product_cat',
|
239 |
'taxonomy' => 'product_cat',
|
240 |
+
'orderby' => 'name',
|
241 |
'title_li' => '',
|
242 |
'class' => 'product_cat dokan-form-control dokan-select2',
|
243 |
'exclude' => '',
|
templates/products/tmpl-add-product-popup.php
CHANGED
@@ -105,6 +105,7 @@ use WeDevs\Dokan\Walkers\TaxonomyDropdown;
|
|
105 |
'name' => 'product_cat',
|
106 |
'id' => 'product_cat',
|
107 |
'taxonomy' => 'product_cat',
|
|
|
108 |
'title_li' => '',
|
109 |
'class' => 'product_cat dokan-form-control dokan-select2',
|
110 |
'exclude' => '',
|
@@ -127,6 +128,7 @@ use WeDevs\Dokan\Walkers\TaxonomyDropdown;
|
|
127 |
'name' => 'product_cat[]',
|
128 |
'id' => 'product_cat',
|
129 |
'taxonomy' => 'product_cat',
|
|
|
130 |
'title_li' => '',
|
131 |
'class' => 'product_cat dokan-form-control dokan-select2',
|
132 |
'exclude' => '',
|
105 |
'name' => 'product_cat',
|
106 |
'id' => 'product_cat',
|
107 |
'taxonomy' => 'product_cat',
|
108 |
+
'orderby' => 'name',
|
109 |
'title_li' => '',
|
110 |
'class' => 'product_cat dokan-form-control dokan-select2',
|
111 |
'exclude' => '',
|
128 |
'name' => 'product_cat[]',
|
129 |
'id' => 'product_cat',
|
130 |
'taxonomy' => 'product_cat',
|
131 |
+
'orderby' => 'name',
|
132 |
'title_li' => '',
|
133 |
'class' => 'product_cat dokan-form-control dokan-select2',
|
134 |
'exclude' => '',
|
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 ComposerAutoloaderInitac52dd88b8d9552e0e7cfbacb35d30ea::getLoader();
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -22,15 +22,15 @@ class ComposerAutoloaderInit38f81e213638c6498fbab6eada71c7ee
|
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
-
spl_autoload_register(array('
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
-
spl_autoload_unregister(array('
|
28 |
|
29 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
30 |
if ($useStaticLoader) {
|
31 |
require_once __DIR__ . '/autoload_static.php';
|
32 |
|
33 |
-
call_user_func(\Composer\Autoload\
|
34 |
} else {
|
35 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
36 |
foreach ($map as $namespace => $path) {
|
@@ -51,19 +51,19 @@ class ComposerAutoloaderInit38f81e213638c6498fbab6eada71c7ee
|
|
51 |
$loader->register(true);
|
52 |
|
53 |
if ($useStaticLoader) {
|
54 |
-
$includeFiles = Composer\Autoload\
|
55 |
} else {
|
56 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
57 |
}
|
58 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
59 |
-
|
60 |
}
|
61 |
|
62 |
return $loader;
|
63 |
}
|
64 |
}
|
65 |
|
66 |
-
function
|
67 |
{
|
68 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
69 |
require $file;
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInitac52dd88b8d9552e0e7cfbacb35d30ea
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
+
spl_autoload_register(array('ComposerAutoloaderInitac52dd88b8d9552e0e7cfbacb35d30ea', 'loadClassLoader'), true, true);
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
+
spl_autoload_unregister(array('ComposerAutoloaderInitac52dd88b8d9552e0e7cfbacb35d30ea', 'loadClassLoader'));
|
28 |
|
29 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
30 |
if ($useStaticLoader) {
|
31 |
require_once __DIR__ . '/autoload_static.php';
|
32 |
|
33 |
+
call_user_func(\Composer\Autoload\ComposerStaticInitac52dd88b8d9552e0e7cfbacb35d30ea::getInitializer($loader));
|
34 |
} else {
|
35 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
36 |
foreach ($map as $namespace => $path) {
|
51 |
$loader->register(true);
|
52 |
|
53 |
if ($useStaticLoader) {
|
54 |
+
$includeFiles = Composer\Autoload\ComposerStaticInitac52dd88b8d9552e0e7cfbacb35d30ea::$files;
|
55 |
} else {
|
56 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
57 |
}
|
58 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
59 |
+
composerRequireac52dd88b8d9552e0e7cfbacb35d30ea($fileIdentifier, $file);
|
60 |
}
|
61 |
|
62 |
return $loader;
|
63 |
}
|
64 |
}
|
65 |
|
66 |
+
function composerRequireac52dd88b8d9552e0e7cfbacb35d30ea($fileIdentifier, $file)
|
67 |
{
|
68 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
69 |
require $file;
|
vendor/composer/autoload_static.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'b45b351e6b6f7487d819961fef2fda77' => __DIR__ . '/..' . '/jakeasmith/http_build_url/src/http_build_url.php',
|
@@ -182,9 +182,9 @@ class ComposerStaticInit38f81e213638c6498fbab6eada71c7ee
|
|
182 |
public static function getInitializer(ClassLoader $loader)
|
183 |
{
|
184 |
return \Closure::bind(function () use ($loader) {
|
185 |
-
$loader->prefixLengthsPsr4 =
|
186 |
-
$loader->prefixDirsPsr4 =
|
187 |
-
$loader->classMap =
|
188 |
|
189 |
}, null, ClassLoader::class);
|
190 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInitac52dd88b8d9552e0e7cfbacb35d30ea
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'b45b351e6b6f7487d819961fef2fda77' => __DIR__ . '/..' . '/jakeasmith/http_build_url/src/http_build_url.php',
|
182 |
public static function getInitializer(ClassLoader $loader)
|
183 |
{
|
184 |
return \Closure::bind(function () use ($loader) {
|
185 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInitac52dd88b8d9552e0e7cfbacb35d30ea::$prefixLengthsPsr4;
|
186 |
+
$loader->prefixDirsPsr4 = ComposerStaticInitac52dd88b8d9552e0e7cfbacb35d30ea::$prefixDirsPsr4;
|
187 |
+
$loader->classMap = ComposerStaticInitac52dd88b8d9552e0e7cfbacb35d30ea::$classMap;
|
188 |
|
189 |
}, null, ClassLoader::class);
|
190 |
}
|