update package-lock.json
|
@ -8,8 +8,9 @@
|
||||||
/node_modules/
|
/node_modules/
|
||||||
/tests/
|
/tests/
|
||||||
babel.config.js
|
babel.config.js
|
||||||
CHANGELOG.txt
|
changelog.txt
|
||||||
composer.*
|
composer.*
|
||||||
|
tsconfig.*
|
||||||
contributors.html
|
contributors.html
|
||||||
docker-compose.yaml
|
docker-compose.yaml
|
||||||
Dockerfile
|
Dockerfile
|
||||||
|
|
|
@ -1,7 +1,14 @@
|
||||||
|
# Set the default behavior, in case people don't have `core.autocrlf` set.
|
||||||
|
* text=auto
|
||||||
|
|
||||||
|
# Declare files that will always have LF line endings on checkout.
|
||||||
|
*.php text eol=lf
|
||||||
|
|
||||||
|
# Remove files for archives generated using `git archive`.
|
||||||
/.* export-ignore
|
/.* export-ignore
|
||||||
bin export-ignore
|
bin export-ignore
|
||||||
CODE_OF_CONDUCT.md export-ignore
|
CODE_OF_CONDUCT.md export-ignore
|
||||||
CHANGELOG.txt export-ignore
|
changelog.txt export-ignore
|
||||||
composer.* export-ignore
|
composer.* export-ignore
|
||||||
Gruntfile.js export-ignore
|
Gruntfile.js export-ignore
|
||||||
package.json export-ignore
|
package.json export-ignore
|
||||||
|
@ -9,5 +16,5 @@ package-lock.json export-ignore
|
||||||
phpcs.xml export-ignore
|
phpcs.xml export-ignore
|
||||||
phpunit.* export-ignore
|
phpunit.* export-ignore
|
||||||
README.md export-ignore
|
README.md export-ignore
|
||||||
tests export-ignore
|
|
||||||
renovate.json export-ignore
|
renovate.json export-ignore
|
||||||
|
tests export-ignore
|
||||||
|
|
|
@ -11,9 +11,7 @@ jobs:
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Build
|
- name: Build
|
||||||
id: build
|
id: build
|
||||||
uses: woocommerce/action-build@master
|
uses: woocommerce/action-build@v2
|
||||||
with:
|
|
||||||
generate-zip: true
|
|
||||||
- name: Upload release asset
|
- name: Upload release asset
|
||||||
uses: actions/upload-release-asset@v1
|
uses: actions/upload-release-asset@v1
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -17,9 +17,7 @@ jobs:
|
||||||
ref: ${{ matrix.build }}
|
ref: ${{ matrix.build }}
|
||||||
- name: Build
|
- name: Build
|
||||||
id: build
|
id: build
|
||||||
uses: woocommerce/action-build@master
|
uses: woocommerce/action-build@v2
|
||||||
with:
|
|
||||||
generate-zip: true
|
|
||||||
- name: Deploy nightly build
|
- name: Deploy nightly build
|
||||||
uses: WebFreak001/deploy-nightly@v1.0.3
|
uses: WebFreak001/deploy-nightly@v1.0.3
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -51,6 +51,8 @@ tests/cli/vendor
|
||||||
/tests/e2e/env/docker/wp-cli/initialize.sh
|
/tests/e2e/env/docker/wp-cli/initialize.sh
|
||||||
/tests/e2e/env/build/
|
/tests/e2e/env/build/
|
||||||
/tests/e2e/env/build-module/
|
/tests/e2e/env/build-module/
|
||||||
|
/tests/e2e/utils/build/
|
||||||
|
/tests/e2e/utils/build-module/
|
||||||
|
|
||||||
# Logs
|
# Logs
|
||||||
/logs
|
/logs
|
||||||
|
|
|
@ -33,8 +33,7 @@ jobs:
|
||||||
php: 7.4
|
php: 7.4
|
||||||
env: WP_VERSION=latest WP_MULTISITE=0 RUN_E2E=1
|
env: WP_VERSION=latest WP_MULTISITE=0 RUN_E2E=1
|
||||||
script:
|
script:
|
||||||
- composer require wp-cli/i18n-command
|
- npm run build:assets
|
||||||
- npm run build
|
|
||||||
- npm run build:packages
|
- npm run build:packages
|
||||||
- npm install jest --global
|
- npm install jest --global
|
||||||
- npm run docker:up
|
- npm run docker:up
|
||||||
|
|
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 236 KiB After Width: | Height: | Size: 225 KiB |
Before Width: | Height: | Size: 332 KiB After Width: | Height: | Size: 289 KiB |
Before Width: | Height: | Size: 255 KiB After Width: | Height: | Size: 208 KiB |
Before Width: | Height: | Size: 242 KiB After Width: | Height: | Size: 198 KiB |
Before Width: | Height: | Size: 368 KiB After Width: | Height: | Size: 303 KiB |
Before Width: | Height: | Size: 324 KiB After Width: | Height: | Size: 279 KiB |
|
@ -6163,6 +6163,18 @@ table.bar_chart {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.post-type-product {
|
||||||
|
|
||||||
|
#wp-pointer-2 .wp-pointer-arrow {
|
||||||
|
left: 240px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wp-pointer-3 .wp-pointer-arrow,
|
||||||
|
#wp-pointer-4 .wp-pointer-arrow {
|
||||||
|
left: 46%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Small screen optimisation
|
* Small screen optimisation
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1315,6 +1315,7 @@ jQuery( function ( $ ) {
|
||||||
};
|
};
|
||||||
|
|
||||||
$.post( woocommerce_admin_meta_boxes.ajax_url, data, function( response ) {
|
$.post( woocommerce_admin_meta_boxes.ajax_url, data, function( response ) {
|
||||||
|
$( 'ul.order_notes .no-items' ).remove();
|
||||||
$( 'ul.order_notes' ).prepend( response );
|
$( 'ul.order_notes' ).prepend( response );
|
||||||
$( '#woocommerce-order-notes' ).unblock();
|
$( '#woocommerce-order-notes' ).unblock();
|
||||||
$( '#add_order_note' ).val( '' );
|
$( '#add_order_note' ).val( '' );
|
||||||
|
|
|
@ -103,8 +103,10 @@ jQuery( function( $ ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Class changes.
|
// Class changes.
|
||||||
|
if ( Array.isArray( fieldLocale.class ) ) {
|
||||||
field.removeClass( 'form-row-first form-row-last form-row-wide' );
|
field.removeClass( 'form-row-first form-row-last form-row-wide' );
|
||||||
field.addClass( fieldLocale.class.join( ' ' ) );
|
field.addClass( fieldLocale.class.join( ' ' ) );
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
var fieldsets = $(
|
var fieldsets = $(
|
||||||
|
|
|
@ -13,20 +13,19 @@ echo "Installing PHP and JS dependencies..."
|
||||||
npm install
|
npm install
|
||||||
composer install || exit "$?"
|
composer install || exit "$?"
|
||||||
echo "Running JS Build..."
|
echo "Running JS Build..."
|
||||||
npm run build || exit "$?"
|
npm run build:core || exit "$?"
|
||||||
echo "Cleaning up PHP dependencies..."
|
echo "Cleaning up PHP dependencies..."
|
||||||
composer install --no-dev || exit "$?"
|
composer install --no-dev || exit "$?"
|
||||||
|
|
||||||
echo "Syncing files..."
|
echo "Syncing files..."
|
||||||
rsync -rc --exclude-from="$PROJECT_PATH/.distignore" "$PROJECT_PATH/" "$DEST_PATH/" --delete --delete-excluded
|
rsync -rc --exclude-from="$PROJECT_PATH/.distignore" "$PROJECT_PATH/" "$DEST_PATH/" --delete --delete-excluded
|
||||||
|
|
||||||
echo "Restoring PHP dependencies..."
|
|
||||||
composer install || exit "$?"
|
|
||||||
npm run build || exit "$?"
|
|
||||||
|
|
||||||
echo "Generating zip file..."
|
echo "Generating zip file..."
|
||||||
cd "$BUILD_PATH" || exit
|
cd "$BUILD_PATH" || exit
|
||||||
zip -q -r "${PLUGIN_SLUG}.zip" "$PLUGIN_SLUG/"
|
zip -q -r "${PLUGIN_SLUG}.zip" "$PLUGIN_SLUG/"
|
||||||
echo "$BUILD_PATH/${PLUGIN_SLUG}.zip file generated!"
|
|
||||||
|
cd "$PROJECT_PATH" || exit
|
||||||
|
mv "$BUILD_PATH/${PLUGIN_SLUG}.zip" "$PROJECT_PATH"
|
||||||
|
echo "${PLUGIN_SLUG}.zip file generated!"
|
||||||
|
|
||||||
echo "Build done!"
|
echo "Build done!"
|
||||||
|
|
|
@ -1,5 +1,49 @@
|
||||||
== Changelog ==
|
== Changelog ==
|
||||||
|
|
||||||
|
= 4.5.0 - 2020-09-08 =
|
||||||
|
|
||||||
|
**WooCommerce**
|
||||||
|
* Localization - Added postcode validation for Bosnia and Herzegovina. #27048
|
||||||
|
* Localization - Added the postcode validation for Liechtenstein. #27059
|
||||||
|
* Localization - Add i18n locale information for Liechtenstein, Switzerland and Austria. #27193
|
||||||
|
* Tweak - Increase priority of `admin_body_class` filter to avoid comflict with plugins that incorrectly remove all body classes from WP. #27426
|
||||||
|
* Tweak - Rename built-in PayPal payment method to PayPal Standard. #27468
|
||||||
|
* Fix - Remove whitespace within a link. #26897
|
||||||
|
* Fix - `get_review_count_for_product` return all comments count not only 'review' types #26928
|
||||||
|
* Fix - Hidden field type is now supported by `woocommerce_form_field`. #27023
|
||||||
|
* Fix - Remove state for country liechtenstein. #27057
|
||||||
|
* Fix - Fixed validation of variation attributes while adding products to the cart. #27115
|
||||||
|
* Fix - Coupon code inconsistent between admins and shop owners. #27140
|
||||||
|
* Fix - Fixed the logic behind "Hide shipping costs until an address is entered". #27143
|
||||||
|
* Fix - Searches for variations now will fallback to parent SKU if one is not entered. #27171
|
||||||
|
* Fix - Release coupon holds for cancelled orders previously in pending status. #27179
|
||||||
|
* Fix - Fixes Japan zip code format issue (dash is now optional). #27244
|
||||||
|
* Fix - Restore backward compatibility with WC 4.x and forward compatibility with WC 5.5. #27318
|
||||||
|
* Fix - Switch to site locale before translating refund reason. #27323
|
||||||
|
* Fix - Declare `WC_Post_Types::updated_term_messages` as a static method to remove PHP deprecation warning. #27436
|
||||||
|
* Fix - Allow HTML to be entered in product title for formatting purposes. #27465
|
||||||
|
* Dev - Added additional stock-based cart filters including `woocommerce_cart_product_cannot_add_another_message`, `woocommerce_cart_product_out_of_stock_message`, and `woocommerce_cart_product_not_enough_stock_message`. #26439
|
||||||
|
* Dev - Changed text domain to `woocommerce` for REST API files. #27248
|
||||||
|
* Dev - Added file path to the `woocommerce_file_download_method` filter. #27152
|
||||||
|
* Dev - Merge API Package into core. #27100
|
||||||
|
|
||||||
|
**WooCommerce Admin 1.5.0**
|
||||||
|
* Enhancement - Add eWAY to Payment Setup for AU/NZ Stores. #4947
|
||||||
|
* Fix - Use clipRule and fillRule props. #4889, part of #4864
|
||||||
|
* Dev - New notification: Don't forget to test your checkout. #4805
|
||||||
|
* Dev - Enable tax calculation before redirecting to standard tax rates page. #4878
|
||||||
|
* Dev - Added event recording to Orders, Stock, and Reviews panels. #4861
|
||||||
|
* Dev - Added personalization to purchase extension task. #4849
|
||||||
|
* Dev - Display modal with more info about the new homescreen. #4890
|
||||||
|
* Dev - Task list - add a shortcut back to store setup. #4853
|
||||||
|
* Dev - Update the colors of the illustrations in the welcome modal. #4945
|
||||||
|
|
||||||
|
= 4.4.1 - 2020-08-19 =
|
||||||
|
|
||||||
|
**WooCommerce**
|
||||||
|
* Fix - Add protection to run adjust methods only if product query. #27396
|
||||||
|
* Dev - Stripped the internals of the DI Container to address plugin dependency conflicts it caused. #27395
|
||||||
|
|
||||||
= 4.4.0 - 2020-08-18 =
|
= 4.4.0 - 2020-08-18 =
|
||||||
|
|
||||||
**WooCommerce**
|
**WooCommerce**
|
||||||
|
@ -58,8 +102,10 @@
|
||||||
* Fix - After clicking to update WooCommerce, the user will stay in the same page instead of being redirected to the "Settings" page. #27172
|
* Fix - After clicking to update WooCommerce, the user will stay in the same page instead of being redirected to the "Settings" page. #27172
|
||||||
* Fix - "Product type" dropdown missing from Product's data meta box on WP 5.5. #27170
|
* Fix - "Product type" dropdown missing from Product's data meta box on WP 5.5. #27170
|
||||||
* Fix - Removed the JETPACK_AUTOLOAD_DEV define. #27185
|
* Fix - Removed the JETPACK_AUTOLOAD_DEV define. #27185
|
||||||
* Dev - Update WooCommerce Admin version to v1.4.0-beta.3. #27214
|
* Fix - Fixed "virtual" and "downlodable" pointers on product walkthrough. #27145
|
||||||
* Dev - Upgraded to the 2.x Jetpack Autoloader. #27123
|
* Fix - Updated tested up to for WordPress 5.5. #27334
|
||||||
|
* Dev - Update WooCommerce Admin version to v1.4.0. #27378
|
||||||
|
* Dev - Upgraded to v2.2 of Jetpack Autoloader. #27358
|
||||||
* Dev - Update jest-preset-default version to ^6.2.0. #27090
|
* Dev - Update jest-preset-default version to ^6.2.0. #27090
|
||||||
* Dev - Added a second $existing_meta_keys parameter to the woocommerce_duplicate_product_exclude_meta filter. #27038
|
* Dev - Added a second $existing_meta_keys parameter to the woocommerce_duplicate_product_exclude_meta filter. #27038
|
||||||
* Dev - Remove leftover note for translators in customer-completed-order.php. #26989
|
* Dev - Remove leftover note for translators in customer-completed-order.php. #26989
|
||||||
|
@ -85,14 +131,18 @@
|
||||||
* Dev - Ensure wc_load_cart loads its own dependencies. #26219
|
* Dev - Ensure wc_load_cart loads its own dependencies. #26219
|
||||||
* Dev - Clean up deprecated documentation. #27054
|
* Dev - Clean up deprecated documentation. #27054
|
||||||
* Dev - Update WooCommerce Blocks version to 3.1.0. #27177
|
* Dev - Update WooCommerce Blocks version to 3.1.0. #27177
|
||||||
|
* Dev - Added woocommerce_order_item_quantity filter to ReserveStock::reserve_stock_for_order(). #27251
|
||||||
|
* Dev - Updated docs to make the type in docblock more specific. #27285
|
||||||
|
|
||||||
**REST API 1.0.11**
|
**REST API 1.0.15**
|
||||||
* Enhancement - Introduced X-WP-Total header for product attributes GET endpoint listing the number of entries in the response. woocommerce/woocommerce-rest-api#171
|
* Enhancement - Introduced X-WP-Total header for product attributes GET endpoint listing the number of entries in the response. woocommerce/woocommerce-rest-api#171
|
||||||
* Enhancement - Introduced X-WP-TotalPages header for product attributes GET endpoint listing the number of pages that can be fetched. woocommerce/woocommerce-rest-api#171
|
* Enhancement - Introduced X-WP-TotalPages header for product attributes GET endpoint listing the number of pages that can be fetched. woocommerce/woocommerce-rest-api#171
|
||||||
* Enhancement - Introduced the modified option for orderby fetch requests in post based resources. woocommerce/woocommerce-rest-api#226
|
* Enhancement - Introduced the modified option for orderby fetch requests in post based resources. woocommerce/woocommerce-rest-api#226
|
||||||
|
* Enhancement - Compatibility fixes for WordPress 5.5. woocommerce/woocommerce-rest-api#232
|
||||||
* Fix - Ensured Action Scheduler transients are cleared by "Clear Transients" tool. woocommerce/woocommerce-rest-api#152
|
* Fix - Ensured Action Scheduler transients are cleared by "Clear Transients" tool. woocommerce/woocommerce-rest-api#152
|
||||||
* Fix - Corrected the schema datatype for coupon expiry_date, date_expires, and date_expires_gmt fields. woocommerce/woocommerce-rest-api#176
|
* Fix - Corrected the schema datatype for coupon expiry_date, date_expires, and date_expires_gmt fields. woocommerce/woocommerce-rest-api#176
|
||||||
* Fix - Query parameters are now passed correctly when using the batch product variation endpoints. woocommerce/woocommerce-rest-api#191
|
* Fix - Query parameters are now passed correctly when using the batch product variation endpoints. woocommerce/woocommerce-rest-api#191
|
||||||
|
* Fix - Fix regression and restore backward compatibility for date-time and mixed data types. woocommerce/woocommerce-rest-api#238
|
||||||
|
|
||||||
**WooCommerce Admin 1.4.0**
|
**WooCommerce Admin 1.4.0**
|
||||||
* Enhancement - Move the WooCommerce > Coupons dashboard menu item to Marketing > Coupons. #4786
|
* Enhancement - Move the WooCommerce > Coupons dashboard menu item to Marketing > Coupons. #4786
|
||||||
|
@ -107,9 +157,15 @@
|
||||||
* Fix - Polyfill core-data saveUser() on WP 5.3.x. #4869
|
* Fix - Polyfill core-data saveUser() on WP 5.3.x. #4869
|
||||||
* Fix - Product types step bugs in onboarding wizard. #4900
|
* Fix - Product types step bugs in onboarding wizard. #4900
|
||||||
* Fix - Center all descriptive text on onboarding wizard steps. #4902
|
* Fix - Center all descriptive text on onboarding wizard steps. #4902
|
||||||
|
* Fix - Match the requires version to the exact WordPress version number in readme.txt. #4956
|
||||||
* Fix - Change account required text on biz step in onboarding wizard. #4909
|
* Fix - Change account required text on biz step in onboarding wizard. #4909
|
||||||
|
* Fix - Fix industry args type in REST API. #4974
|
||||||
|
* Fix - Update style on shipping banner. #4948
|
||||||
|
* Fix - CSS Fixes for Business Features Popover ( parts 1&2 ). #4994
|
||||||
* Dev - Add the experimental resolver to WCA data package. #4862
|
* Dev - Add the experimental resolver to WCA data package. #4862
|
||||||
* Dev - Fix linter errors. #4904
|
* Dev - Fix linter errors. #4904
|
||||||
|
* Dev - Fix usage of "package" tag in file headers. #4940
|
||||||
|
* Dev - Update Jetpack Autoloader to match Woo Core. #4993
|
||||||
|
|
||||||
**WooCommerce Blocks 3.0.0**
|
**WooCommerce Blocks 3.0.0**
|
||||||
* Build - Updated the automattic/jetpack-autoloader package to the 2.0 branch. #2847
|
* Build - Updated the automattic/jetpack-autoloader package to the 2.0 branch. #2847
|
||||||
|
@ -130,6 +186,23 @@
|
||||||
* Fix - 'Product Summary' in All Products block is not pulling in the short description of the product. #2913
|
* Fix - 'Product Summary' in All Products block is not pulling in the short description of the product. #2913
|
||||||
* Dev - Add query filter when searching for a table. #2886
|
* Dev - Add query filter when searching for a table. #2886
|
||||||
|
|
||||||
|
= 4.3.3 - 2020-08-14 =
|
||||||
|
|
||||||
|
**WooCommerce REST API 1.0.10-pl-2**
|
||||||
|
* Fix - Fix regression and restore backward compatibility for date-time and mixed datatypes. #239
|
||||||
|
|
||||||
|
= 4.3.2 - 2020-08-10 =
|
||||||
|
|
||||||
|
**WooCommerce**
|
||||||
|
* Fix - Remove new WP 5.5 meta box arrows from "Order data" and "Order items" meta boxes. #27173
|
||||||
|
* Fix - "Product type" dropdown missing from Product's data meta box on WP 5.5. #27170
|
||||||
|
|
||||||
|
**WooCommerce Blocks 2.7.3**
|
||||||
|
* Fix - Fix missing permissions_callback arg in StoreApi route definitions. #2926
|
||||||
|
|
||||||
|
**WooCommerce REST API 1.0.10-pl-1**
|
||||||
|
* Enhancement - Compatibility fixes for WordPress 5.5 #232
|
||||||
|
|
||||||
= 4.3.1 - 2020-07-21 =
|
= 4.3.1 - 2020-07-21 =
|
||||||
|
|
||||||
**WooCommerce Admin 1.3.1**
|
**WooCommerce Admin 1.3.1**
|
||||||
|
@ -799,7 +872,7 @@
|
||||||
* Tweak - Remove the left and right margin from the logo in emails. #23360
|
* Tweak - Remove the left and right margin from the logo in emails. #23360
|
||||||
* Tweak - Use the high res version of the WP spinner in the coupon Block UI. #23364
|
* Tweak - Use the high res version of the WP spinner in the coupon Block UI. #23364
|
||||||
* Tweak - Improve user registration validation messages. #23468
|
* Tweak - Improve user registration validation messages. #23468
|
||||||
* Tweak - Auto generate a new username when a username is blacklisted by WordPress. #23672
|
* Tweak - Auto generate a new username when a username is blocked by WordPress. #23672
|
||||||
* Tweak - Guest cart sessions now gets deleted when a user logs in, preventing duplicate cart sessions. #23687
|
* Tweak - Guest cart sessions now gets deleted when a user logs in, preventing duplicate cart sessions. #23687
|
||||||
* Tweak - Include the store's base postcode and city when calculating order taxes. #23695
|
* Tweak - Include the store's base postcode and city when calculating order taxes. #23695
|
||||||
* Tweak - Update the generate username setting description label to reflect how the username is actually generated. #23911
|
* Tweak - Update the generate username setting description label to reflect how the username is actually generated. #23911
|
||||||
|
@ -2961,7 +3034,7 @@
|
||||||
* Fix - Make save button clickable in tax rate table after using autocomplete field.
|
* Fix - Make save button clickable in tax rate table after using autocomplete field.
|
||||||
* Fix - Fix passed image_size variable in email templates.
|
* Fix - Fix passed image_size variable in email templates.
|
||||||
* Fix - Don't show purchase note to admin in emails.
|
* Fix - Don't show purchase note to admin in emails.
|
||||||
* Fix - Fix 'hide empty' setting in category widget
.
|
* Fix - Fix 'hide empty' setting in category widget.
|
||||||
* Fix - Prevent notice in get_allowed_countries.
|
* Fix - Prevent notice in get_allowed_countries.
|
||||||
* Fix - Prevent add-to-cart querystring in pagination links.
|
* Fix - Prevent add-to-cart querystring in pagination links.
|
||||||
* Tweak - Allow propagation in variation script.
|
* Tweak - Allow propagation in variation script.
|
||||||
|
@ -2993,7 +3066,7 @@
|
||||||
* Fix - Show the taxable country rather than base country in "estimated for" text during checkout.
|
* Fix - Show the taxable country rather than base country in "estimated for" text during checkout.
|
||||||
* Fix - Prevent select2 gaining focus on IOS7 scroll.
|
* Fix - Prevent select2 gaining focus on IOS7 scroll.
|
||||||
* Fix - API - Fix indexes on decimal and thousand values.
|
* Fix - API - Fix indexes on decimal and thousand values.
|
||||||
* Tweak - Clear cron jobs on uninstall
.
|
* Tweak - Clear cron jobs on uninstall.
|
||||||
* Tweak - Don't disable place order button on checkout if a weak password is used.
|
* Tweak - Don't disable place order button on checkout if a weak password is used.
|
||||||
* Tweak - Added password strength meter in lost password and edit accout pages.
|
* Tweak - Added password strength meter in lost password and edit accout pages.
|
||||||
* Tweak - Pass $args to woocommerce_dropdown_variation_attribute_options_html hook.
|
* Tweak - Pass $args to woocommerce_dropdown_variation_attribute_options_html hook.
|
||||||
|
@ -3063,10 +3136,10 @@
|
||||||
|
|
||||||
= 2.4.11 - 2015-12-7 =
|
= 2.4.11 - 2015-12-7 =
|
||||||
* Fix - WordPress 4.4 support.
|
* Fix - WordPress 4.4 support.
|
||||||
* Fix - Removes Switzerland from EU VAT definition
.
|
* Fix - Removes Switzerland from EU VAT definition.
|
||||||
* Fix - Fix auth endpoint urls.
|
* Fix - Fix auth endpoint urls.
|
||||||
* Fix - To allow backslash in SKUs.
|
* Fix - To allow backslash in SKUs.
|
||||||
* Fix - Sanity check for min/max quantity
.
|
* Fix - Sanity check for min/max quantity.
|
||||||
* Fix - 4.4 - Shipping class menu display.
|
* Fix - 4.4 - Shipping class menu display.
|
||||||
* Fix - 4.4 - Admin menu icons and styling.
|
* Fix - 4.4 - Admin menu icons and styling.
|
||||||
* Fix - API - Variable product backorders editing.
|
* Fix - API - Variable product backorders editing.
|
||||||
|
@ -3103,9 +3176,9 @@
|
||||||
* Fix - Shipping priority for methods with colons in the name.
|
* Fix - Shipping priority for methods with colons in the name.
|
||||||
* Fix - Saving of passwords with '&' inside.
|
* Fix - Saving of passwords with '&' inside.
|
||||||
* Fix - Remove double escaping of coupon descriptions.
|
* Fix - Remove double escaping of coupon descriptions.
|
||||||
* Fix - Settings API default value should not apply if value of option is 0
.
|
* Fix - Settings API default value should not apply if value of option is 0.
|
||||||
* Fix - Avoid potential PHP Fatals by avoiding premature script enqueues.
|
* Fix - Avoid potential PHP Fatals by avoiding premature script enqueues.
|
||||||
* Fix - Pass mimes when checking file type
.
|
* Fix - Pass mimes when checking file type.
|
||||||
* Fix - Reset shipping totals before calculation to prevent totals being used incorrectly.
|
* Fix - Reset shipping totals before calculation to prevent totals being used incorrectly.
|
||||||
* Fix - API - Corrected how attributes terms saves non-latin characters.
|
* Fix - API - Corrected how attributes terms saves non-latin characters.
|
||||||
* Fix - API - Variations price sync.
|
* Fix - API - Variations price sync.
|
||||||
|
@ -3135,7 +3208,7 @@
|
||||||
* Fix - Network activated plugins not showing up in system status report.
|
* Fix - Network activated plugins not showing up in system status report.
|
||||||
* Fix - Tax fields showing on bulk/quick edit when disabled the tax system.
|
* Fix - Tax fields showing on bulk/quick edit when disabled the tax system.
|
||||||
* Fix - Tax status and tax class values within bulk edit.
|
* Fix - Tax status and tax class values within bulk edit.
|
||||||
* Tweak - Allow bulk edit price to 0
.
|
* Tweak - Allow bulk edit price to 0.
|
||||||
* Tweak - Add filters to control "shipped via" text.
|
* Tweak - Add filters to control "shipped via" text.
|
||||||
* Tweak - Allow line breaks in non-variation attributes.
|
* Tweak - Allow line breaks in non-variation attributes.
|
||||||
* Tweak - Renamed wc_var_prices transient to allow them to flush on product save.
|
* Tweak - Renamed wc_var_prices transient to allow them to flush on product save.
|
||||||
|
@ -3895,7 +3968,7 @@
|
||||||
* Fix - Fix bulk editing variation sale price.
|
* Fix - Fix bulk editing variation sale price.
|
||||||
* Fix - Remove comment exclusion in order notes meta box.
|
* Fix - Remove comment exclusion in order notes meta box.
|
||||||
* Fix - Sync min and max prices for regular and sale prices so prices are displayed correctly when sale price is lower than a regular price of another variation.
|
* Fix - Sync min and max prices for regular and sale prices so prices are displayed correctly when sale price is lower than a regular price of another variation.
|
||||||
* Fix - Expanding line item_meta causes conflicts if attributes are named with things like 'name', 'type' or 'qty'. Added blacklist to exclude unsafe values.
|
* Fix - Expanding line item_meta causes conflicts if attributes are named with things like 'name', 'type' or 'qty'. Added blocklist to exclude unsafe values.
|
||||||
* Fix - Added support for clearing report transients when using object caching.
|
* Fix - Added support for clearing report transients when using object caching.
|
||||||
* Fix - encoding issues with attribute values.
|
* Fix - encoding issues with attribute values.
|
||||||
* Fix - Escape the contents of the changelog when displayed.
|
* Fix - Escape the contents of the changelog when displayed.
|
|
@ -8,19 +8,19 @@
|
||||||
"minimum-stability": "dev",
|
"minimum-stability": "dev",
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=7.0",
|
"php": ">=7.0",
|
||||||
"automattic/jetpack-autoloader": "2.0.2",
|
"automattic/jetpack-autoloader": "2.2.0",
|
||||||
"automattic/jetpack-constants": "1.4.0",
|
"automattic/jetpack-constants": "1.4.0",
|
||||||
"composer/installers": "1.7.0",
|
"composer/installers": "1.7.0",
|
||||||
"league/container": "3.3.1",
|
|
||||||
"maxmind-db/reader": "1.6.0",
|
"maxmind-db/reader": "1.6.0",
|
||||||
"pelago/emogrifier": "3.1.0",
|
"pelago/emogrifier": "3.1.0",
|
||||||
|
"psr/container": "^1.0",
|
||||||
"woocommerce/action-scheduler": "3.1.6",
|
"woocommerce/action-scheduler": "3.1.6",
|
||||||
"woocommerce/woocommerce-admin": "1.4.0-beta.3",
|
"woocommerce/woocommerce-admin": "1.5.0-rc.2",
|
||||||
"woocommerce/woocommerce-blocks": "3.1.0"
|
"woocommerce/woocommerce-blocks": "3.1.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "7.5.20",
|
"phpunit/phpunit": "7.5.20",
|
||||||
"woocommerce/woocommerce-sniffs": "0.0.10",
|
"woocommerce/woocommerce-sniffs": "^0.1.0",
|
||||||
"wp-cli/i18n-command": "^2.2"
|
"wp-cli/i18n-command": "^2.2"
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
|
|
|
@ -4,20 +4,20 @@
|
||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "ae4abaa8d39e860cc6c379cb5f6a0c2f",
|
"content-hash": "6f5bef4c75b0d62b2f3d9bc2458eff03",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "automattic/jetpack-autoloader",
|
"name": "automattic/jetpack-autoloader",
|
||||||
"version": "v2.0.2",
|
"version": "v2.2.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/Automattic/jetpack-autoloader.git",
|
"url": "https://github.com/Automattic/jetpack-autoloader.git",
|
||||||
"reference": "4502da4b2443fc1b61389cacc94c34876aca2b3d"
|
"reference": "66a5d150b3928be718d86696f85631a7f0b98a7b"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/Automattic/jetpack-autoloader/zipball/4502da4b2443fc1b61389cacc94c34876aca2b3d",
|
"url": "https://api.github.com/repos/Automattic/jetpack-autoloader/zipball/66a5d150b3928be718d86696f85631a7f0b98a7b",
|
||||||
"reference": "4502da4b2443fc1b61389cacc94c34876aca2b3d",
|
"reference": "66a5d150b3928be718d86696f85631a7f0b98a7b",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
"GPL-2.0-or-later"
|
"GPL-2.0-or-later"
|
||||||
],
|
],
|
||||||
"description": "Creates a custom autoloader for a plugin or theme.",
|
"description": "Creates a custom autoloader for a plugin or theme.",
|
||||||
"time": "2020-07-09T13:18:38+00:00"
|
"time": "2020-08-14T20:34:36+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "automattic/jetpack-constants",
|
"name": "automattic/jetpack-constants",
|
||||||
|
@ -195,78 +195,6 @@
|
||||||
],
|
],
|
||||||
"time": "2019-08-12T15:00:31+00:00"
|
"time": "2019-08-12T15:00:31+00:00"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "league/container",
|
|
||||||
"version": "3.3.1",
|
|
||||||
"source": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/thephpleague/container.git",
|
|
||||||
"reference": "93238f74ff5964aee27a78508cdfbdba1cd338f6"
|
|
||||||
},
|
|
||||||
"dist": {
|
|
||||||
"type": "zip",
|
|
||||||
"url": "https://api.github.com/repos/thephpleague/container/zipball/93238f74ff5964aee27a78508cdfbdba1cd338f6",
|
|
||||||
"reference": "93238f74ff5964aee27a78508cdfbdba1cd338f6",
|
|
||||||
"shasum": ""
|
|
||||||
},
|
|
||||||
"require": {
|
|
||||||
"php": "^7.0",
|
|
||||||
"psr/container": "^1.0"
|
|
||||||
},
|
|
||||||
"provide": {
|
|
||||||
"psr/container-implementation": "^1.0"
|
|
||||||
},
|
|
||||||
"replace": {
|
|
||||||
"orno/di": "~2.0"
|
|
||||||
},
|
|
||||||
"require-dev": {
|
|
||||||
"phpunit/phpunit": "^6.0",
|
|
||||||
"squizlabs/php_codesniffer": "^3.3"
|
|
||||||
},
|
|
||||||
"type": "library",
|
|
||||||
"extra": {
|
|
||||||
"branch-alias": {
|
|
||||||
"dev-3.x": "3.x-dev",
|
|
||||||
"dev-2.x": "2.x-dev",
|
|
||||||
"dev-1.x": "1.x-dev"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"autoload": {
|
|
||||||
"psr-4": {
|
|
||||||
"League\\Container\\": "src"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
|
||||||
"license": [
|
|
||||||
"MIT"
|
|
||||||
],
|
|
||||||
"authors": [
|
|
||||||
{
|
|
||||||
"name": "Phil Bennett",
|
|
||||||
"email": "philipobenito@gmail.com",
|
|
||||||
"homepage": "http://www.philipobenito.com",
|
|
||||||
"role": "Developer"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"description": "A fast and intuitive dependency injection container.",
|
|
||||||
"homepage": "https://github.com/thephpleague/container",
|
|
||||||
"keywords": [
|
|
||||||
"container",
|
|
||||||
"dependency",
|
|
||||||
"di",
|
|
||||||
"injection",
|
|
||||||
"league",
|
|
||||||
"provider",
|
|
||||||
"service"
|
|
||||||
],
|
|
||||||
"funding": [
|
|
||||||
{
|
|
||||||
"url": "https://github.com/philipobenito",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"time": "2020-05-18T08:20:23+00:00"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "maxmind-db/reader",
|
"name": "maxmind-db/reader",
|
||||||
"version": "v1.6.0",
|
"version": "v1.6.0",
|
||||||
|
@ -501,20 +429,6 @@
|
||||||
],
|
],
|
||||||
"description": "Symfony CssSelector Component",
|
"description": "Symfony CssSelector Component",
|
||||||
"homepage": "https://symfony.com",
|
"homepage": "https://symfony.com",
|
||||||
"funding": [
|
|
||||||
{
|
|
||||||
"url": "https://symfony.com/sponsor",
|
|
||||||
"type": "custom"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "https://github.com/fabpot",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
|
|
||||||
"type": "tidelift"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"time": "2020-03-16T08:31:04+00:00"
|
"time": "2020-03-16T08:31:04+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -554,16 +468,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "woocommerce/woocommerce-admin",
|
"name": "woocommerce/woocommerce-admin",
|
||||||
"version": "v1.4.0-beta.3",
|
"version": "1.5.0-rc.2",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/woocommerce/woocommerce-admin.git",
|
"url": "https://github.com/woocommerce/woocommerce-admin.git",
|
||||||
"reference": "df2af46a8552cdee15df0030fccbe4cd5a6d270d"
|
"reference": "bb2fbb0e105e419478b09a15dc4b43c8f1426381"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/woocommerce/woocommerce-admin/zipball/df2af46a8552cdee15df0030fccbe4cd5a6d270d",
|
"url": "https://api.github.com/repos/woocommerce/woocommerce-admin/zipball/bb2fbb0e105e419478b09a15dc4b43c8f1426381",
|
||||||
"reference": "df2af46a8552cdee15df0030fccbe4cd5a6d270d",
|
"reference": "bb2fbb0e105e419478b09a15dc4b43c8f1426381",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -597,7 +511,7 @@
|
||||||
],
|
],
|
||||||
"description": "A modern, javascript-driven WooCommerce Admin experience.",
|
"description": "A modern, javascript-driven WooCommerce Admin experience.",
|
||||||
"homepage": "https://github.com/woocommerce/woocommerce-admin",
|
"homepage": "https://github.com/woocommerce/woocommerce-admin",
|
||||||
"time": "2020-08-04T02:21:47+00:00"
|
"time": "2020-08-20T23:35:02+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "woocommerce/woocommerce-blocks",
|
"name": "woocommerce/woocommerce-blocks",
|
||||||
|
@ -650,22 +564,22 @@
|
||||||
"packages-dev": [
|
"packages-dev": [
|
||||||
{
|
{
|
||||||
"name": "dealerdirect/phpcodesniffer-composer-installer",
|
"name": "dealerdirect/phpcodesniffer-composer-installer",
|
||||||
"version": "v0.6.2",
|
"version": "v0.7.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer.git",
|
"url": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer.git",
|
||||||
"reference": "8001af8eb107fbfcedc31a8b51e20b07d85b457a"
|
"reference": "e8d808670b8f882188368faaf1144448c169c0b7"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/Dealerdirect/phpcodesniffer-composer-installer/zipball/8001af8eb107fbfcedc31a8b51e20b07d85b457a",
|
"url": "https://api.github.com/repos/Dealerdirect/phpcodesniffer-composer-installer/zipball/e8d808670b8f882188368faaf1144448c169c0b7",
|
||||||
"reference": "8001af8eb107fbfcedc31a8b51e20b07d85b457a",
|
"reference": "e8d808670b8f882188368faaf1144448c169c0b7",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"composer-plugin-api": "^1.0",
|
"composer-plugin-api": "^1.0 || ^2.0",
|
||||||
"php": "^5.3|^7",
|
"php": ">=5.3",
|
||||||
"squizlabs/php_codesniffer": "^2|^3"
|
"squizlabs/php_codesniffer": "^2 || ^3 || 4.0.x-dev"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"composer/composer": "*",
|
"composer/composer": "*",
|
||||||
|
@ -712,7 +626,7 @@
|
||||||
"stylecheck",
|
"stylecheck",
|
||||||
"tests"
|
"tests"
|
||||||
],
|
],
|
||||||
"time": "2020-01-29T20:22:20+00:00"
|
"time": "2020-06-25T14:57:39+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "doctrine/instantiator",
|
"name": "doctrine/instantiator",
|
||||||
|
@ -768,20 +682,6 @@
|
||||||
"constructor",
|
"constructor",
|
||||||
"instantiate"
|
"instantiate"
|
||||||
],
|
],
|
||||||
"funding": [
|
|
||||||
{
|
|
||||||
"url": "https://www.doctrine-project.org/sponsorship.html",
|
|
||||||
"type": "custom"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "https://www.patreon.com/phpdoctrine",
|
|
||||||
"type": "patreon"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator",
|
|
||||||
"type": "tidelift"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"time": "2020-05-29T17:27:14+00:00"
|
"time": "2020-05-29T17:27:14+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -1044,12 +944,6 @@
|
||||||
"object",
|
"object",
|
||||||
"object graph"
|
"object graph"
|
||||||
],
|
],
|
||||||
"funding": [
|
|
||||||
{
|
|
||||||
"url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy",
|
|
||||||
"type": "tidelift"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"time": "2020-06-29T13:22:24+00:00"
|
"time": "2020-06-29T13:22:24+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -1775,6 +1669,7 @@
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tokenizer"
|
"tokenizer"
|
||||||
],
|
],
|
||||||
|
"abandoned": true,
|
||||||
"time": "2019-09-17T06:23:10+00:00"
|
"time": "2019-09-17T06:23:10+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -2478,16 +2373,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "squizlabs/php_codesniffer",
|
"name": "squizlabs/php_codesniffer",
|
||||||
"version": "3.5.5",
|
"version": "3.5.6",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
|
"url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
|
||||||
"reference": "73e2e7f57d958e7228fce50dc0c61f58f017f9f6"
|
"reference": "e97627871a7eab2f70e59166072a6b767d5834e0"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/73e2e7f57d958e7228fce50dc0c61f58f017f9f6",
|
"url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/e97627871a7eab2f70e59166072a6b767d5834e0",
|
||||||
"reference": "73e2e7f57d958e7228fce50dc0c61f58f017f9f6",
|
"reference": "e97627871a7eab2f70e59166072a6b767d5834e0",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -2525,7 +2420,7 @@
|
||||||
"phpcs",
|
"phpcs",
|
||||||
"standards"
|
"standards"
|
||||||
],
|
],
|
||||||
"time": "2020-04-17T01:09:41+00:00"
|
"time": "2020-08-10T04:50:15+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/finder",
|
"name": "symfony/finder",
|
||||||
|
@ -2574,20 +2469,6 @@
|
||||||
],
|
],
|
||||||
"description": "Symfony Finder Component",
|
"description": "Symfony Finder Component",
|
||||||
"homepage": "https://symfony.com",
|
"homepage": "https://symfony.com",
|
||||||
"funding": [
|
|
||||||
{
|
|
||||||
"url": "https://symfony.com/sponsor",
|
|
||||||
"type": "custom"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "https://github.com/fabpot",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
|
|
||||||
"type": "tidelift"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"time": "2020-02-14T07:34:21+00:00"
|
"time": "2020-02-14T07:34:21+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -2743,23 +2624,23 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "woocommerce/woocommerce-sniffs",
|
"name": "woocommerce/woocommerce-sniffs",
|
||||||
"version": "0.0.10",
|
"version": "0.1.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/woocommerce/woocommerce-sniffs.git",
|
"url": "https://github.com/woocommerce/woocommerce-sniffs.git",
|
||||||
"reference": "b0e3d69a53b3ffdbb97a0371bd1b43aa17092d65"
|
"reference": "b72b7dd2e70aa6aed16f80cdae5b1e6cce2e4c79"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/woocommerce/woocommerce-sniffs/zipball/b0e3d69a53b3ffdbb97a0371bd1b43aa17092d65",
|
"url": "https://api.github.com/repos/woocommerce/woocommerce-sniffs/zipball/b72b7dd2e70aa6aed16f80cdae5b1e6cce2e4c79",
|
||||||
"reference": "b0e3d69a53b3ffdbb97a0371bd1b43aa17092d65",
|
"reference": "b72b7dd2e70aa6aed16f80cdae5b1e6cce2e4c79",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"dealerdirect/phpcodesniffer-composer-installer": "0.6.2",
|
"dealerdirect/phpcodesniffer-composer-installer": "0.7.0",
|
||||||
"php": ">=7.0",
|
"php": ">=7.0",
|
||||||
"phpcompatibility/phpcompatibility-wp": "2.1.0",
|
"phpcompatibility/phpcompatibility-wp": "2.1.0",
|
||||||
"wp-coding-standards/wpcs": "2.2.1"
|
"wp-coding-standards/wpcs": "2.3.0"
|
||||||
},
|
},
|
||||||
"type": "phpcodesniffer-standard",
|
"type": "phpcodesniffer-standard",
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
@ -2779,7 +2660,7 @@
|
||||||
"woocommerce",
|
"woocommerce",
|
||||||
"wordpress"
|
"wordpress"
|
||||||
],
|
],
|
||||||
"time": "2020-04-07T20:25:44+00:00"
|
"time": "2020-08-06T18:23:45+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "wp-cli/i18n-command",
|
"name": "wp-cli/i18n-command",
|
||||||
|
@ -3000,16 +2881,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "wp-coding-standards/wpcs",
|
"name": "wp-coding-standards/wpcs",
|
||||||
"version": "2.2.1",
|
"version": "2.3.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/WordPress/WordPress-Coding-Standards.git",
|
"url": "https://github.com/WordPress/WordPress-Coding-Standards.git",
|
||||||
"reference": "b5a453203114cc2284b1a614c4953456fbe4f546"
|
"reference": "7da1894633f168fe244afc6de00d141f27517b62"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/b5a453203114cc2284b1a614c4953456fbe4f546",
|
"url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/7da1894633f168fe244afc6de00d141f27517b62",
|
||||||
"reference": "b5a453203114cc2284b1a614c4953456fbe4f546",
|
"reference": "7da1894633f168fe244afc6de00d141f27517b62",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -3019,6 +2900,7 @@
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"dealerdirect/phpcodesniffer-composer-installer": "^0.5 || ^0.6",
|
"dealerdirect/phpcodesniffer-composer-installer": "^0.5 || ^0.6",
|
||||||
"phpcompatibility/php-compatibility": "^9.0",
|
"phpcompatibility/php-compatibility": "^9.0",
|
||||||
|
"phpcsstandards/phpcsdevtools": "^1.0",
|
||||||
"phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"
|
"phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"
|
||||||
},
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
|
@ -3041,7 +2923,7 @@
|
||||||
"standards",
|
"standards",
|
||||||
"wordpress"
|
"wordpress"
|
||||||
],
|
],
|
||||||
"time": "2020-02-04T02:52:06+00:00"
|
"time": "2020-05-13T23:57:56+00:00"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"aliases": [],
|
"aliases": [],
|
||||||
|
@ -3055,6 +2937,5 @@
|
||||||
"platform-dev": [],
|
"platform-dev": [],
|
||||||
"platform-overrides": {
|
"platform-overrides": {
|
||||||
"php": "7.1"
|
"php": "7.1"
|
||||||
},
|
}
|
||||||
"plugin-api-version": "1.1.0"
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* Returns an array of continents.
|
* Returns an array of continents.
|
||||||
*
|
*
|
||||||
* @package WooCommerce/i18n
|
* @package WooCommerce\i18n
|
||||||
* @version 2.5.0
|
* @version 2.5.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ defined( 'ABSPATH' ) || exit;
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
'AF' => __( 'Afghanistan', 'woocommerce' ),
|
'AF' => __( 'Afghanistan', 'woocommerce' ),
|
||||||
'AX' => __( 'Åland Islands', 'woocommerce' ),
|
'AX' => __( 'Åland Islands', 'woocommerce' ),
|
||||||
'AL' => __( 'Albania', 'woocommerce' ),
|
'AL' => __( 'Albania', 'woocommerce' ),
|
||||||
'DZ' => __( 'Algeria', 'woocommerce' ),
|
'DZ' => __( 'Algeria', 'woocommerce' ),
|
||||||
'AS' => __( 'American Samoa', 'woocommerce' ),
|
'AS' => __( 'American Samoa', 'woocommerce' ),
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Locales information
|
* Locales information
|
||||||
*
|
*
|
||||||
* @package WooCommerce/i18n
|
* @package WooCommerce\i18n
|
||||||
* @version 3.5.0
|
* @version 3.5.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -27,6 +27,15 @@ return array(
|
||||||
'weight_unit' => 'kg',
|
'weight_unit' => 'kg',
|
||||||
'dimension_unit' => 'cm',
|
'dimension_unit' => 'cm',
|
||||||
),
|
),
|
||||||
|
'BA' => array(
|
||||||
|
'currency_code' => 'BAM',
|
||||||
|
'currency_pos' => 'right_space',
|
||||||
|
'thousand_sep' => '.',
|
||||||
|
'decimal_sep' => ',',
|
||||||
|
'num_decimals' => 2,
|
||||||
|
'weight_unit' => 'kg',
|
||||||
|
'dimension_unit' => 'cm',
|
||||||
|
),
|
||||||
'BD' => array(
|
'BD' => array(
|
||||||
'currency_code' => 'BDT',
|
'currency_code' => 'BDT',
|
||||||
'currency_pos' => 'left',
|
'currency_pos' => 'left',
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* Returns an array of calling codes.
|
* Returns an array of calling codes.
|
||||||
*
|
*
|
||||||
* @package WooCommerce/i18n
|
* @package WooCommerce\i18n
|
||||||
*/
|
*/
|
||||||
|
|
||||||
defined( 'ABSPATH' ) || exit;
|
defined( 'ABSPATH' ) || exit;
|
||||||
|
|
344
i18n/states.php
|
@ -36,22 +36,22 @@ return array(
|
||||||
'ZAI' => __( 'Zaire', 'woocommerce' ),
|
'ZAI' => __( 'Zaire', 'woocommerce' ),
|
||||||
),
|
),
|
||||||
'AR' => array( // Argentinian provinces.
|
'AR' => array( // Argentinian provinces.
|
||||||
'C' => __( 'Ciudad Autónoma de Buenos Aires', 'woocommerce' ),
|
'C' => __( 'Ciudad Autónoma de Buenos Aires', 'woocommerce' ),
|
||||||
'B' => __( 'Buenos Aires', 'woocommerce' ),
|
'B' => __( 'Buenos Aires', 'woocommerce' ),
|
||||||
'K' => __( 'Catamarca', 'woocommerce' ),
|
'K' => __( 'Catamarca', 'woocommerce' ),
|
||||||
'H' => __( 'Chaco', 'woocommerce' ),
|
'H' => __( 'Chaco', 'woocommerce' ),
|
||||||
'U' => __( 'Chubut', 'woocommerce' ),
|
'U' => __( 'Chubut', 'woocommerce' ),
|
||||||
'X' => __( 'Córdoba', 'woocommerce' ),
|
'X' => __( 'Córdoba', 'woocommerce' ),
|
||||||
'W' => __( 'Corrientes', 'woocommerce' ),
|
'W' => __( 'Corrientes', 'woocommerce' ),
|
||||||
'E' => __( 'Entre Ríos', 'woocommerce' ),
|
'E' => __( 'Entre Ríos', 'woocommerce' ),
|
||||||
'P' => __( 'Formosa', 'woocommerce' ),
|
'P' => __( 'Formosa', 'woocommerce' ),
|
||||||
'Y' => __( 'Jujuy', 'woocommerce' ),
|
'Y' => __( 'Jujuy', 'woocommerce' ),
|
||||||
'L' => __( 'La Pampa', 'woocommerce' ),
|
'L' => __( 'La Pampa', 'woocommerce' ),
|
||||||
'F' => __( 'La Rioja', 'woocommerce' ),
|
'F' => __( 'La Rioja', 'woocommerce' ),
|
||||||
'M' => __( 'Mendoza', 'woocommerce' ),
|
'M' => __( 'Mendoza', 'woocommerce' ),
|
||||||
'N' => __( 'Misiones', 'woocommerce' ),
|
'N' => __( 'Misiones', 'woocommerce' ),
|
||||||
'Q' => __( 'Neuquén', 'woocommerce' ),
|
'Q' => __( 'Neuquén', 'woocommerce' ),
|
||||||
'R' => __( 'Río Negro', 'woocommerce' ),
|
'R' => __( 'Río Negro', 'woocommerce' ),
|
||||||
'A' => __( 'Salta', 'woocommerce' ),
|
'A' => __( 'Salta', 'woocommerce' ),
|
||||||
'J' => __( 'San Juan', 'woocommerce' ),
|
'J' => __( 'San Juan', 'woocommerce' ),
|
||||||
'D' => __( 'San Luis', 'woocommerce' ),
|
'D' => __( 'San Luis', 'woocommerce' ),
|
||||||
|
@ -59,7 +59,7 @@ return array(
|
||||||
'S' => __( 'Santa Fe', 'woocommerce' ),
|
'S' => __( 'Santa Fe', 'woocommerce' ),
|
||||||
'G' => __( 'Santiago del Estero', 'woocommerce' ),
|
'G' => __( 'Santiago del Estero', 'woocommerce' ),
|
||||||
'V' => __( 'Tierra del Fuego', 'woocommerce' ),
|
'V' => __( 'Tierra del Fuego', 'woocommerce' ),
|
||||||
'T' => __( 'Tucumán', 'woocommerce' ),
|
'T' => __( 'Tucumán', 'woocommerce' ),
|
||||||
),
|
),
|
||||||
'AT' => array(),
|
'AT' => array(),
|
||||||
'AU' => array( // Australian states.
|
'AU' => array( // Australian states.
|
||||||
|
@ -186,29 +186,29 @@ return array(
|
||||||
'BR' => array( // Brazillian states.
|
'BR' => array( // Brazillian states.
|
||||||
'AC' => __( 'Acre', 'woocommerce' ),
|
'AC' => __( 'Acre', 'woocommerce' ),
|
||||||
'AL' => __( 'Alagoas', 'woocommerce' ),
|
'AL' => __( 'Alagoas', 'woocommerce' ),
|
||||||
'AP' => __( 'Amapá', 'woocommerce' ),
|
'AP' => __( 'Amapá', 'woocommerce' ),
|
||||||
'AM' => __( 'Amazonas', 'woocommerce' ),
|
'AM' => __( 'Amazonas', 'woocommerce' ),
|
||||||
'BA' => __( 'Bahia', 'woocommerce' ),
|
'BA' => __( 'Bahia', 'woocommerce' ),
|
||||||
'CE' => __( 'Ceará', 'woocommerce' ),
|
'CE' => __( 'Ceará', 'woocommerce' ),
|
||||||
'DF' => __( 'Distrito Federal', 'woocommerce' ),
|
'DF' => __( 'Distrito Federal', 'woocommerce' ),
|
||||||
'ES' => __( 'Espírito Santo', 'woocommerce' ),
|
'ES' => __( 'Espírito Santo', 'woocommerce' ),
|
||||||
'GO' => __( 'Goiás', 'woocommerce' ),
|
'GO' => __( 'Goiás', 'woocommerce' ),
|
||||||
'MA' => __( 'Maranhão', 'woocommerce' ),
|
'MA' => __( 'Maranhão', 'woocommerce' ),
|
||||||
'MT' => __( 'Mato Grosso', 'woocommerce' ),
|
'MT' => __( 'Mato Grosso', 'woocommerce' ),
|
||||||
'MS' => __( 'Mato Grosso do Sul', 'woocommerce' ),
|
'MS' => __( 'Mato Grosso do Sul', 'woocommerce' ),
|
||||||
'MG' => __( 'Minas Gerais', 'woocommerce' ),
|
'MG' => __( 'Minas Gerais', 'woocommerce' ),
|
||||||
'PA' => __( 'Pará', 'woocommerce' ),
|
'PA' => __( 'Pará', 'woocommerce' ),
|
||||||
'PB' => __( 'Paraíba', 'woocommerce' ),
|
'PB' => __( 'Paraíba', 'woocommerce' ),
|
||||||
'PR' => __( 'Paraná', 'woocommerce' ),
|
'PR' => __( 'Paraná', 'woocommerce' ),
|
||||||
'PE' => __( 'Pernambuco', 'woocommerce' ),
|
'PE' => __( 'Pernambuco', 'woocommerce' ),
|
||||||
'PI' => __( 'Piauí', 'woocommerce' ),
|
'PI' => __( 'Piauí', 'woocommerce' ),
|
||||||
'RJ' => __( 'Rio de Janeiro', 'woocommerce' ),
|
'RJ' => __( 'Rio de Janeiro', 'woocommerce' ),
|
||||||
'RN' => __( 'Rio Grande do Norte', 'woocommerce' ),
|
'RN' => __( 'Rio Grande do Norte', 'woocommerce' ),
|
||||||
'RS' => __( 'Rio Grande do Sul', 'woocommerce' ),
|
'RS' => __( 'Rio Grande do Sul', 'woocommerce' ),
|
||||||
'RO' => __( 'Rondônia', 'woocommerce' ),
|
'RO' => __( 'Rondônia', 'woocommerce' ),
|
||||||
'RR' => __( 'Roraima', 'woocommerce' ),
|
'RR' => __( 'Roraima', 'woocommerce' ),
|
||||||
'SC' => __( 'Santa Catarina', 'woocommerce' ),
|
'SC' => __( 'Santa Catarina', 'woocommerce' ),
|
||||||
'SP' => __( 'São Paulo', 'woocommerce' ),
|
'SP' => __( 'São Paulo', 'woocommerce' ),
|
||||||
'SE' => __( 'Sergipe', 'woocommerce' ),
|
'SE' => __( 'Sergipe', 'woocommerce' ),
|
||||||
'TO' => __( 'Tocantins', 'woocommerce' ),
|
'TO' => __( 'Tocantins', 'woocommerce' ),
|
||||||
),
|
),
|
||||||
|
@ -237,10 +237,10 @@ return array(
|
||||||
'FR' => __( 'Fribourg', 'woocommerce' ),
|
'FR' => __( 'Fribourg', 'woocommerce' ),
|
||||||
'GE' => __( 'Geneva', 'woocommerce' ),
|
'GE' => __( 'Geneva', 'woocommerce' ),
|
||||||
'GL' => __( 'Glarus', 'woocommerce' ),
|
'GL' => __( 'Glarus', 'woocommerce' ),
|
||||||
'GR' => __( 'Graubünden', 'woocommerce' ),
|
'GR' => __( 'Graubünden', 'woocommerce' ),
|
||||||
'JU' => __( 'Jura', 'woocommerce' ),
|
'JU' => __( 'Jura', 'woocommerce' ),
|
||||||
'LU' => __( 'Luzern', 'woocommerce' ),
|
'LU' => __( 'Luzern', 'woocommerce' ),
|
||||||
'NE' => __( 'Neuchâtel', 'woocommerce' ),
|
'NE' => __( 'Neuchâtel', 'woocommerce' ),
|
||||||
'NW' => __( 'Nidwalden', 'woocommerce' ),
|
'NW' => __( 'Nidwalden', 'woocommerce' ),
|
||||||
'OW' => __( 'Obwalden', 'woocommerce' ),
|
'OW' => __( 'Obwalden', 'woocommerce' ),
|
||||||
'SH' => __( 'Schaffhausen', 'woocommerce' ),
|
'SH' => __( 'Schaffhausen', 'woocommerce' ),
|
||||||
|
@ -253,41 +253,41 @@ return array(
|
||||||
'VS' => __( 'Valais', 'woocommerce' ),
|
'VS' => __( 'Valais', 'woocommerce' ),
|
||||||
'VD' => __( 'Vaud', 'woocommerce' ),
|
'VD' => __( 'Vaud', 'woocommerce' ),
|
||||||
'ZG' => __( 'Zug', 'woocommerce' ),
|
'ZG' => __( 'Zug', 'woocommerce' ),
|
||||||
'ZH' => __( 'Zürich', 'woocommerce' ),
|
'ZH' => __( 'Zürich', 'woocommerce' ),
|
||||||
),
|
),
|
||||||
'CN' => array( // Chinese states.
|
'CN' => array( // Chinese states.
|
||||||
'CN1' => __( 'Yunnan / 云南', 'woocommerce' ),
|
'CN1' => __( 'Yunnan / 云南', 'woocommerce' ),
|
||||||
'CN2' => __( 'Beijing / 北京', 'woocommerce' ),
|
'CN2' => __( 'Beijing / 北京', 'woocommerce' ),
|
||||||
'CN3' => __( 'Tianjin / 天津', 'woocommerce' ),
|
'CN3' => __( 'Tianjin / 天津', 'woocommerce' ),
|
||||||
'CN4' => __( 'Hebei / 河北', 'woocommerce' ),
|
'CN4' => __( 'Hebei / 河北', 'woocommerce' ),
|
||||||
'CN5' => __( 'Shanxi / 山西', 'woocommerce' ),
|
'CN5' => __( 'Shanxi / 山西', 'woocommerce' ),
|
||||||
'CN6' => __( 'Inner Mongolia / 內蒙古', 'woocommerce' ),
|
'CN6' => __( 'Inner Mongolia / 內蒙古', 'woocommerce' ),
|
||||||
'CN7' => __( 'Liaoning / 辽宁', 'woocommerce' ),
|
'CN7' => __( 'Liaoning / 辽宁', 'woocommerce' ),
|
||||||
'CN8' => __( 'Jilin / 吉林', 'woocommerce' ),
|
'CN8' => __( 'Jilin / 吉林', 'woocommerce' ),
|
||||||
'CN9' => __( 'Heilongjiang / 黑龙江', 'woocommerce' ),
|
'CN9' => __( 'Heilongjiang / 黑龙江', 'woocommerce' ),
|
||||||
'CN10' => __( 'Shanghai / 上海', 'woocommerce' ),
|
'CN10' => __( 'Shanghai / 上海', 'woocommerce' ),
|
||||||
'CN11' => __( 'Jiangsu / 江苏', 'woocommerce' ),
|
'CN11' => __( 'Jiangsu / 江苏', 'woocommerce' ),
|
||||||
'CN12' => __( 'Zhejiang / 浙江', 'woocommerce' ),
|
'CN12' => __( 'Zhejiang / 浙江', 'woocommerce' ),
|
||||||
'CN13' => __( 'Anhui / 安徽', 'woocommerce' ),
|
'CN13' => __( 'Anhui / 安徽', 'woocommerce' ),
|
||||||
'CN14' => __( 'Fujian / 福建', 'woocommerce' ),
|
'CN14' => __( 'Fujian / 福建', 'woocommerce' ),
|
||||||
'CN15' => __( 'Jiangxi / 江西', 'woocommerce' ),
|
'CN15' => __( 'Jiangxi / 江西', 'woocommerce' ),
|
||||||
'CN16' => __( 'Shandong / 山东', 'woocommerce' ),
|
'CN16' => __( 'Shandong / 山东', 'woocommerce' ),
|
||||||
'CN17' => __( 'Henan / 河南', 'woocommerce' ),
|
'CN17' => __( 'Henan / 河南', 'woocommerce' ),
|
||||||
'CN18' => __( 'Hubei / 湖北', 'woocommerce' ),
|
'CN18' => __( 'Hubei / 湖北', 'woocommerce' ),
|
||||||
'CN19' => __( 'Hunan / 湖南', 'woocommerce' ),
|
'CN19' => __( 'Hunan / 湖南', 'woocommerce' ),
|
||||||
'CN20' => __( 'Guangdong / 广东', 'woocommerce' ),
|
'CN20' => __( 'Guangdong / 广东', 'woocommerce' ),
|
||||||
'CN21' => __( 'Guangxi Zhuang / 广西壮族', 'woocommerce' ),
|
'CN21' => __( 'Guangxi Zhuang / 广西壮族', 'woocommerce' ),
|
||||||
'CN22' => __( 'Hainan / 海南', 'woocommerce' ),
|
'CN22' => __( 'Hainan / 海南', 'woocommerce' ),
|
||||||
'CN23' => __( 'Chongqing / 重庆', 'woocommerce' ),
|
'CN23' => __( 'Chongqing / 重庆', 'woocommerce' ),
|
||||||
'CN24' => __( 'Sichuan / 四川', 'woocommerce' ),
|
'CN24' => __( 'Sichuan / 四川', 'woocommerce' ),
|
||||||
'CN25' => __( 'Guizhou / 贵州', 'woocommerce' ),
|
'CN25' => __( 'Guizhou / 贵州', 'woocommerce' ),
|
||||||
'CN26' => __( 'Shaanxi / 陕西', 'woocommerce' ),
|
'CN26' => __( 'Shaanxi / 陕西', 'woocommerce' ),
|
||||||
'CN27' => __( 'Gansu / 甘肃', 'woocommerce' ),
|
'CN27' => __( 'Gansu / 甘肃', 'woocommerce' ),
|
||||||
'CN28' => __( 'Qinghai / 青海', 'woocommerce' ),
|
'CN28' => __( 'Qinghai / 青海', 'woocommerce' ),
|
||||||
'CN29' => __( 'Ningxia Hui / 宁夏', 'woocommerce' ),
|
'CN29' => __( 'Ningxia Hui / 宁夏', 'woocommerce' ),
|
||||||
'CN30' => __( 'Macao / 澳门', 'woocommerce' ),
|
'CN30' => __( 'Macao / 澳门', 'woocommerce' ),
|
||||||
'CN31' => __( 'Tibet / 西藏', 'woocommerce' ),
|
'CN31' => __( 'Tibet / 西藏', 'woocommerce' ),
|
||||||
'CN32' => __( 'Xinjiang / 新疆', 'woocommerce' ),
|
'CN32' => __( 'Xinjiang / 新疆', 'woocommerce' ),
|
||||||
),
|
),
|
||||||
'CZ' => array(),
|
'CZ' => array(),
|
||||||
'DE' => array(),
|
'DE' => array(),
|
||||||
|
@ -298,36 +298,36 @@ return array(
|
||||||
'DZ-03' => __( 'Laghouat', 'woocommerce' ),
|
'DZ-03' => __( 'Laghouat', 'woocommerce' ),
|
||||||
'DZ-04' => __( 'Oum El Bouaghi', 'woocommerce' ),
|
'DZ-04' => __( 'Oum El Bouaghi', 'woocommerce' ),
|
||||||
'DZ-05' => __( 'Batna', 'woocommerce' ),
|
'DZ-05' => __( 'Batna', 'woocommerce' ),
|
||||||
'DZ-06' => __( 'Béjaïa', 'woocommerce' ),
|
'DZ-06' => __( 'Béjaïa', 'woocommerce' ),
|
||||||
'DZ-07' => __( 'Biskra', 'woocommerce' ),
|
'DZ-07' => __( 'Biskra', 'woocommerce' ),
|
||||||
'DZ-08' => __( 'Béchar', 'woocommerce' ),
|
'DZ-08' => __( 'Béchar', 'woocommerce' ),
|
||||||
'DZ-09' => __( 'Blida', 'woocommerce' ),
|
'DZ-09' => __( 'Blida', 'woocommerce' ),
|
||||||
'DZ-10' => __( 'Bouira', 'woocommerce' ),
|
'DZ-10' => __( 'Bouira', 'woocommerce' ),
|
||||||
'DZ-11' => __( 'Tamanghasset', 'woocommerce' ),
|
'DZ-11' => __( 'Tamanghasset', 'woocommerce' ),
|
||||||
'DZ-12' => __( 'Tébessa', 'woocommerce' ),
|
'DZ-12' => __( 'Tébessa', 'woocommerce' ),
|
||||||
'DZ-13' => __( 'Tlemcen', 'woocommerce' ),
|
'DZ-13' => __( 'Tlemcen', 'woocommerce' ),
|
||||||
'DZ-14' => __( 'Tiaret', 'woocommerce' ),
|
'DZ-14' => __( 'Tiaret', 'woocommerce' ),
|
||||||
'DZ-15' => __( 'Tizi Ouzou', 'woocommerce' ),
|
'DZ-15' => __( 'Tizi Ouzou', 'woocommerce' ),
|
||||||
'DZ-16' => __( 'Algiers', 'woocommerce' ),
|
'DZ-16' => __( 'Algiers', 'woocommerce' ),
|
||||||
'DZ-17' => __( 'Djelfa', 'woocommerce' ),
|
'DZ-17' => __( 'Djelfa', 'woocommerce' ),
|
||||||
'DZ-18' => __( 'Jijel', 'woocommerce' ),
|
'DZ-18' => __( 'Jijel', 'woocommerce' ),
|
||||||
'DZ-19' => __( 'Sétif', 'woocommerce' ),
|
'DZ-19' => __( 'Sétif', 'woocommerce' ),
|
||||||
'DZ-20' => __( 'Saïda', 'woocommerce' ),
|
'DZ-20' => __( 'Saïda', 'woocommerce' ),
|
||||||
'DZ-21' => __( 'Skikda', 'woocommerce' ),
|
'DZ-21' => __( 'Skikda', 'woocommerce' ),
|
||||||
'DZ-22' => __( 'Sidi Bel Abbès', 'woocommerce' ),
|
'DZ-22' => __( 'Sidi Bel Abbès', 'woocommerce' ),
|
||||||
'DZ-23' => __( 'Annaba', 'woocommerce' ),
|
'DZ-23' => __( 'Annaba', 'woocommerce' ),
|
||||||
'DZ-24' => __( 'Guelma', 'woocommerce' ),
|
'DZ-24' => __( 'Guelma', 'woocommerce' ),
|
||||||
'DZ-25' => __( 'Constantine', 'woocommerce' ),
|
'DZ-25' => __( 'Constantine', 'woocommerce' ),
|
||||||
'DZ-26' => __( 'Médéa', 'woocommerce' ),
|
'DZ-26' => __( 'Médéa', 'woocommerce' ),
|
||||||
'DZ-27' => __( 'Mostaganem', 'woocommerce' ),
|
'DZ-27' => __( 'Mostaganem', 'woocommerce' ),
|
||||||
'DZ-28' => __( 'M’Sila', 'woocommerce' ),
|
'DZ-28' => __( 'M’Sila', 'woocommerce' ),
|
||||||
'DZ-29' => __( 'Mascara', 'woocommerce' ),
|
'DZ-29' => __( 'Mascara', 'woocommerce' ),
|
||||||
'DZ-30' => __( 'Ouargla', 'woocommerce' ),
|
'DZ-30' => __( 'Ouargla', 'woocommerce' ),
|
||||||
'DZ-31' => __( 'Oran', 'woocommerce' ),
|
'DZ-31' => __( 'Oran', 'woocommerce' ),
|
||||||
'DZ-32' => __( 'El Bayadh', 'woocommerce' ),
|
'DZ-32' => __( 'El Bayadh', 'woocommerce' ),
|
||||||
'DZ-33' => __( 'Illizi', 'woocommerce' ),
|
'DZ-33' => __( 'Illizi', 'woocommerce' ),
|
||||||
'DZ-34' => __( 'Bordj Bou Arréridj', 'woocommerce' ),
|
'DZ-34' => __( 'Bordj Bou Arréridj', 'woocommerce' ),
|
||||||
'DZ-35' => __( 'Boumerdès', 'woocommerce' ),
|
'DZ-35' => __( 'Boumerdès', 'woocommerce' ),
|
||||||
'DZ-36' => __( 'El Tarf', 'woocommerce' ),
|
'DZ-36' => __( 'El Tarf', 'woocommerce' ),
|
||||||
'DZ-37' => __( 'Tindouf', 'woocommerce' ),
|
'DZ-37' => __( 'Tindouf', 'woocommerce' ),
|
||||||
'DZ-38' => __( 'Tissemsilt', 'woocommerce' ),
|
'DZ-38' => __( 'Tissemsilt', 'woocommerce' ),
|
||||||
|
@ -336,32 +336,32 @@ return array(
|
||||||
'DZ-41' => __( 'Souk Ahras', 'woocommerce' ),
|
'DZ-41' => __( 'Souk Ahras', 'woocommerce' ),
|
||||||
'DZ-42' => __( 'Tipasa', 'woocommerce' ),
|
'DZ-42' => __( 'Tipasa', 'woocommerce' ),
|
||||||
'DZ-43' => __( 'Mila', 'woocommerce' ),
|
'DZ-43' => __( 'Mila', 'woocommerce' ),
|
||||||
'DZ-44' => __( 'Aïn Defla', 'woocommerce' ),
|
'DZ-44' => __( 'Aïn Defla', 'woocommerce' ),
|
||||||
'DZ-45' => __( 'Naama', 'woocommerce' ),
|
'DZ-45' => __( 'Naama', 'woocommerce' ),
|
||||||
'DZ-46' => __( 'Aïn Témouchent', 'woocommerce' ),
|
'DZ-46' => __( 'Aïn Témouchent', 'woocommerce' ),
|
||||||
'DZ-47' => __( 'Ghardaïa', 'woocommerce' ),
|
'DZ-47' => __( 'Ghardaïa', 'woocommerce' ),
|
||||||
'DZ-48' => __( 'Relizane', 'woocommerce' ),
|
'DZ-48' => __( 'Relizane', 'woocommerce' ),
|
||||||
),
|
),
|
||||||
'EE' => array(),
|
'EE' => array(),
|
||||||
'ES' => array( // Spanish states.
|
'ES' => array( // Spanish states.
|
||||||
'C' => __( 'A Coruña', 'woocommerce' ),
|
'C' => __( 'A Coruña', 'woocommerce' ),
|
||||||
'VI' => __( 'Araba/Álava', 'woocommerce' ),
|
'VI' => __( 'Araba/Álava', 'woocommerce' ),
|
||||||
'AB' => __( 'Albacete', 'woocommerce' ),
|
'AB' => __( 'Albacete', 'woocommerce' ),
|
||||||
'A' => __( 'Alicante', 'woocommerce' ),
|
'A' => __( 'Alicante', 'woocommerce' ),
|
||||||
'AL' => __( 'Almería', 'woocommerce' ),
|
'AL' => __( 'Almería', 'woocommerce' ),
|
||||||
'O' => __( 'Asturias', 'woocommerce' ),
|
'O' => __( 'Asturias', 'woocommerce' ),
|
||||||
'AV' => __( 'Ávila', 'woocommerce' ),
|
'AV' => __( 'Ávila', 'woocommerce' ),
|
||||||
'BA' => __( 'Badajoz', 'woocommerce' ),
|
'BA' => __( 'Badajoz', 'woocommerce' ),
|
||||||
'PM' => __( 'Baleares', 'woocommerce' ),
|
'PM' => __( 'Baleares', 'woocommerce' ),
|
||||||
'B' => __( 'Barcelona', 'woocommerce' ),
|
'B' => __( 'Barcelona', 'woocommerce' ),
|
||||||
'BU' => __( 'Burgos', 'woocommerce' ),
|
'BU' => __( 'Burgos', 'woocommerce' ),
|
||||||
'CC' => __( 'Cáceres', 'woocommerce' ),
|
'CC' => __( 'Cáceres', 'woocommerce' ),
|
||||||
'CA' => __( 'Cádiz', 'woocommerce' ),
|
'CA' => __( 'Cádiz', 'woocommerce' ),
|
||||||
'S' => __( 'Cantabria', 'woocommerce' ),
|
'S' => __( 'Cantabria', 'woocommerce' ),
|
||||||
'CS' => __( 'Castellón', 'woocommerce' ),
|
'CS' => __( 'Castellón', 'woocommerce' ),
|
||||||
'CE' => __( 'Ceuta', 'woocommerce' ),
|
'CE' => __( 'Ceuta', 'woocommerce' ),
|
||||||
'CR' => __( 'Ciudad Real', 'woocommerce' ),
|
'CR' => __( 'Ciudad Real', 'woocommerce' ),
|
||||||
'CO' => __( 'Córdoba', 'woocommerce' ),
|
'CO' => __( 'Córdoba', 'woocommerce' ),
|
||||||
'CU' => __( 'Cuenca', 'woocommerce' ),
|
'CU' => __( 'Cuenca', 'woocommerce' ),
|
||||||
'GI' => __( 'Girona', 'woocommerce' ),
|
'GI' => __( 'Girona', 'woocommerce' ),
|
||||||
'GR' => __( 'Granada', 'woocommerce' ),
|
'GR' => __( 'Granada', 'woocommerce' ),
|
||||||
|
@ -369,14 +369,14 @@ return array(
|
||||||
'SS' => __( 'Gipuzkoa', 'woocommerce' ),
|
'SS' => __( 'Gipuzkoa', 'woocommerce' ),
|
||||||
'H' => __( 'Huelva', 'woocommerce' ),
|
'H' => __( 'Huelva', 'woocommerce' ),
|
||||||
'HU' => __( 'Huesca', 'woocommerce' ),
|
'HU' => __( 'Huesca', 'woocommerce' ),
|
||||||
'J' => __( 'Jaén', 'woocommerce' ),
|
'J' => __( 'Jaén', 'woocommerce' ),
|
||||||
'LO' => __( 'La Rioja', 'woocommerce' ),
|
'LO' => __( 'La Rioja', 'woocommerce' ),
|
||||||
'GC' => __( 'Las Palmas', 'woocommerce' ),
|
'GC' => __( 'Las Palmas', 'woocommerce' ),
|
||||||
'LE' => __( 'León', 'woocommerce' ),
|
'LE' => __( 'León', 'woocommerce' ),
|
||||||
'L' => __( 'Lleida', 'woocommerce' ),
|
'L' => __( 'Lleida', 'woocommerce' ),
|
||||||
'LU' => __( 'Lugo', 'woocommerce' ),
|
'LU' => __( 'Lugo', 'woocommerce' ),
|
||||||
'M' => __( 'Madrid', 'woocommerce' ),
|
'M' => __( 'Madrid', 'woocommerce' ),
|
||||||
'MA' => __( 'Málaga', 'woocommerce' ),
|
'MA' => __( 'Málaga', 'woocommerce' ),
|
||||||
'ML' => __( 'Melilla', 'woocommerce' ),
|
'ML' => __( 'Melilla', 'woocommerce' ),
|
||||||
'MU' => __( 'Murcia', 'woocommerce' ),
|
'MU' => __( 'Murcia', 'woocommerce' ),
|
||||||
'NA' => __( 'Navarra', 'woocommerce' ),
|
'NA' => __( 'Navarra', 'woocommerce' ),
|
||||||
|
@ -856,48 +856,48 @@ return array(
|
||||||
),
|
),
|
||||||
'LU' => array(),
|
'LU' => array(),
|
||||||
'MD' => array( // Moldova states.
|
'MD' => array( // Moldova states.
|
||||||
'C' => __( 'Chișinău', 'woocommerce' ),
|
'C' => __( 'Chișinău', 'woocommerce' ),
|
||||||
'BL' => __( 'Bălți', 'woocommerce' ),
|
'BL' => __( 'Bălți', 'woocommerce' ),
|
||||||
'AN' => __( 'Anenii Noi', 'woocommerce' ),
|
'AN' => __( 'Anenii Noi', 'woocommerce' ),
|
||||||
'BS' => __( 'Basarabeasca', 'woocommerce' ),
|
'BS' => __( 'Basarabeasca', 'woocommerce' ),
|
||||||
'BR' => __( 'Briceni', 'woocommerce' ),
|
'BR' => __( 'Briceni', 'woocommerce' ),
|
||||||
'CH' => __( 'Cahul', 'woocommerce' ),
|
'CH' => __( 'Cahul', 'woocommerce' ),
|
||||||
'CT' => __( 'Cantemir', 'woocommerce' ),
|
'CT' => __( 'Cantemir', 'woocommerce' ),
|
||||||
'CL' => __( 'Călărași', 'woocommerce' ),
|
'CL' => __( 'Călărași', 'woocommerce' ),
|
||||||
'CS' => __( 'Căușeni', 'woocommerce' ),
|
'CS' => __( 'Căușeni', 'woocommerce' ),
|
||||||
'CM' => __( 'Cimișlia', 'woocommerce' ),
|
'CM' => __( 'Cimișlia', 'woocommerce' ),
|
||||||
'CR' => __( 'Criuleni', 'woocommerce' ),
|
'CR' => __( 'Criuleni', 'woocommerce' ),
|
||||||
'DN' => __( 'Dondușeni', 'woocommerce' ),
|
'DN' => __( 'Dondușeni', 'woocommerce' ),
|
||||||
'DR' => __( 'Drochia', 'woocommerce' ),
|
'DR' => __( 'Drochia', 'woocommerce' ),
|
||||||
'DB' => __( 'Dubăsari', 'woocommerce' ),
|
'DB' => __( 'Dubăsari', 'woocommerce' ),
|
||||||
'ED' => __( 'Edineț', 'woocommerce' ),
|
'ED' => __( 'Edineț', 'woocommerce' ),
|
||||||
'FL' => __( 'Fălești', 'woocommerce' ),
|
'FL' => __( 'Fălești', 'woocommerce' ),
|
||||||
'FR' => __( 'Florești', 'woocommerce' ),
|
'FR' => __( 'Florești', 'woocommerce' ),
|
||||||
'GE' => __( 'UTA Găgăuzia', 'woocommerce' ),
|
'GE' => __( 'UTA Găgăuzia', 'woocommerce' ),
|
||||||
'GL' => __( 'Glodeni', 'woocommerce' ),
|
'GL' => __( 'Glodeni', 'woocommerce' ),
|
||||||
'HN' => __( 'Hîncești', 'woocommerce' ),
|
'HN' => __( 'Hîncești', 'woocommerce' ),
|
||||||
'IL' => __( 'Ialoveni', 'woocommerce' ),
|
'IL' => __( 'Ialoveni', 'woocommerce' ),
|
||||||
'LV' => __( 'Leova', 'woocommerce' ),
|
'LV' => __( 'Leova', 'woocommerce' ),
|
||||||
'NS' => __( 'Nisporeni', 'woocommerce' ),
|
'NS' => __( 'Nisporeni', 'woocommerce' ),
|
||||||
'OC' => __( 'Ocnița', 'woocommerce' ),
|
'OC' => __( 'Ocnița', 'woocommerce' ),
|
||||||
'OR' => __( 'Orhei', 'woocommerce' ),
|
'OR' => __( 'Orhei', 'woocommerce' ),
|
||||||
'RZ' => __( 'Rezina', 'woocommerce' ),
|
'RZ' => __( 'Rezina', 'woocommerce' ),
|
||||||
'RS' => __( 'Rîșcani', 'woocommerce' ),
|
'RS' => __( 'Rîșcani', 'woocommerce' ),
|
||||||
'SG' => __( 'Sîngerei', 'woocommerce' ),
|
'SG' => __( 'Sîngerei', 'woocommerce' ),
|
||||||
'SR' => __( 'Soroca', 'woocommerce' ),
|
'SR' => __( 'Soroca', 'woocommerce' ),
|
||||||
'ST' => __( 'Strășeni', 'woocommerce' ),
|
'ST' => __( 'Strășeni', 'woocommerce' ),
|
||||||
'SD' => __( 'Șoldănești', 'woocommerce' ),
|
'SD' => __( 'Șoldănești', 'woocommerce' ),
|
||||||
'SV' => __( 'Ștefan Vodă', 'woocommerce' ),
|
'SV' => __( 'Ștefan Vodă', 'woocommerce' ),
|
||||||
'TR' => __( 'Taraclia', 'woocommerce' ),
|
'TR' => __( 'Taraclia', 'woocommerce' ),
|
||||||
'TL' => __( 'Telenești', 'woocommerce' ),
|
'TL' => __( 'Telenești', 'woocommerce' ),
|
||||||
'UN' => __( 'Ungheni', 'woocommerce' ),
|
'UN' => __( 'Ungheni', 'woocommerce' ),
|
||||||
),
|
),
|
||||||
'MQ' => array(),
|
'MQ' => array(),
|
||||||
'MT' => array(),
|
'MT' => array(),
|
||||||
'MX' => array( // Mexico States.
|
'MX' => array( // Mexico States.
|
||||||
'DF' => __( 'Ciudad de México', 'woocommerce' ),
|
'DF' => __( 'Ciudad de México', 'woocommerce' ),
|
||||||
'JA' => __( 'Jalisco', 'woocommerce' ),
|
'JA' => __( 'Jalisco', 'woocommerce' ),
|
||||||
'NL' => __( 'Nuevo León', 'woocommerce' ),
|
'NL' => __( 'Nuevo León', 'woocommerce' ),
|
||||||
'AG' => __( 'Aguascalientes', 'woocommerce' ),
|
'AG' => __( 'Aguascalientes', 'woocommerce' ),
|
||||||
'BC' => __( 'Baja California', 'woocommerce' ),
|
'BC' => __( 'Baja California', 'woocommerce' ),
|
||||||
'BS' => __( 'Baja California Sur', 'woocommerce' ),
|
'BS' => __( 'Baja California Sur', 'woocommerce' ),
|
||||||
|
@ -910,22 +910,22 @@ return array(
|
||||||
'GT' => __( 'Guanajuato', 'woocommerce' ),
|
'GT' => __( 'Guanajuato', 'woocommerce' ),
|
||||||
'GR' => __( 'Guerrero', 'woocommerce' ),
|
'GR' => __( 'Guerrero', 'woocommerce' ),
|
||||||
'HG' => __( 'Hidalgo', 'woocommerce' ),
|
'HG' => __( 'Hidalgo', 'woocommerce' ),
|
||||||
'MX' => __( 'Estado de México', 'woocommerce' ),
|
'MX' => __( 'Estado de México', 'woocommerce' ),
|
||||||
'MI' => __( 'Michoacán', 'woocommerce' ),
|
'MI' => __( 'Michoacán', 'woocommerce' ),
|
||||||
'MO' => __( 'Morelos', 'woocommerce' ),
|
'MO' => __( 'Morelos', 'woocommerce' ),
|
||||||
'NA' => __( 'Nayarit', 'woocommerce' ),
|
'NA' => __( 'Nayarit', 'woocommerce' ),
|
||||||
'OA' => __( 'Oaxaca', 'woocommerce' ),
|
'OA' => __( 'Oaxaca', 'woocommerce' ),
|
||||||
'PU' => __( 'Puebla', 'woocommerce' ),
|
'PU' => __( 'Puebla', 'woocommerce' ),
|
||||||
'QT' => __( 'Querétaro', 'woocommerce' ),
|
'QT' => __( 'Querétaro', 'woocommerce' ),
|
||||||
'QR' => __( 'Quintana Roo', 'woocommerce' ),
|
'QR' => __( 'Quintana Roo', 'woocommerce' ),
|
||||||
'SL' => __( 'San Luis Potosí', 'woocommerce' ),
|
'SL' => __( 'San Luis Potosí', 'woocommerce' ),
|
||||||
'SI' => __( 'Sinaloa', 'woocommerce' ),
|
'SI' => __( 'Sinaloa', 'woocommerce' ),
|
||||||
'SO' => __( 'Sonora', 'woocommerce' ),
|
'SO' => __( 'Sonora', 'woocommerce' ),
|
||||||
'TB' => __( 'Tabasco', 'woocommerce' ),
|
'TB' => __( 'Tabasco', 'woocommerce' ),
|
||||||
'TM' => __( 'Tamaulipas', 'woocommerce' ),
|
'TM' => __( 'Tamaulipas', 'woocommerce' ),
|
||||||
'TL' => __( 'Tlaxcala', 'woocommerce' ),
|
'TL' => __( 'Tlaxcala', 'woocommerce' ),
|
||||||
'VE' => __( 'Veracruz', 'woocommerce' ),
|
'VE' => __( 'Veracruz', 'woocommerce' ),
|
||||||
'YU' => __( 'Yucatán', 'woocommerce' ),
|
'YU' => __( 'Yucatán', 'woocommerce' ),
|
||||||
'ZA' => __( 'Zacatecas', 'woocommerce' ),
|
'ZA' => __( 'Zacatecas', 'woocommerce' ),
|
||||||
),
|
),
|
||||||
'MY' => array( // Malaysian states.
|
'MY' => array( // Malaysian states.
|
||||||
|
@ -1039,7 +1039,7 @@ return array(
|
||||||
'BP' => __( 'Bay of Plenty', 'woocommerce' ),
|
'BP' => __( 'Bay of Plenty', 'woocommerce' ),
|
||||||
'TK' => __( 'Taranaki', 'woocommerce' ),
|
'TK' => __( 'Taranaki', 'woocommerce' ),
|
||||||
'GI' => __( 'Gisborne', 'woocommerce' ),
|
'GI' => __( 'Gisborne', 'woocommerce' ),
|
||||||
'HB' => __( 'Hawke’s Bay', 'woocommerce' ),
|
'HB' => __( 'Hawke’s Bay', 'woocommerce' ),
|
||||||
'MW' => __( 'Manawatu-Wanganui', 'woocommerce' ),
|
'MW' => __( 'Manawatu-Wanganui', 'woocommerce' ),
|
||||||
'WE' => __( 'Wellington', 'woocommerce' ),
|
'WE' => __( 'Wellington', 'woocommerce' ),
|
||||||
'NS' => __( 'Nelson', 'woocommerce' ),
|
'NS' => __( 'Nelson', 'woocommerce' ),
|
||||||
|
@ -1055,15 +1055,15 @@ return array(
|
||||||
'LMA' => __( 'Municipalidad Metropolitana de Lima', 'woocommerce' ),
|
'LMA' => __( 'Municipalidad Metropolitana de Lima', 'woocommerce' ),
|
||||||
'AMA' => __( 'Amazonas', 'woocommerce' ),
|
'AMA' => __( 'Amazonas', 'woocommerce' ),
|
||||||
'ANC' => __( 'Ancash', 'woocommerce' ),
|
'ANC' => __( 'Ancash', 'woocommerce' ),
|
||||||
'APU' => __( 'Apurímac', 'woocommerce' ),
|
'APU' => __( 'Apurímac', 'woocommerce' ),
|
||||||
'ARE' => __( 'Arequipa', 'woocommerce' ),
|
'ARE' => __( 'Arequipa', 'woocommerce' ),
|
||||||
'AYA' => __( 'Ayacucho', 'woocommerce' ),
|
'AYA' => __( 'Ayacucho', 'woocommerce' ),
|
||||||
'CAJ' => __( 'Cajamarca', 'woocommerce' ),
|
'CAJ' => __( 'Cajamarca', 'woocommerce' ),
|
||||||
'CUS' => __( 'Cusco', 'woocommerce' ),
|
'CUS' => __( 'Cusco', 'woocommerce' ),
|
||||||
'HUV' => __( 'Huancavelica', 'woocommerce' ),
|
'HUV' => __( 'Huancavelica', 'woocommerce' ),
|
||||||
'HUC' => __( 'Huánuco', 'woocommerce' ),
|
'HUC' => __( 'Huánuco', 'woocommerce' ),
|
||||||
'ICA' => __( 'Ica', 'woocommerce' ),
|
'ICA' => __( 'Ica', 'woocommerce' ),
|
||||||
'JUN' => __( 'Junín', 'woocommerce' ),
|
'JUN' => __( 'Junín', 'woocommerce' ),
|
||||||
'LAL' => __( 'La Libertad', 'woocommerce' ),
|
'LAL' => __( 'La Libertad', 'woocommerce' ),
|
||||||
'LAM' => __( 'Lambayeque', 'woocommerce' ),
|
'LAM' => __( 'Lambayeque', 'woocommerce' ),
|
||||||
'LIM' => __( 'Lima', 'woocommerce' ),
|
'LIM' => __( 'Lima', 'woocommerce' ),
|
||||||
|
@ -1073,7 +1073,7 @@ return array(
|
||||||
'PAS' => __( 'Pasco', 'woocommerce' ),
|
'PAS' => __( 'Pasco', 'woocommerce' ),
|
||||||
'PIU' => __( 'Piura', 'woocommerce' ),
|
'PIU' => __( 'Piura', 'woocommerce' ),
|
||||||
'PUN' => __( 'Puno', 'woocommerce' ),
|
'PUN' => __( 'Puno', 'woocommerce' ),
|
||||||
'SAM' => __( 'San Martín', 'woocommerce' ),
|
'SAM' => __( 'San Martín', 'woocommerce' ),
|
||||||
'TAC' => __( 'Tacna', 'woocommerce' ),
|
'TAC' => __( 'Tacna', 'woocommerce' ),
|
||||||
'TUM' => __( 'Tumbes', 'woocommerce' ),
|
'TUM' => __( 'Tumbes', 'woocommerce' ),
|
||||||
'UCA' => __( 'Ucayali', 'woocommerce' ),
|
'UCA' => __( 'Ucayali', 'woocommerce' ),
|
||||||
|
@ -1179,67 +1179,67 @@ return array(
|
||||||
'PL' => array(),
|
'PL' => array(),
|
||||||
'PT' => array(),
|
'PT' => array(),
|
||||||
'PY' => array( // Paraguay states.
|
'PY' => array( // Paraguay states.
|
||||||
'PY-ASU' => __( 'Asunción', 'woocommerce' ),
|
'PY-ASU' => __( 'Asunción', 'woocommerce' ),
|
||||||
'PY-1' => __( 'Concepción', 'woocommerce' ),
|
'PY-1' => __( 'Concepción', 'woocommerce' ),
|
||||||
'PY-2' => __( 'San Pedro', 'woocommerce' ),
|
'PY-2' => __( 'San Pedro', 'woocommerce' ),
|
||||||
'PY-3' => __( 'Cordillera', 'woocommerce' ),
|
'PY-3' => __( 'Cordillera', 'woocommerce' ),
|
||||||
'PY-4' => __( 'Guairá', 'woocommerce' ),
|
'PY-4' => __( 'Guairá', 'woocommerce' ),
|
||||||
'PY-5' => __( 'Caaguazú', 'woocommerce' ),
|
'PY-5' => __( 'Caaguazú', 'woocommerce' ),
|
||||||
'PY-6' => __( 'Caazapá', 'woocommerce' ),
|
'PY-6' => __( 'Caazapá', 'woocommerce' ),
|
||||||
'PY-7' => __( 'Itapúa', 'woocommerce' ),
|
'PY-7' => __( 'Itapúa', 'woocommerce' ),
|
||||||
'PY-8' => __( 'Misiones', 'woocommerce' ),
|
'PY-8' => __( 'Misiones', 'woocommerce' ),
|
||||||
'PY-9' => __( 'Paraguarí', 'woocommerce' ),
|
'PY-9' => __( 'Paraguarí', 'woocommerce' ),
|
||||||
'PY-10' => __( 'Alto Paraná', 'woocommerce' ),
|
'PY-10' => __( 'Alto Paraná', 'woocommerce' ),
|
||||||
'PY-11' => __( 'Central', 'woocommerce' ),
|
'PY-11' => __( 'Central', 'woocommerce' ),
|
||||||
'PY-12' => __( 'Ñeembucú', 'woocommerce' ),
|
'PY-12' => __( 'Ñeembucú', 'woocommerce' ),
|
||||||
'PY-13' => __( 'Amambay', 'woocommerce' ),
|
'PY-13' => __( 'Amambay', 'woocommerce' ),
|
||||||
'PY-14' => __( 'Canindeyú', 'woocommerce' ),
|
'PY-14' => __( 'Canindeyú', 'woocommerce' ),
|
||||||
'PY-15' => __( 'Presidente Hayes', 'woocommerce' ),
|
'PY-15' => __( 'Presidente Hayes', 'woocommerce' ),
|
||||||
'PY-16' => __( 'Alto Paraguay', 'woocommerce' ),
|
'PY-16' => __( 'Alto Paraguay', 'woocommerce' ),
|
||||||
'PY-17' => __( 'Boquerón', 'woocommerce' ),
|
'PY-17' => __( 'Boquerón', 'woocommerce' ),
|
||||||
),
|
),
|
||||||
'RE' => array(),
|
'RE' => array(),
|
||||||
'RO' => array( // Romania states.
|
'RO' => array( // Romania states.
|
||||||
'AB' => __( 'Alba', 'woocommerce' ),
|
'AB' => __( 'Alba', 'woocommerce' ),
|
||||||
'AR' => __( 'Arad', 'woocommerce' ),
|
'AR' => __( 'Arad', 'woocommerce' ),
|
||||||
'AG' => __( 'Argeș', 'woocommerce' ),
|
'AG' => __( 'Argeș', 'woocommerce' ),
|
||||||
'BC' => __( 'Bacău', 'woocommerce' ),
|
'BC' => __( 'Bacău', 'woocommerce' ),
|
||||||
'BH' => __( 'Bihor', 'woocommerce' ),
|
'BH' => __( 'Bihor', 'woocommerce' ),
|
||||||
'BN' => __( 'Bistrița-Năsăud', 'woocommerce' ),
|
'BN' => __( 'Bistrița-Năsăud', 'woocommerce' ),
|
||||||
'BT' => __( 'Botoșani', 'woocommerce' ),
|
'BT' => __( 'Botoșani', 'woocommerce' ),
|
||||||
'BR' => __( 'Brăila', 'woocommerce' ),
|
'BR' => __( 'Brăila', 'woocommerce' ),
|
||||||
'BV' => __( 'Brașov', 'woocommerce' ),
|
'BV' => __( 'Brașov', 'woocommerce' ),
|
||||||
'B' => __( 'București', 'woocommerce' ),
|
'B' => __( 'București', 'woocommerce' ),
|
||||||
'BZ' => __( 'Buzău', 'woocommerce' ),
|
'BZ' => __( 'Buzău', 'woocommerce' ),
|
||||||
'CL' => __( 'Călărași', 'woocommerce' ),
|
'CL' => __( 'Călărași', 'woocommerce' ),
|
||||||
'CS' => __( 'Caraș-Severin', 'woocommerce' ),
|
'CS' => __( 'Caraș-Severin', 'woocommerce' ),
|
||||||
'CJ' => __( 'Cluj', 'woocommerce' ),
|
'CJ' => __( 'Cluj', 'woocommerce' ),
|
||||||
'CT' => __( 'Constanța', 'woocommerce' ),
|
'CT' => __( 'Constanța', 'woocommerce' ),
|
||||||
'CV' => __( 'Covasna', 'woocommerce' ),
|
'CV' => __( 'Covasna', 'woocommerce' ),
|
||||||
'DB' => __( 'Dâmbovița', 'woocommerce' ),
|
'DB' => __( 'Dâmbovița', 'woocommerce' ),
|
||||||
'DJ' => __( 'Dolj', 'woocommerce' ),
|
'DJ' => __( 'Dolj', 'woocommerce' ),
|
||||||
'GL' => __( 'Galați', 'woocommerce' ),
|
'GL' => __( 'Galați', 'woocommerce' ),
|
||||||
'GR' => __( 'Giurgiu', 'woocommerce' ),
|
'GR' => __( 'Giurgiu', 'woocommerce' ),
|
||||||
'GJ' => __( 'Gorj', 'woocommerce' ),
|
'GJ' => __( 'Gorj', 'woocommerce' ),
|
||||||
'HR' => __( 'Harghita', 'woocommerce' ),
|
'HR' => __( 'Harghita', 'woocommerce' ),
|
||||||
'HD' => __( 'Hunedoara', 'woocommerce' ),
|
'HD' => __( 'Hunedoara', 'woocommerce' ),
|
||||||
'IL' => __( 'Ialomița', 'woocommerce' ),
|
'IL' => __( 'Ialomița', 'woocommerce' ),
|
||||||
'IS' => __( 'Iași', 'woocommerce' ),
|
'IS' => __( 'Iași', 'woocommerce' ),
|
||||||
'IF' => __( 'Ilfov', 'woocommerce' ),
|
'IF' => __( 'Ilfov', 'woocommerce' ),
|
||||||
'MM' => __( 'Maramureș', 'woocommerce' ),
|
'MM' => __( 'Maramureș', 'woocommerce' ),
|
||||||
'MH' => __( 'Mehedinți', 'woocommerce' ),
|
'MH' => __( 'Mehedinți', 'woocommerce' ),
|
||||||
'MS' => __( 'Mureș', 'woocommerce' ),
|
'MS' => __( 'Mureș', 'woocommerce' ),
|
||||||
'NT' => __( 'Neamț', 'woocommerce' ),
|
'NT' => __( 'Neamț', 'woocommerce' ),
|
||||||
'OT' => __( 'Olt', 'woocommerce' ),
|
'OT' => __( 'Olt', 'woocommerce' ),
|
||||||
'PH' => __( 'Prahova', 'woocommerce' ),
|
'PH' => __( 'Prahova', 'woocommerce' ),
|
||||||
'SJ' => __( 'Sălaj', 'woocommerce' ),
|
'SJ' => __( 'Sălaj', 'woocommerce' ),
|
||||||
'SM' => __( 'Satu Mare', 'woocommerce' ),
|
'SM' => __( 'Satu Mare', 'woocommerce' ),
|
||||||
'SB' => __( 'Sibiu', 'woocommerce' ),
|
'SB' => __( 'Sibiu', 'woocommerce' ),
|
||||||
'SV' => __( 'Suceava', 'woocommerce' ),
|
'SV' => __( 'Suceava', 'woocommerce' ),
|
||||||
'TR' => __( 'Teleorman', 'woocommerce' ),
|
'TR' => __( 'Teleorman', 'woocommerce' ),
|
||||||
'TM' => __( 'Timiș', 'woocommerce' ),
|
'TM' => __( 'Timiș', 'woocommerce' ),
|
||||||
'TL' => __( 'Tulcea', 'woocommerce' ),
|
'TL' => __( 'Tulcea', 'woocommerce' ),
|
||||||
'VL' => __( 'Vâlcea', 'woocommerce' ),
|
'VL' => __( 'Vâlcea', 'woocommerce' ),
|
||||||
'VS' => __( 'Vaslui', 'woocommerce' ),
|
'VS' => __( 'Vaslui', 'woocommerce' ),
|
||||||
'VN' => __( 'Vrancea', 'woocommerce' ),
|
'VN' => __( 'Vrancea', 'woocommerce' ),
|
||||||
),
|
),
|
||||||
|
@ -1328,56 +1328,56 @@ return array(
|
||||||
),
|
),
|
||||||
'TR' => array( // Turkey States.
|
'TR' => array( // Turkey States.
|
||||||
'TR01' => __( 'Adana', 'woocommerce' ),
|
'TR01' => __( 'Adana', 'woocommerce' ),
|
||||||
'TR02' => __( 'Adıyaman', 'woocommerce' ),
|
'TR02' => __( 'Adıyaman', 'woocommerce' ),
|
||||||
'TR03' => __( 'Afyon', 'woocommerce' ),
|
'TR03' => __( 'Afyon', 'woocommerce' ),
|
||||||
'TR04' => __( 'Ağrı', 'woocommerce' ),
|
'TR04' => __( 'Ağrı', 'woocommerce' ),
|
||||||
'TR05' => __( 'Amasya', 'woocommerce' ),
|
'TR05' => __( 'Amasya', 'woocommerce' ),
|
||||||
'TR06' => __( 'Ankara', 'woocommerce' ),
|
'TR06' => __( 'Ankara', 'woocommerce' ),
|
||||||
'TR07' => __( 'Antalya', 'woocommerce' ),
|
'TR07' => __( 'Antalya', 'woocommerce' ),
|
||||||
'TR08' => __( 'Artvin', 'woocommerce' ),
|
'TR08' => __( 'Artvin', 'woocommerce' ),
|
||||||
'TR09' => __( 'Aydın', 'woocommerce' ),
|
'TR09' => __( 'Aydın', 'woocommerce' ),
|
||||||
'TR10' => __( 'Balıkesir', 'woocommerce' ),
|
'TR10' => __( 'Balıkesir', 'woocommerce' ),
|
||||||
'TR11' => __( 'Bilecik', 'woocommerce' ),
|
'TR11' => __( 'Bilecik', 'woocommerce' ),
|
||||||
'TR12' => __( 'Bingöl', 'woocommerce' ),
|
'TR12' => __( 'Bingöl', 'woocommerce' ),
|
||||||
'TR13' => __( 'Bitlis', 'woocommerce' ),
|
'TR13' => __( 'Bitlis', 'woocommerce' ),
|
||||||
'TR14' => __( 'Bolu', 'woocommerce' ),
|
'TR14' => __( 'Bolu', 'woocommerce' ),
|
||||||
'TR15' => __( 'Burdur', 'woocommerce' ),
|
'TR15' => __( 'Burdur', 'woocommerce' ),
|
||||||
'TR16' => __( 'Bursa', 'woocommerce' ),
|
'TR16' => __( 'Bursa', 'woocommerce' ),
|
||||||
'TR17' => __( 'Çanakkale', 'woocommerce' ),
|
'TR17' => __( 'Çanakkale', 'woocommerce' ),
|
||||||
'TR18' => __( 'Çankırı', 'woocommerce' ),
|
'TR18' => __( 'Çankırı', 'woocommerce' ),
|
||||||
'TR19' => __( 'Çorum', 'woocommerce' ),
|
'TR19' => __( 'Çorum', 'woocommerce' ),
|
||||||
'TR20' => __( 'Denizli', 'woocommerce' ),
|
'TR20' => __( 'Denizli', 'woocommerce' ),
|
||||||
'TR21' => __( 'Diyarbakır', 'woocommerce' ),
|
'TR21' => __( 'Diyarbakır', 'woocommerce' ),
|
||||||
'TR22' => __( 'Edirne', 'woocommerce' ),
|
'TR22' => __( 'Edirne', 'woocommerce' ),
|
||||||
'TR23' => __( 'Elazığ', 'woocommerce' ),
|
'TR23' => __( 'Elazığ', 'woocommerce' ),
|
||||||
'TR24' => __( 'Erzincan', 'woocommerce' ),
|
'TR24' => __( 'Erzincan', 'woocommerce' ),
|
||||||
'TR25' => __( 'Erzurum', 'woocommerce' ),
|
'TR25' => __( 'Erzurum', 'woocommerce' ),
|
||||||
'TR26' => __( 'Eskişehir', 'woocommerce' ),
|
'TR26' => __( 'Eskişehir', 'woocommerce' ),
|
||||||
'TR27' => __( 'Gaziantep', 'woocommerce' ),
|
'TR27' => __( 'Gaziantep', 'woocommerce' ),
|
||||||
'TR28' => __( 'Giresun', 'woocommerce' ),
|
'TR28' => __( 'Giresun', 'woocommerce' ),
|
||||||
'TR29' => __( 'Gümüşhane', 'woocommerce' ),
|
'TR29' => __( 'Gümüşhane', 'woocommerce' ),
|
||||||
'TR30' => __( 'Hakkari', 'woocommerce' ),
|
'TR30' => __( 'Hakkari', 'woocommerce' ),
|
||||||
'TR31' => __( 'Hatay', 'woocommerce' ),
|
'TR31' => __( 'Hatay', 'woocommerce' ),
|
||||||
'TR32' => __( 'Isparta', 'woocommerce' ),
|
'TR32' => __( 'Isparta', 'woocommerce' ),
|
||||||
'TR33' => __( 'İçel', 'woocommerce' ),
|
'TR33' => __( 'İçel', 'woocommerce' ),
|
||||||
'TR34' => __( 'İstanbul', 'woocommerce' ),
|
'TR34' => __( 'İstanbul', 'woocommerce' ),
|
||||||
'TR35' => __( 'İzmir', 'woocommerce' ),
|
'TR35' => __( 'İzmir', 'woocommerce' ),
|
||||||
'TR36' => __( 'Kars', 'woocommerce' ),
|
'TR36' => __( 'Kars', 'woocommerce' ),
|
||||||
'TR37' => __( 'Kastamonu', 'woocommerce' ),
|
'TR37' => __( 'Kastamonu', 'woocommerce' ),
|
||||||
'TR38' => __( 'Kayseri', 'woocommerce' ),
|
'TR38' => __( 'Kayseri', 'woocommerce' ),
|
||||||
'TR39' => __( 'Kırklareli', 'woocommerce' ),
|
'TR39' => __( 'Kırklareli', 'woocommerce' ),
|
||||||
'TR40' => __( 'Kırşehir', 'woocommerce' ),
|
'TR40' => __( 'Kırşehir', 'woocommerce' ),
|
||||||
'TR41' => __( 'Kocaeli', 'woocommerce' ),
|
'TR41' => __( 'Kocaeli', 'woocommerce' ),
|
||||||
'TR42' => __( 'Konya', 'woocommerce' ),
|
'TR42' => __( 'Konya', 'woocommerce' ),
|
||||||
'TR43' => __( 'Kütahya', 'woocommerce' ),
|
'TR43' => __( 'Kütahya', 'woocommerce' ),
|
||||||
'TR44' => __( 'Malatya', 'woocommerce' ),
|
'TR44' => __( 'Malatya', 'woocommerce' ),
|
||||||
'TR45' => __( 'Manisa', 'woocommerce' ),
|
'TR45' => __( 'Manisa', 'woocommerce' ),
|
||||||
'TR46' => __( 'Kahramanmaraş', 'woocommerce' ),
|
'TR46' => __( 'Kahramanmaraş', 'woocommerce' ),
|
||||||
'TR47' => __( 'Mardin', 'woocommerce' ),
|
'TR47' => __( 'Mardin', 'woocommerce' ),
|
||||||
'TR48' => __( 'Muğla', 'woocommerce' ),
|
'TR48' => __( 'Muğla', 'woocommerce' ),
|
||||||
'TR49' => __( 'Muş', 'woocommerce' ),
|
'TR49' => __( 'Muş', 'woocommerce' ),
|
||||||
'TR50' => __( 'Nevşehir', 'woocommerce' ),
|
'TR50' => __( 'Nevşehir', 'woocommerce' ),
|
||||||
'TR51' => __( 'Niğde', 'woocommerce' ),
|
'TR51' => __( 'Niğde', 'woocommerce' ),
|
||||||
'TR52' => __( 'Ordu', 'woocommerce' ),
|
'TR52' => __( 'Ordu', 'woocommerce' ),
|
||||||
'TR53' => __( 'Rize', 'woocommerce' ),
|
'TR53' => __( 'Rize', 'woocommerce' ),
|
||||||
'TR54' => __( 'Sakarya', 'woocommerce' ),
|
'TR54' => __( 'Sakarya', 'woocommerce' ),
|
||||||
|
@ -1385,29 +1385,29 @@ return array(
|
||||||
'TR56' => __( 'Siirt', 'woocommerce' ),
|
'TR56' => __( 'Siirt', 'woocommerce' ),
|
||||||
'TR57' => __( 'Sinop', 'woocommerce' ),
|
'TR57' => __( 'Sinop', 'woocommerce' ),
|
||||||
'TR58' => __( 'Sivas', 'woocommerce' ),
|
'TR58' => __( 'Sivas', 'woocommerce' ),
|
||||||
'TR59' => __( 'Tekirdağ', 'woocommerce' ),
|
'TR59' => __( 'Tekirdağ', 'woocommerce' ),
|
||||||
'TR60' => __( 'Tokat', 'woocommerce' ),
|
'TR60' => __( 'Tokat', 'woocommerce' ),
|
||||||
'TR61' => __( 'Trabzon', 'woocommerce' ),
|
'TR61' => __( 'Trabzon', 'woocommerce' ),
|
||||||
'TR62' => __( 'Tunceli', 'woocommerce' ),
|
'TR62' => __( 'Tunceli', 'woocommerce' ),
|
||||||
'TR63' => __( 'Şanlıurfa', 'woocommerce' ),
|
'TR63' => __( 'Şanlıurfa', 'woocommerce' ),
|
||||||
'TR64' => __( 'Uşak', 'woocommerce' ),
|
'TR64' => __( 'Uşak', 'woocommerce' ),
|
||||||
'TR65' => __( 'Van', 'woocommerce' ),
|
'TR65' => __( 'Van', 'woocommerce' ),
|
||||||
'TR66' => __( 'Yozgat', 'woocommerce' ),
|
'TR66' => __( 'Yozgat', 'woocommerce' ),
|
||||||
'TR67' => __( 'Zonguldak', 'woocommerce' ),
|
'TR67' => __( 'Zonguldak', 'woocommerce' ),
|
||||||
'TR68' => __( 'Aksaray', 'woocommerce' ),
|
'TR68' => __( 'Aksaray', 'woocommerce' ),
|
||||||
'TR69' => __( 'Bayburt', 'woocommerce' ),
|
'TR69' => __( 'Bayburt', 'woocommerce' ),
|
||||||
'TR70' => __( 'Karaman', 'woocommerce' ),
|
'TR70' => __( 'Karaman', 'woocommerce' ),
|
||||||
'TR71' => __( 'Kırıkkale', 'woocommerce' ),
|
'TR71' => __( 'Kırıkkale', 'woocommerce' ),
|
||||||
'TR72' => __( 'Batman', 'woocommerce' ),
|
'TR72' => __( 'Batman', 'woocommerce' ),
|
||||||
'TR73' => __( 'Şırnak', 'woocommerce' ),
|
'TR73' => __( 'Şırnak', 'woocommerce' ),
|
||||||
'TR74' => __( 'Bartın', 'woocommerce' ),
|
'TR74' => __( 'Bartın', 'woocommerce' ),
|
||||||
'TR75' => __( 'Ardahan', 'woocommerce' ),
|
'TR75' => __( 'Ardahan', 'woocommerce' ),
|
||||||
'TR76' => __( 'Iğdır', 'woocommerce' ),
|
'TR76' => __( 'Iğdır', 'woocommerce' ),
|
||||||
'TR77' => __( 'Yalova', 'woocommerce' ),
|
'TR77' => __( 'Yalova', 'woocommerce' ),
|
||||||
'TR78' => __( 'Karabük', 'woocommerce' ),
|
'TR78' => __( 'Karabük', 'woocommerce' ),
|
||||||
'TR79' => __( 'Kilis', 'woocommerce' ),
|
'TR79' => __( 'Kilis', 'woocommerce' ),
|
||||||
'TR80' => __( 'Osmaniye', 'woocommerce' ),
|
'TR80' => __( 'Osmaniye', 'woocommerce' ),
|
||||||
'TR81' => __( 'Düzce', 'woocommerce' ),
|
'TR81' => __( 'Düzce', 'woocommerce' ),
|
||||||
),
|
),
|
||||||
'TZ' => array( // Tanzania States.
|
'TZ' => array( // Tanzania States.
|
||||||
'TZ01' => __( 'Arusha', 'woocommerce' ),
|
'TZ01' => __( 'Arusha', 'woocommerce' ),
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
*
|
*
|
||||||
* @class WC_Data
|
* @class WC_Data
|
||||||
* @version 3.0.0
|
* @version 3.0.0
|
||||||
* @package WooCommerce/Classes
|
* @package WooCommerce\Classes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
|
@ -20,7 +20,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||||
* Implemented by classes using the same CRUD(s) pattern.
|
* Implemented by classes using the same CRUD(s) pattern.
|
||||||
*
|
*
|
||||||
* @version 2.6.0
|
* @version 2.6.0
|
||||||
* @package WooCommerce/Abstracts
|
* @package WooCommerce\Abstracts
|
||||||
*/
|
*/
|
||||||
abstract class WC_Data {
|
abstract class WC_Data {
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
*
|
*
|
||||||
* @class WC_Settings_API
|
* @class WC_Settings_API
|
||||||
* @version 2.6.0
|
* @version 2.6.0
|
||||||
* @package WooCommerce/Abstracts
|
* @package WooCommerce\Abstracts
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
|
@ -22,7 +22,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||||
* @class WC_Integration
|
* @class WC_Integration
|
||||||
* @extends WC_Settings_API
|
* @extends WC_Settings_API
|
||||||
* @version 2.6.0
|
* @version 2.6.0
|
||||||
* @package WooCommerce/Abstracts
|
* @package WooCommerce\Abstracts
|
||||||
*/
|
*/
|
||||||
abstract class WC_Integration extends WC_Settings_API {
|
abstract class WC_Integration extends WC_Settings_API {
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
* Log handling functionality.
|
* Log handling functionality.
|
||||||
*
|
*
|
||||||
* @class WC_Log_Handler
|
* @class WC_Log_Handler
|
||||||
* @package WooCommerce/Abstracts
|
* @package WooCommerce\Abstracts
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
|
@ -14,7 +14,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||||
* Abstract WC Log Handler Class
|
* Abstract WC Log Handler Class
|
||||||
*
|
*
|
||||||
* @version 1.0.0
|
* @version 1.0.0
|
||||||
* @package WooCommerce/Abstracts
|
* @package WooCommerce\Abstracts
|
||||||
*/
|
*/
|
||||||
abstract class WC_Log_Handler implements WC_Log_Handler_Interface {
|
abstract class WC_Log_Handler implements WC_Log_Handler_Interface {
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Query abstraction layer functionality.
|
* Query abstraction layer functionality.
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Abstracts
|
* @package WooCommerce\Abstracts
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
|
@ -15,7 +15,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||||
* Extended by classes to provide a query abstraction layer for safe object searching.
|
* Extended by classes to provide a query abstraction layer for safe object searching.
|
||||||
*
|
*
|
||||||
* @version 3.1.0
|
* @version 3.1.0
|
||||||
* @package WooCommerce/Abstracts
|
* @package WooCommerce\Abstracts
|
||||||
*/
|
*/
|
||||||
abstract class WC_Object_Query {
|
abstract class WC_Object_Query {
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
*
|
*
|
||||||
* @class WC_Abstract_Order
|
* @class WC_Abstract_Order
|
||||||
* @version 3.0.0
|
* @version 3.0.0
|
||||||
* @package WooCommerce/Classes
|
* @package WooCommerce\Classes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
defined( 'ABSPATH' ) || exit;
|
defined( 'ABSPATH' ) || exit;
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
*
|
*
|
||||||
* @class WC_Payment_Gateway
|
* @class WC_Payment_Gateway
|
||||||
* @version 2.1.0
|
* @version 2.1.0
|
||||||
* @package WooCommerce/Abstracts
|
* @package WooCommerce\Abstracts
|
||||||
*/
|
*/
|
||||||
|
|
||||||
use Automattic\Jetpack\Constants;
|
use Automattic\Jetpack\Constants;
|
||||||
|
@ -23,7 +23,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||||
* @class WC_Payment_Gateway
|
* @class WC_Payment_Gateway
|
||||||
* @extends WC_Settings_API
|
* @extends WC_Settings_API
|
||||||
* @version 2.1.0
|
* @version 2.1.0
|
||||||
* @package WooCommerce/Abstracts
|
* @package WooCommerce\Abstracts
|
||||||
*/
|
*/
|
||||||
abstract class WC_Payment_Gateway extends WC_Settings_API {
|
abstract class WC_Payment_Gateway extends WC_Settings_API {
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* Generic payment tokens functionality which can be extended by idividual types of payment tokens.
|
* Generic payment tokens functionality which can be extended by idividual types of payment tokens.
|
||||||
*
|
*
|
||||||
* @class WC_Payment_Token
|
* @class WC_Payment_Token
|
||||||
* @package WooCommerce/Abstracts
|
* @package WooCommerce\Abstracts
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
|
@ -23,7 +23,7 @@ require_once WC_ABSPATH . 'includes/legacy/abstract-wc-legacy-payment-token.php'
|
||||||
* @class WC_Payment_Token
|
* @class WC_Payment_Token
|
||||||
* @version 3.0.0
|
* @version 3.0.0
|
||||||
* @since 2.6.0
|
* @since 2.6.0
|
||||||
* @package WooCommerce/Abstracts
|
* @package WooCommerce\Abstracts
|
||||||
*/
|
*/
|
||||||
abstract class WC_Payment_Token extends WC_Legacy_Payment_Token {
|
abstract class WC_Payment_Token extends WC_Legacy_Payment_Token {
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
* WooCommerce abstract privacy class.
|
* WooCommerce abstract privacy class.
|
||||||
*
|
*
|
||||||
* @since 3.4.0
|
* @since 3.4.0
|
||||||
* @package WooCommerce/Abstracts
|
* @package WooCommerce\Abstracts
|
||||||
*/
|
*/
|
||||||
|
|
||||||
defined( 'ABSPATH' ) || exit;
|
defined( 'ABSPATH' ) || exit;
|
||||||
|
@ -15,7 +15,7 @@ defined( 'ABSPATH' ) || exit;
|
||||||
* privacy data to be exported and privacy data to be deleted.
|
* privacy data to be exported and privacy data to be deleted.
|
||||||
*
|
*
|
||||||
* @version 3.4.0
|
* @version 3.4.0
|
||||||
* @package WooCommerce/Abstracts
|
* @package WooCommerce\Abstracts
|
||||||
*/
|
*/
|
||||||
abstract class WC_Abstract_Privacy {
|
abstract class WC_Abstract_Privacy {
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* WooCommerce product base class.
|
* WooCommerce product base class.
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Abstracts
|
* @package WooCommerce\Abstracts
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
|
@ -21,7 +21,7 @@ require_once WC_ABSPATH . 'includes/legacy/abstract-wc-legacy-product.php';
|
||||||
* The WooCommerce product class handles individual product data.
|
* The WooCommerce product class handles individual product data.
|
||||||
*
|
*
|
||||||
* @version 3.0.0
|
* @version 3.0.0
|
||||||
* @package WooCommerce/Abstracts
|
* @package WooCommerce\Abstracts
|
||||||
*/
|
*/
|
||||||
class WC_Product extends WC_Abstract_Legacy_Product {
|
class WC_Product extends WC_Abstract_Legacy_Product {
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @class WC_Session
|
* @class WC_Session
|
||||||
* @version 2.0.0
|
* @version 2.0.0
|
||||||
* @package WooCommerce/Abstracts
|
* @package WooCommerce\Abstracts
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* Admin Settings API used by Integrations, Shipping Methods, and Payment Gateways.
|
* Admin Settings API used by Integrations, Shipping Methods, and Payment Gateways.
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Abstracts
|
* @package WooCommerce\Abstracts
|
||||||
*/
|
*/
|
||||||
|
|
||||||
defined( 'ABSPATH' ) || exit;
|
defined( 'ABSPATH' ) || exit;
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
* Abstract shipping method
|
* Abstract shipping method
|
||||||
*
|
*
|
||||||
* @class WC_Shipping_Method
|
* @class WC_Shipping_Method
|
||||||
* @package WooCommerce/Abstracts
|
* @package WooCommerce\Abstracts
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
|
@ -17,7 +17,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||||
*
|
*
|
||||||
* @class WC_Shipping_Method
|
* @class WC_Shipping_Method
|
||||||
* @version 3.0.0
|
* @version 3.0.0
|
||||||
* @package WooCommerce/Abstracts
|
* @package WooCommerce\Abstracts
|
||||||
*/
|
*/
|
||||||
abstract class WC_Shipping_Method extends WC_Settings_API {
|
abstract class WC_Shipping_Method extends WC_Settings_API {
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
* Abstract widget class
|
* Abstract widget class
|
||||||
*
|
*
|
||||||
* @class WC_Widget
|
* @class WC_Widget
|
||||||
* @package WooCommerce/Abstracts
|
* @package WooCommerce\Abstracts
|
||||||
*/
|
*/
|
||||||
|
|
||||||
use Automattic\Jetpack\Constants;
|
use Automattic\Jetpack\Constants;
|
||||||
|
@ -15,7 +15,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||||
/**
|
/**
|
||||||
* WC_Widget
|
* WC_Widget
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Abstracts
|
* @package WooCommerce\Abstracts
|
||||||
* @version 2.5.0
|
* @version 2.5.0
|
||||||
* @extends WP_Widget
|
* @extends WP_Widget
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* Uses https://github.com/A5hleyRich/wp-background-processing to handle DB
|
* Uses https://github.com/A5hleyRich/wp-background-processing to handle DB
|
||||||
* updates in the background.
|
* updates in the background.
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Classes
|
* @package WooCommerce\Classes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
defined( 'ABSPATH' ) || exit;
|
defined( 'ABSPATH' ) || exit;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Addons Page
|
* Addons Page
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Admin
|
* @package WooCommerce\Admin
|
||||||
* @version 2.5.0
|
* @version 2.5.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Load assets
|
* Load assets
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Admin
|
* @package WooCommerce\Admin
|
||||||
* @version 3.7.0
|
* @version 3.7.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* The attributes section lets users add custom attributes to assign to products - they can also be used in the "Filter Products by Attribute" widget.
|
* The attributes section lets users add custom attributes to assign to products - they can also be used in the "Filter Products by Attribute" widget.
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Admin
|
* @package WooCommerce\Admin
|
||||||
* @version 2.3.0
|
* @version 2.3.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Setup customize items.
|
* Setup customize items.
|
||||||
*
|
*
|
||||||
* @author WooCommerce
|
* @package WooCommerce\Admin\Customize
|
||||||
* @category Admin
|
|
||||||
* @package WooCommerce/Admin/Customize
|
|
||||||
* @version 3.1.0
|
* @version 3.1.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Admin Dashboard
|
* Admin Dashboard
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Admin
|
* @package WooCommerce\Admin
|
||||||
* @version 2.1.0
|
* @version 2.1.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Duplicate product functionality
|
* Duplicate product functionality
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Admin
|
* @package WooCommerce\Admin
|
||||||
* @version 3.0.0
|
* @version 3.0.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Init WooCommerce data exporters.
|
* Init WooCommerce data exporters.
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Admin
|
* @package WooCommerce\Admin
|
||||||
* @version 3.1.0
|
* @version 3.1.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Add some content to the help tab
|
* Add some content to the help tab
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Admin
|
* @package WooCommerce\Admin
|
||||||
* @version 2.1.0
|
* @version 2.1.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Init WooCommerce data importers.
|
* Init WooCommerce data importers.
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Admin
|
* @package WooCommerce\Admin
|
||||||
*/
|
*/
|
||||||
|
|
||||||
use Automattic\Jetpack\Constants;
|
use Automattic\Jetpack\Constants;
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package WooCommerce/Admin
|
* @package WooCommerce\Admin
|
||||||
* @version 1.0.0
|
* @version 1.0.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* Sets up the write panels used by products and orders (custom post types).
|
* Sets up the write panels used by products and orders (custom post types).
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Admin/Meta Boxes
|
* @package WooCommerce\Admin\Meta Boxes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
use Automattic\Jetpack\Constants;
|
use Automattic\Jetpack\Constants;
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* @class WC_Admin_Permalink_Settings
|
* @class WC_Admin_Permalink_Settings
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package WooCommerce/Admin
|
* @package WooCommerce\Admin
|
||||||
* @version 2.3.0
|
* @version 2.3.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Adds and controls pointers for contextual help/tutorials
|
* Adds and controls pointers for contextual help/tutorials
|
||||||
*
|
*
|
||||||
* @author WooThemes
|
* @package WooCommerce\Admin\Pointers
|
||||||
* @category Admin
|
|
||||||
* @package WooCommerce/Admin
|
|
||||||
* @version 2.4.0
|
* @version 2.4.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -28,7 +26,9 @@ class WC_Admin_Pointers {
|
||||||
* Setup pointers for screen.
|
* Setup pointers for screen.
|
||||||
*/
|
*/
|
||||||
public function setup_pointers_for_screen() {
|
public function setup_pointers_for_screen() {
|
||||||
if ( ! $screen = get_current_screen() ) {
|
$screen = get_current_screen();
|
||||||
|
|
||||||
|
if ( ! $screen ) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -43,9 +43,10 @@ class WC_Admin_Pointers {
|
||||||
* Pointers for creating a product.
|
* Pointers for creating a product.
|
||||||
*/
|
*/
|
||||||
public function create_product_tutorial() {
|
public function create_product_tutorial() {
|
||||||
if ( ! isset( $_GET['tutorial'] ) || ! current_user_can( 'manage_options' ) ) {
|
if ( ! isset( $_GET['tutorial'] ) || ! current_user_can( 'manage_options' ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// These pointers will chain - they will not be shown at once.
|
// These pointers will chain - they will not be shown at once.
|
||||||
$pointers = array(
|
$pointers = array(
|
||||||
'pointers' => array(
|
'pointers' => array(
|
||||||
|
@ -218,7 +219,7 @@ class WC_Admin_Pointers {
|
||||||
/**
|
/**
|
||||||
* Enqueue pointers and add script to page.
|
* Enqueue pointers and add script to page.
|
||||||
*
|
*
|
||||||
* @param array $pointers
|
* @param array $pointers Pointers data.
|
||||||
*/
|
*/
|
||||||
public function enqueue_pointers( $pointers ) {
|
public function enqueue_pointers( $pointers ) {
|
||||||
$pointers = rawurlencode( wp_json_encode( $pointers ) );
|
$pointers = rawurlencode( wp_json_encode( $pointers ) );
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Post Types Admin
|
* Post Types Admin
|
||||||
*
|
*
|
||||||
* @package WooCommerce/admin
|
* @package WooCommerce\Admin
|
||||||
* @version 3.3.0
|
* @version 3.3.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package WooCommerce/Admin
|
* @package WooCommerce\Admin
|
||||||
* @version 2.4.0
|
* @version 2.4.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
*
|
*
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package WooCommerce/Admin/Reports
|
* @package WooCommerce\Admin\Reports
|
||||||
* @version 2.0.0
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* WooCommerce Admin Settings Class
|
* WooCommerce Admin Settings Class
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Admin
|
* @package WooCommerce\Admin
|
||||||
* @version 3.4.0
|
* @version 3.4.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* Takes new users through some basic steps to setup their store.
|
* Takes new users through some basic steps to setup their store.
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Admin
|
* @package WooCommerce\Admin
|
||||||
* @version 2.6.0
|
* @version 2.6.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Debug/Status page
|
* Debug/Status page
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Admin/System Status
|
* @package WooCommerce\Admin\System Status
|
||||||
* @version 2.2.0
|
* @version 2.2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @class WC_Admin_Taxonomies
|
* @class WC_Admin_Taxonomies
|
||||||
* @version 2.3.10
|
* @version 2.3.10
|
||||||
* @package WooCommerce/Admin
|
* @package WooCommerce\Admin
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
* WooCommerce Admin
|
* WooCommerce Admin
|
||||||
*
|
*
|
||||||
* @class WC_Admin
|
* @class WC_Admin
|
||||||
* @package WooCommerce/Admin
|
* @package WooCommerce\Admin
|
||||||
* @version 2.6.0
|
* @version 2.6.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ class WC_Admin {
|
||||||
add_filter( 'action_scheduler_post_type_args', array( $this, 'disable_webhook_post_export' ) );
|
add_filter( 'action_scheduler_post_type_args', array( $this, 'disable_webhook_post_export' ) );
|
||||||
|
|
||||||
// Add body class for WP 5.3+ compatibility.
|
// Add body class for WP 5.3+ compatibility.
|
||||||
add_filter( 'admin_body_class', array( $this, 'include_admin_body_class' ) );
|
add_filter( 'admin_body_class', array( $this, 'include_admin_body_class' ), 9999 );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -137,7 +137,7 @@ class WC_Admin {
|
||||||
}
|
}
|
||||||
|
|
||||||
// phpcs:disable WordPress.Security.NonceVerification.Recommended
|
// phpcs:disable WordPress.Security.NonceVerification.Recommended
|
||||||
// Nonced plugin install redirects (whitelisted).
|
// Nonced plugin install redirects.
|
||||||
if ( ! empty( $_GET['wc-install-plugin-redirect'] ) ) {
|
if ( ! empty( $_GET['wc-install-plugin-redirect'] ) ) {
|
||||||
$plugin_slug = wc_clean( wp_unslash( $_GET['wc-install-plugin-redirect'] ) );
|
$plugin_slug = wc_clean( wp_unslash( $_GET['wc-install-plugin-redirect'] ) );
|
||||||
|
|
||||||
|
@ -318,7 +318,7 @@ class WC_Admin {
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function include_admin_body_class( $classes ) {
|
public function include_admin_body_class( $classes ) {
|
||||||
if ( false !== strpos( $classes, 'wc-wp-version-gte-53' ) ) {
|
if ( in_array( array( 'wc-wp-version-gte-53', 'wc-wp-version-gte-55' ), explode( ' ', $classes ), true ) ) {
|
||||||
return $classes;
|
return $classes;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
* WooCommerce Admin
|
* WooCommerce Admin
|
||||||
*
|
*
|
||||||
* @class WC_Helper_API
|
* @class WC_Helper_API
|
||||||
* @package WooCommerce/Admin
|
* @package WooCommerce\Admin
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
* The update helper for WooCommerce.com plugins.
|
* The update helper for WooCommerce.com plugins.
|
||||||
*
|
*
|
||||||
* @class WC_Helper_Updater
|
* @class WC_Helper_Updater
|
||||||
* @package WooCommerce/Admin.
|
* @package WooCommerce\Admin.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
* WooCommerce Admin
|
* WooCommerce Admin
|
||||||
*
|
*
|
||||||
* @class WC_Helper
|
* @class WC_Helper
|
||||||
* @package WooCommerce/Admin
|
* @package WooCommerce\Admin
|
||||||
*/
|
*/
|
||||||
|
|
||||||
use Automattic\Jetpack\Constants;
|
use Automattic\Jetpack\Constants;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Helper admin navigation.
|
* Helper admin navigation.
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Helper
|
* @package WooCommerce\Helper
|
||||||
*/
|
*/
|
||||||
|
|
||||||
defined( 'ABSPATH' ) || exit(); ?>
|
defined( 'ABSPATH' ) || exit(); ?>
|
||||||
|
|
|
@ -16,7 +16,7 @@ if ( ! class_exists( 'WP_Importer' ) ) {
|
||||||
/**
|
/**
|
||||||
* Product importer controller - handles file upload and forms in admin.
|
* Product importer controller - handles file upload and forms in admin.
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Admin/Importers
|
* @package WooCommerce\Admin\Importers
|
||||||
* @version 3.1.0
|
* @version 3.1.0
|
||||||
*/
|
*/
|
||||||
class WC_Product_CSV_Importer_Controller {
|
class WC_Product_CSV_Importer_Controller {
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
* Tax importer class file
|
* Tax importer class file
|
||||||
*
|
*
|
||||||
* @version 2.3.0
|
* @version 2.3.0
|
||||||
* @package WooCommerce/Admin
|
* @package WooCommerce\Admin
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
|
@ -17,7 +17,7 @@ if ( ! class_exists( 'WP_Importer' ) ) {
|
||||||
/**
|
/**
|
||||||
* Tax Rates importer - import tax rates and local tax rates into WooCommerce.
|
* Tax Rates importer - import tax rates and local tax rates into WooCommerce.
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Admin/Importers
|
* @package WooCommerce\Admin\Importers
|
||||||
* @version 2.3.0
|
* @version 2.3.0
|
||||||
*/
|
*/
|
||||||
class WC_Tax_Rate_Importer extends WP_Importer {
|
class WC_Tax_Rate_Importer extends WP_Importer {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Admin View: Product import form
|
* Admin View: Product import form
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Admin
|
* @package WooCommerce\Admin
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* List tables.
|
* List tables.
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Admin
|
* @package WooCommerce\Admin
|
||||||
* @version 3.3.0
|
* @version 3.3.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* List tables: coupons.
|
* List tables: coupons.
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Admin
|
* @package WooCommerce\Admin
|
||||||
* @version 3.3.0
|
* @version 3.3.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* List tables: orders.
|
* List tables: orders.
|
||||||
*
|
*
|
||||||
* @package WooCommerce\admin
|
* @package WooCommerce\Admin
|
||||||
* @version 3.3.0
|
* @version 3.3.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* List tables: products.
|
* List tables: products.
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Admin
|
* @package WooCommerce\Admin
|
||||||
* @version 3.3.0
|
* @version 3.3.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Marketplace suggestions container
|
* Marketplace suggestions container
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Templates
|
* @package WooCommerce\Templates
|
||||||
* @version 3.6.0
|
* @version 3.6.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
*
|
*
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package WooCommerce/Admin/Meta Boxes
|
* @package WooCommerce\Admin\Meta Boxes
|
||||||
* @version 2.1.0
|
* @version 2.1.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -267,7 +267,7 @@ class WC_Meta_Box_Coupon_Data {
|
||||||
'id' => 'customer_email',
|
'id' => 'customer_email',
|
||||||
'label' => __( 'Allowed emails', 'woocommerce' ),
|
'label' => __( 'Allowed emails', 'woocommerce' ),
|
||||||
'placeholder' => __( 'No restrictions', 'woocommerce' ),
|
'placeholder' => __( 'No restrictions', 'woocommerce' ),
|
||||||
'description' => __( 'Whitelist of billing emails to check against when an order is placed. Separate email addresses with commas. You can also use an asterisk (*) to match parts of an email. For example "*@gmail.com" would match all gmail addresses.', 'woocommerce' ),
|
'description' => __( 'List of allowed billing emails to check against when an order is placed. Separate email addresses with commas. You can also use an asterisk (*) to match parts of an email. For example "*@gmail.com" would match all gmail addresses.', 'woocommerce' ),
|
||||||
'value' => implode( ', ', (array) $coupon->get_email_restrictions( 'edit' ) ),
|
'value' => implode( ', ', (array) $coupon->get_email_restrictions( 'edit' ) ),
|
||||||
'desc_tip' => true,
|
'desc_tip' => true,
|
||||||
'type' => 'email',
|
'type' => 'email',
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
*
|
*
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package WooCommerce/Admin/Meta Boxes
|
* @package WooCommerce\Admin\Meta Boxes
|
||||||
* @version 2.1.0
|
* @version 2.1.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
*
|
*
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package WooCommerce/Admin/Meta Boxes
|
* @package WooCommerce\Admin\Meta Boxes
|
||||||
* @version 2.2.0
|
* @version 2.2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package WooCommerce/Admin/Meta Boxes
|
* @package WooCommerce\Admin\Meta Boxes
|
||||||
* @version 2.1.0
|
* @version 2.1.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
*
|
*
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package WooCommerce/Admin/Meta Boxes
|
* @package WooCommerce\Admin\Meta Boxes
|
||||||
* @version 2.1.0
|
* @version 2.1.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Order Notes
|
* Order Notes
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Admin/Meta Boxes
|
* @package WooCommerce\Admin\Meta Boxes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* Displays the product data box, tabbed, with several panels covering price, stock etc.
|
* Displays the product data box, tabbed, with several panels covering price, stock etc.
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Admin/Meta Boxes
|
* @package WooCommerce\Admin\Meta Boxes
|
||||||
* @version 3.0.0
|
* @version 3.0.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
*
|
*
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package WooCommerce/Admin/Meta Boxes
|
* @package WooCommerce\Admin\Meta Boxes
|
||||||
* @version 2.1.0
|
* @version 2.1.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* Functions for displaying product reviews data meta box.
|
* Functions for displaying product reviews data meta box.
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Admin/Meta Boxes
|
* @package WooCommerce\Admin\Meta Boxes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
defined( 'ABSPATH' ) || exit;
|
defined( 'ABSPATH' ) || exit;
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* Replaces the standard excerpt box.
|
* Replaces the standard excerpt box.
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Admin/Meta Boxes
|
* @package WooCommerce\Admin\Meta Boxes
|
||||||
* @version 2.1.0
|
* @version 2.1.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Shows an order item
|
* Shows an order item
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Admin
|
* @package WooCommerce\Admin
|
||||||
* @var object $item The item being displayed
|
* @var object $item The item being displayed
|
||||||
* @var int $item_id The id of the item being displayed
|
* @var int $item_id The id of the item being displayed
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Order items HTML for meta box.
|
* Order items HTML for meta box.
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Admin
|
* @package WooCommerce\Admin
|
||||||
*/
|
*/
|
||||||
|
|
||||||
defined( 'ABSPATH' ) || exit;
|
defined( 'ABSPATH' ) || exit;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Order notes HTML for meta box.
|
* Order notes HTML for meta box.
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Admin
|
* @package WooCommerce\Admin
|
||||||
*/
|
*/
|
||||||
|
|
||||||
defined( 'ABSPATH' ) || exit;
|
defined( 'ABSPATH' ) || exit;
|
||||||
|
@ -41,7 +41,7 @@ defined( 'ABSPATH' ) || exit;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
?>
|
?>
|
||||||
<li><?php esc_html_e( 'There are no notes yet.', 'woocommerce' ); ?></li>
|
<li class="no-items"><?php esc_html_e( 'There are no notes yet.', 'woocommerce' ); ?></li>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
/**
|
/**
|
||||||
* Shows a shipping line
|
* Shows a shipping line
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Admin
|
* @package WooCommerce\Admin
|
||||||
*
|
*
|
||||||
* @var object $item The item being displayed
|
* @var object $item The item being displayed
|
||||||
* @var int $item_id The id of the item being displayed
|
* @var int $item_id The id of the item being displayed
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Admin/Views
|
* @package WooCommerce\Admin\Views
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Product general data panel.
|
* Product general data panel.
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Admin
|
* @package WooCommerce\Admin
|
||||||
*/
|
*/
|
||||||
|
|
||||||
defined( 'ABSPATH' ) || exit;
|
defined( 'ABSPATH' ) || exit;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Linked product options.
|
* Linked product options.
|
||||||
*
|
*
|
||||||
* @package WooCommerce/admin
|
* @package WooCommerce\Admin
|
||||||
*/
|
*/
|
||||||
|
|
||||||
defined( 'ABSPATH' ) || exit;
|
defined( 'ABSPATH' ) || exit;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Product data meta box.
|
* Product data meta box.
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Admin
|
* @package WooCommerce\Admin
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Class for displaying plugin warning notifications and determining 3rd party plugin compatibility.
|
* Class for displaying plugin warning notifications and determining 3rd party plugin compatibility.
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Admin
|
* @package WooCommerce\Admin
|
||||||
* @version 3.2.0
|
* @version 3.2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Manages WooCommerce plugin updating on the Plugins screen.
|
* Manages WooCommerce plugin updating on the Plugins screen.
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Admin
|
* @package WooCommerce\Admin
|
||||||
* @version 3.2.0
|
* @version 3.2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Manages WooCommerce plugin updating on the Updates screen.
|
* Manages WooCommerce plugin updating on the Updates screen.
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Admin
|
* @package WooCommerce\Admin
|
||||||
* @version 3.2.0
|
* @version 3.2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||||
*
|
*
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package WooCommerce/Admin/Reports
|
* @package WooCommerce\Admin\Reports
|
||||||
* @version 2.1.0
|
* @version 2.1.0
|
||||||
*/
|
*/
|
||||||
class WC_Admin_Report {
|
class WC_Admin_Report {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Coupon usage report functionality
|
* Coupon usage report functionality
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Admin/Reports
|
* @package WooCommerce\Admin\Reports
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
|
@ -14,7 +14,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||||
*
|
*
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package WooCommerce/Admin/Reports
|
* @package WooCommerce\Admin\Reports
|
||||||
* @version 2.1.0
|
* @version 2.1.0
|
||||||
*/
|
*/
|
||||||
class WC_Report_Coupon_Usage extends WC_Admin_Report {
|
class WC_Report_Coupon_Usage extends WC_Admin_Report {
|
||||||
|
|
|
@ -16,7 +16,7 @@ if ( ! class_exists( 'WP_List_Table' ) ) {
|
||||||
/**
|
/**
|
||||||
* WC_Report_Customer_List.
|
* WC_Report_Customer_List.
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Admin/Reports
|
* @package WooCommerce\Admin\Reports
|
||||||
* @version 2.1.0
|
* @version 2.1.0
|
||||||
*/
|
*/
|
||||||
class WC_Report_Customer_List extends WP_List_Table {
|
class WC_Report_Customer_List extends WP_List_Table {
|
||||||
|
|
|
@ -12,7 +12,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||||
/**
|
/**
|
||||||
* WC_Report_Customers
|
* WC_Report_Customers
|
||||||
*
|
*
|
||||||
* @package WooCommerce/Admin/Reports
|
* @package WooCommerce\Admin\Reports
|
||||||
* @version 2.1.0
|
* @version 2.1.0
|
||||||
*/
|
*/
|
||||||
class WC_Report_Customers extends WC_Admin_Report {
|
class WC_Report_Customers extends WC_Admin_Report {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package WooCommerce/Admin/Reports
|
* @package WooCommerce\Admin\Reports
|
||||||
* @version 3.3.0
|
* @version 3.3.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|