WooCommerce - Version 3.4.0

Version Description

  • 2018-05-23 =
  • Feature - GDPR: Tools to export WooCommerce data using the new export functionality in WordPress 4.9.6. #19330
  • Feature - GDPR: Tools to bulk anonymize order data in admin. #19330
  • Feature - GDPR: Tools to turn off company/address-2/phone checkout fields to avoid unnecessary data collection, and a toggle to choose how required fields are presented. This is available via the Customizer. #19637
  • Feature - GDPR: Tools in the Customizer to change the terms and conditions checkbox label on the checkout. #19637
  • Feature - GDPR: Tools to define a privacy policy for the account page and checkout page in "account privacy" settings and within the Customizer. #19747
  • Feature - GDPR: Tools to automatically clean up and remove order personal data after a set time period. #19743
  • Feature - GDPR: Added privacy snippet which works with the new privacy page functionality in WordPress 4.9.6. #19749
  • Feature - Added a new order widget to the dashboard (on multisite) so you can see your orders across multiple stores on the same WordPress network. #17598
  • Feature - Added "display name" input on the My Account page. #19078
  • Feature - Product search improvements including stopword support and support for searching for multiple products at the same time. #19096
  • Feature - Cash on Delivery gateway can be enabled/disabled for specific shipping methods instead of only method types. #19221
  • Feature - Add wildcard email support for coupons. #19331
  • Feature - Added support for the GeoLite2 library as a replacement for the deprecated MaxMind GeoIP library. #19419
  • Feature - Added tool for cleaning up download permissions table. #19922
  • Tweak - GDPR: Improved appearance of checkout field 'descriptions' (if used) to make them more useful for privacy notices. #19637
  • Tweak - GDPR: Improved related data cleanup when deleting users/orders. #19330
  • Tweak - GDPR: Notice about HTTPS as a requirement in admin if missing. #19756
  • Tweak - GDPR: Improved the checkout (payments) settings screen, moved page options to a new "advanced" section, and made an "Accounts and Privacy" section. #19703
  • Tweak - GDPR: Hash customer email address in download URLs to protect privacy. #18957
  • Tweak - GDPR: Add highlight to T&C checkbox if not checked to show it needs to be checked. #19177
  • Tweak - GDPR: Automatically purge old logs after 30 days. #19920
  • Tweak - GDPR: Only log Webhook body if WP_DEBUG is enabled. #19914
  • Tweak - GDPR: Store less PII in PayPal standard. #19914
  • Tweak - Only show admin notices on WooCommerce screens/plugins/dashboard. #19772
  • Tweak - Standardize stock update messages in admin and correctly log who performed the action. When an order note is added after modifying stock manually, update order notes display via AJAX. #18080
  • Tweak - Rollback if payment complete or update status fails to prevent partial order updates on failure. #18175
  • Tweak - Made the system status tool which purges user carts also purge persistent carts. #18492
  • Tweak - Display whether or not external object cache is enabled in system status report. #18595
  • Tweak - Display zero value when using shipping classes. #18624
  • Tweak - Fixed settings table styling on mobile. #18655
  • Tweak - Updated Flexslider to version 2.7.0. #18779
  • Tweak - Enable screen options for list screens. #18817
  • Tweak - Don't call WC_Install::install() on downgrades. #18818
  • Tweak - Remove user login from reset password link to protect personally identifying info. #18820
  • Tweak - Added a function to return a list of custom tables to aid with cleanup. #18831
  • Tweak - Enable going backwards in the setup wizard. #18921
  • Tweak - Make sure terms page exists and isnt trashed before using it. #18993
  • Tweak - Toggle when clicking anywhere in toggle row during setup wizard. #19035
  • Tweak - Use read_product permissions instead of edit_product for ajax product search. #19087
  • Tweak - Add priceSpecification property with valueAddedTaxIncluded to product structured data. #19091
  • Tweak - Importer remembers mappings across imports. #19110
  • Tweak - Made coupon total displayed in cart more consistent. #19166
  • Tweak - Remove forced CSS line-heights to improve text input displays across different browsers. #19174
  • Tweak - When loading default attributes/variation, if there is no longer a match, reset the form and hide the notice #19190
  • Tweak - Removed admin product type column from core and made it into a free feature plugin. #19192
  • Tweak - Use woocommerce-no-js class to hide JavaScript-only forms and content. #19199
  • Tweak - Activate plugins during installation process even if directory doesn't match slug. #19200
  • Tweak - Allow category and attribute ids in the products shortcode instead of only slugs. #19204
  • Tweak - Invalidate cart items when important props like product type are updated. #19255
  • Tweak - Don't use mysql functions directly on system status page to prevent errors if they are disabled. #19281
  • Tweak - Replaces have_posts with woocommerce_product_loop which looks to see if there are products, or if the loop is going to be showing something else. #19288
  • Tweak - Delete widget options and order notes on uninstall. #19371
  • Tweak - Add unique names to all nonces in template fields and forms. #19387
  • Tweak - Enable using the tab key to select elements in selectWoo dropdowns. #19416
  • Tweak - Added autocomplete attributes to form elements for better autocomplete support. #19426
  • Tweak - Removed PayPal line item limit and ensured URLs are shorter than maximum length. #19493
  • Tweak - Disable Gutenberg editor on products posts. #19543
  • Tweak - Improvements around UI and wording of store setup step in setup wizard, a revamped extras step, and other improvements.
  • Tweak - Only push images to lightbox if an image is found. #19568
  • Tweak - Added and improved notices around old PHP versions and disabled geolocation on PHP 5.4 or lower. #19573
  • Tweak - The manage_stock field in the product API can return a mixed type instead of boolean for variations. #19598
  • Tweak - Link product import/export to WordPress import/export capabilities. #19602
  • Tweak - Use   to separate asterisks in required fields to prevent awkward line breaks. #19610
  • Tweak - Load meta box input values using CRUD and edit context. #19670
  • Tweak - Scroll to notices on cart/checkout for better mobile visibility. #19699
  • Tweak - Add filter to coupon URL on "Edit order" screen. #19777
  • Tweak - Throw error if order can't be loaded on checkout. #19802
  • Tweak - Remove deprecated freegeoip service from geolocation. #19841
  • Tweak - Allow arrays of query vars in wc_get_orders and wc_get_products. #19848
  • Tweak - Invalidate fragment cache on theme switch.
  • Tweak - Include select tags when saving payment details temporarily in checkout.js. #19854
  • Tweak - Update - Include pending products in export. #19928
  • Tweak - Deprecate woocommerce_ajax_added_order_items action in favor of more useful action. #19933
  • Tweak - Enable touch-to-zoom on touch devices to make photoswipe more easily accessible. #20002
  • Tweak - Wizard: List out all plugins to be installed upon proceeding to the next step, with a highlight on hover indicating relevant settings. #19952
  • Tweak - Hide/show password strength meter instead of removing/inserting password strength meter. #20006
  • Tweak - Added support for HTTP_RANGE requests (used by iOS devices) to Force download method. #19984
  • Tweak - Replaced protocol-relative URLs for thumbnails in the cart and mini-cart with protocol-specific URLs to prevent problems with URLs that include port section. #19934
  • Tweak - In CSV exports, wrap cell in ' rather than just prepending to escape values. #20041
  • Tweak - Add JS listeners for reloading/reinitializing order items in edit-order page. #20082
  • Fix - Properly set orderby and order when calling WC_Customer_Download_Data_Store::get_downloads(). #1862
  • Fix - Set maxlength for order item meta key to avoid values disappearing if too long. #18918
  • Fix - Remove hardcoded /wp-content check for downloads. #18961
  • Fix - Made get_on_sale_products respect the setting to hide outofstock products. #18984
  • Fix - Prevent shortcode [product_page] redirecting to the actual product's page after add to cart. #19043
  • Fix - Make the "main term" logic match for both the breadcrumb and product categories widget. #19044
  • Fix - Check parent status too when seeing if variation is purchasable. #19045
  • Fix - Fix uppercasing of accented characters. #19086
  • Fix - Do not allow updating parent ID from variations after created. #19097
  • Fix - Ensure coupon amount is not empty to prevent non-numeric value errors. #19098
  • Fix - Ensure shop archive works correctly when paged=1 is in the URL. #19104
  • Fix - Ensure orders created with woocommerce_adjust_non_base_location_prices filter active have the same cost on frontend and admin. #19109
  • Fix - Handling in the CLI to prevent Resource does not exist errors when using commands of a certain format. #19123
  • Fix - Use subtotal when calculating discounts in admin/orders to ensure prices are the same as on the frontend. #19159
  • Fix - Use kses to process download names to prevent escaped HTML displaying in emails.
  • Fix - Remove translation from Thailand state file to prevent PayPal errors around unsupported characters. #19219
  • Fix - Fix auto-select variation URLs with special characters in them. #19283
  • Fix - Introduced wc_round_discount and improved consistency of discount rounding. #19291
  • Fix - Only add schema for ratings to structured data when ratings are enabled. #19310
  • Fix - Prevent default state applying unless the country was also unset in JS state/country inputs. #19338
  • Fix - Escape quantity labels correctly to prevent broken html. #19375
  • Fix - Delete orphaned variations after product import. #19378
  • Fix - Ensure API credentials exist before defining PayPal refund support. #19380
  • Fix - Force word-wrapping in the log viewer to prevent layout-breaking long lines. #19503
  • Fix - Removes permission checks that were preventing webhooks from displaying properly when no post object existed. #19508
  • Fix - Empty cart after completing PayPal payment. #19509
  • Fix - Strip tags on aria-labels in Add to Cart template to prevent broken HTML. #19522
  • Fix - Update post_modified date when saving products and variations but no other product data. #19595
  • Fix - Clear comment count transient when cleaning product transients to prevent incorrect comment count displays. #19664
  • Fix - Load gateways before order is saved/email is triggered to ensure all information gets sent/processed. #19667
  • Fix - Clear shipping transient when saving shipping method on zones screen. #19668
  • Fix - Handle escape characters for fputcsv to work around PHP standards issues. #19678
  • Fix - Cast post IDs to integers in admin meta boxes. #19710
  • Fix - Fix CSV unescaping of negative numbers in download expiry/limit columns. #19732
  • Fix - Don't load unsupported theme functionality if shop page ID is -1. #19822
  • Fix - Select and display "Downloadable" option in product admin filter when selected. #19876
  • Fix - Add sort handle column when adding new tags. #19875
  • Fix - More thorough CSV importer cleanup. #19877
  • Fix - Fix gallery switching when image is the same #19878
  • Fix - Ensure coupon amount is always returns as a float value #19889
  • Fix - No update available message after activating subscription that has a valid update. #19831
  • Fix - Include scheduled products in CSV export. #19907
  • Fix - Generator tag actions should be filters. #19946
  • Fix - WC API should not try to create a product image when creating a product variation if an empty image is passed. #19971
  • Fix - Force settings API settings to autoload by default. #19998
  • Fix - Cart html5 validation events when using keyboard. #20001
  • Fix - Don't show stock status fields in external product quick-edit. #20005
  • Fix - Prevent an infinite loop if 2 grouped products are linked. #20020
  • Fix - Switch stock_status when manage stock gets changed to prevent being out of stock if stock quantity is > 0. #20021
  • Fix - When duplicating variation, set the date to null. #20083
  • Fix - Fix rounding of line items for orders to match cart. #20086
  • Fix - Remove hardcoded border in email template. #20090
  • Fix - Prevent autofocus on checkout. #20123
  • Fix - Recalc taxes if address changes in API. #20137
  • Dev - Made wc_query_string_form_fields handle strings. #20162
  • Dev - Added refunded_payment prop to orders for determining if payment was refunded via API. #18196
  • Dev - Added extra params to woocommerce_order_get_downloadable_items. #18408
  • Dev - Store shipping method ID and instance ID in separate fields instead of both in one serialized field. #18483
  • Dev - Add woocommerce_rest_insert_system_status_tool hook that fires after executing a REST system status tool. #18505
  • Dev - Gallery meta box is now powered by CRUD. #18511
  • Dev - Refactor woocommerce_wp_select so it could be used for a multiselect. #18536
  • Dev - Added ability to declare sanitize_callback in settings API. #18554
  • Dev - Added support for additional HTML5 input types for settings/checkout forms. #18594
  • Dev - Made 'woocommerce_email_downloads_column_' hook format aware. #18600
  • Dev - Add missing woocommerce_update_options__ actions for settings pages that override save method. #18609
  • Dev - Allow default value for single_select_country and multi_select_countries. #18754 #18756
  • Dev - Added grouped_form class to grouped product form element. #18786
  • Dev - Mini cart item link now respects value of $product_permalink. #18979
  • Dev - Added woocommerce_coupon_get_items_to_validate filter to enable excluding products from coupon validation. #19002
  • Dev - Added woocommerce_persistent_cart_enabled filter. #19027
  • Dev - Added woocommerce_admin_order_item_coupon_url filter. #19777
  • Dev - Replaced calls to exit with wp_die in the ajax methods to enable unit testing of those methods.
  • Dev - Introduce woocommerce_coupon_custom_discounts_array filter to allow post processing on custom coupons. #19148
  • Dev - Move jQuery UI styles into WooCommerce assets folder and load them from there. #19173
  • Dev - Added woocommerce_coupon_validate_expiry_date filter to enable modifying the coupon expiry date check. #19228
  • Dev - Added woocommerce_shipping_calculator_enable_state filter to enable disabling state section in shipping calculator. #19241
  • Dev - Added woocommerce_bacs_process_payment_order_status filter allowing plugins to change the order status to the BACS gateway. #19311
  • Dev - Added woocommerce_coupon_sort filter to allow plugins to override the default coupon apply order. #19339
  • Dev - Added woocommerce_before_output_product_categories and woocommerce_after_output_product_categories filters. #19363
  • Dev - Added general woocommerce_form_field filter to make it easier to filter all of the form fields. #19388
  • Dev - Added woocommerce_install_get_tables filter to enable plugins to register new, WooCommerce-specific tables. $19436
  • Dev - Use get_variation_price method in structured data to grab min/max so filters are ran. #19527
  • Dev - Added woocommerce_helper_suppress_connect_notice filter to enable suppressing the admin WordPress.com connection message. #19599
  • Dev - Moved all photoswipe styles to photoswipe.css to make it easy to dequeue all the photoswipe styles. #19673
  • Dev - Slash meta values before updating values in the data stores. #19675
  • Dev - New wc_selected method to handle array key conversion to int. #19705
  • Performance - Optimized saving of orders. Adds a transient for needs_processing, and only saves changes when saving order items. #18538
  • Performance - Refactored the SQL query for WC_Customer_Download_Data_Store::get_downloads() to fetch available downloads faster. #18559
  • Performance - Split the layered nav counts into multiple transient records by taxonomy and added a filter to allow bypassing caching. #19225
  • Performance - Removed duplicate SET SESSION SQL_BIG_SELECTS=1 queries. #19502
  • Performance - Avoid storing coupon _used_by data to prevent database bloat. #19669
  • Performance - Introduced new wc_get_product_class() and wc_product_class() functions. #19639
  • Performance - Series of tweaks aimed at reducing the number of queries performed #19918
  • Template - Update cart coupon button from input to button type. #19059
  • Template - Added woocommerce-form-register class to registration form. #19486
  • Template - Added escaping to publish date. #19530
  • Template - Added a template file for recent product reviews. #19711
  • Template - Made add to cart templates more consistent between product types. #19666
  • Localization - Switched Georgian Lari symbol to new UTF symbol. #19603
  • Localization - Use ISO county codes for Irish states. #19658
  • Localization - Use ISO county codes for BD states. #19744
  • Localization - LR-Liberia states. #19709
  • Localization - Update ZA tax rate. #19909
  • Localization - Various spelling, grammar fixes, and phrasing improvements.
  • Localization - Fix missing Bahrain country code. #20061

See changelog for all versions.

=

Download this release

Release Info

Developer peterfabian1000
Plugin Icon 128x128 WooCommerce
Version 3.4.0
Comparing to
See all releases

Code changes from version 3.4.0-rc.2 to 3.4.0

assets/css/photoswipe/default-skin/default-skin.css CHANGED
File without changes
assets/css/photoswipe/default-skin/default-skin.png CHANGED
File without changes
assets/css/photoswipe/default-skin/default-skin.svg CHANGED
File without changes
assets/css/photoswipe/default-skin/preloader.gif CHANGED
File without changes
assets/css/photoswipe/photoswipe.css CHANGED
File without changes
assets/images/icons/credit-cards/amex.svg CHANGED
File without changes
assets/images/icons/credit-cards/diners.svg CHANGED
File without changes
assets/images/icons/credit-cards/discover.svg CHANGED
File without changes
assets/images/icons/credit-cards/jcb.svg CHANGED
File without changes
assets/images/icons/credit-cards/maestro.svg CHANGED
File without changes
assets/images/icons/credit-cards/mastercard.svg CHANGED
File without changes
assets/images/icons/credit-cards/visa.svg CHANGED
File without changes
assets/js/flexslider/jquery.flexslider.js CHANGED
File without changes
assets/js/flexslider/jquery.flexslider.min.js CHANGED
File without changes
assets/js/frontend/checkout.js CHANGED
@@ -77,8 +77,11 @@ jQuery( function( $ ) {
77
  $payment_methods.eq(0).prop( 'checked', true );
78
  }
79
 
80
- // Hide open descriptions.
81
- $( 'div.payment_box' ).filter( ':visible' ).slideUp( 0 );
 
 
 
82
 
83
  // Trigger click event for selected method
84
  $payment_methods.filter( ':checked' ).eq(0).trigger( 'click' );
77
  $payment_methods.eq(0).prop( 'checked', true );
78
  }
79
 
80
+ if ( $payment_methods.length > 1 ) {
81
+
82
+ // Hide open descriptions.
83
+ $( 'div.payment_box' ).filter( ':visible' ).slideUp( 0 );
84
+ }
85
 
86
  // Trigger click event for selected method
87
  $payment_methods.filter( ':checked' ).eq(0).trigger( 'click' );
assets/js/frontend/checkout.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(function(e){if("undefined"==typeof wc_checkout_params)return!1;e.blockUI.defaults.overlayCSS.cursor="default";var t={updateTimer:!1,dirtyInput:!1,selectedPaymentMethod:!1,xhr:!1,$order_review:e("#order_review"),$checkout_form:e("form.checkout"),init:function(){e(document.body).bind("update_checkout",this.update_checkout),e(document.body).bind("init_checkout",this.init_checkout),this.$checkout_form.on("click",'input[name="payment_method"]',this.payment_method_selected),e(document.body).hasClass("woocommerce-order-pay")&&this.$order_review.on("click",'input[name="payment_method"]',this.payment_method_selected),this.$checkout_form.attr("novalidate","novalidate"),this.$checkout_form.on("submit",this.submit),this.$checkout_form.on("input validate change",".input-text, select, input:checkbox",this.validate_field),this.$checkout_form.on("update",this.trigger_update_checkout),this.$checkout_form.on("change",'select.shipping_method, input[name^="shipping_method"], #ship-to-different-address input, .update_totals_on_change select, .update_totals_on_change input[type="radio"], .update_totals_on_change input[type="checkbox"]',this.trigger_update_checkout),this.$checkout_form.on("change",".address-field select",this.input_changed),this.$checkout_form.on("change",".address-field input.input-text, .update_totals_on_change input.input-text",this.maybe_input_changed),this.$checkout_form.on("keydown",".address-field input.input-text, .update_totals_on_change input.input-text",this.queue_update_checkout),this.$checkout_form.on("change","#ship-to-different-address input",this.ship_to_different_address),this.$checkout_form.find("#ship-to-different-address input").change(),this.init_payment_methods(),"1"===wc_checkout_params.is_checkout&&e(document.body).trigger("init_checkout"),"yes"===wc_checkout_params.option_guest_checkout&&e("input#createaccount").change(this.toggle_create_account).change()},init_payment_methods:function(){var o=e(".woocommerce-checkout").find('input[name="payment_method"]');1===o.length&&o.eq(0).hide(),t.selectedPaymentMethod&&e("#"+t.selectedPaymentMethod).prop("checked",!0),0===o.filter(":checked").length&&o.eq(0).prop("checked",!0),e("div.payment_box").filter(":visible").slideUp(0),o.filter(":checked").eq(0).trigger("click")},get_payment_method:function(){return t.$checkout_form.find('input[name="payment_method"]:checked').val()},payment_method_selected:function(){if(e(".payment_methods input.input-radio").length>1){var o=e("div.payment_box."+e(this).attr("ID")),c=e(this).is(":checked");c&&!o.is(":visible")&&(e("div.payment_box").filter(":visible").slideUp(230),c&&o.slideDown(230))}else e("div.payment_box").show();e(this).data("order_button_text")?e("#place_order").text(e(this).data("order_button_text")):e("#place_order").text(e("#place_order").data("value"));var i=e('.woocommerce-checkout input[name="payment_method"]:checked').attr("id");i!==t.selectedPaymentMethod&&e(document.body).trigger("payment_method_selected"),t.selectedPaymentMethod=i},toggle_create_account:function(){e("div.create-account").hide(),e(this).is(":checked")&&(e("#account_password").val("").change(),e("div.create-account").slideDown())},init_checkout:function(){e("#billing_country, #shipping_country, .country_to_state").change(),e(document.body).trigger("update_checkout")},maybe_input_changed:function(e){t.dirtyInput&&t.input_changed(e)},input_changed:function(e){t.dirtyInput=e.target,t.maybe_update_checkout()},queue_update_checkout:function(e){if(9===(e.keyCode||e.which||0))return!0;t.dirtyInput=this,t.reset_update_checkout_timer(),t.updateTimer=setTimeout(t.maybe_update_checkout,"1000")},trigger_update_checkout:function(){t.reset_update_checkout_timer(),t.dirtyInput=!1,e(document.body).trigger("update_checkout")},maybe_update_checkout:function(){var o=!0;if(e(t.dirtyInput).length){var c=e(t.dirtyInput).closest("div").find(".address-field.validate-required");c.length&&c.each(function(){""===e(this).find("input.input-text").val()&&(o=!1)})}o&&t.trigger_update_checkout()},ship_to_different_address:function(){e("div.shipping_address").hide(),e(this).is(":checked")&&e("div.shipping_address").slideDown()},reset_update_checkout_timer:function(){clearTimeout(t.updateTimer)},is_valid_json:function(t){try{var o=e.parseJSON(t);return o&&"object"==typeof o}catch(c){return!1}},validate_field:function(t){var o=e(this),c=o.closest(".form-row"),i=!0,r=c.is(".validate-required"),n=c.is(".validate-email"),a=t.type;"input"===a&&c.removeClass("woocommerce-invalid woocommerce-invalid-required-field woocommerce-invalid-email woocommerce-validated"),"validate"!==a&&"change"!==a||(r&&("checkbox"!==o.attr("type")||o.is(":checked")?""===o.val()&&(c.removeClass("woocommerce-validated").addClass("woocommerce-invalid woocommerce-invalid-required-field"),i=!1):(c.removeClass("woocommerce-validated").addClass("woocommerce-invalid woocommerce-invalid-required-field"),i=!1)),n&&o.val()&&(new RegExp(/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i).test(o.val())||(c.removeClass("woocommerce-validated").addClass("woocommerce-invalid woocommerce-invalid-email"),i=!1)),i&&c.removeClass("woocommerce-invalid woocommerce-invalid-required-field woocommerce-invalid-email").addClass("woocommerce-validated"))},update_checkout:function(e,o){t.reset_update_checkout_timer(),t.updateTimer=setTimeout(t.update_checkout_action,"5",o)},update_checkout_action:function(o){if(t.xhr&&t.xhr.abort(),0!==e("form.checkout").length){o=void 0!==o?o:{update_shipping_method:!0};var c=e("#billing_country").val(),i=e("#billing_state").val(),r=e("input#billing_postcode").val(),n=e("#billing_city").val(),a=e("input#billing_address_1").val(),u=e("input#billing_address_2").val(),d=c,s=i,m=r,p=n,l=a,h=u,_=e(t.$checkout_form).find(".address-field.validate-required:visible"),f=!0;_.length&&_.each(function(){""===e(this).find(":input").val()&&(f=!1)}),e("#ship-to-different-address").find("input").is(":checked")&&(d=e("#shipping_country").val(),s=e("#shipping_state").val(),m=e("input#shipping_postcode").val(),p=e("#shipping_city").val(),l=e("input#shipping_address_1").val(),h=e("input#shipping_address_2").val());var g={security:wc_checkout_params.update_order_review_nonce,payment_method:t.get_payment_method(),country:c,state:i,postcode:r,city:n,address:a,address_2:u,s_country:d,s_state:s,s_postcode:m,s_city:p,s_address:l,s_address_2:h,has_full_address:f,post_data:e("form.checkout").serialize()};if(!1!==o.update_shipping_method){var v={};e('select.shipping_method, input[name^="shipping_method"][type="radio"]:checked, input[name^="shipping_method"][type="hidden"]').each(function(){v[e(this).data("index")]=e(this).val()}),g.shipping_method=v}e(".woocommerce-checkout-payment, .woocommerce-checkout-review-order-table").block({message:null,overlayCSS:{background:"#fff",opacity:.6}}),t.xhr=e.ajax({type:"POST",url:wc_checkout_params.wc_ajax_url.toString().replace("%%endpoint%%","update_order_review"),data:g,success:function(o){if(!0!==o.reload){e(".woocommerce-NoticeGroup-updateOrderReview").remove();var c=e("#terms").prop("checked"),i={};if(e(".payment_box :input").each(function(){var t=e(this).attr("id");t&&(-1!==e.inArray(e(this).attr("type"),["checkbox","radio"])?i[t]=e(this).prop("checked"):i[t]=e(this).val())}),o&&o.fragments&&e.each(o.fragments,function(t,o){e(t).replaceWith(o),e(t).unblock()}),c&&e("#terms").prop("checked",!0),e.isEmptyObject(i)||e(".payment_box :input").each(function(){var t=e(this).attr("id");t&&(-1!==e.inArray(e(this).attr("type"),["checkbox","radio"])?e(this).prop("checked",i[t]).change():0===e(this).val().length&&e(this).val(i[t]).change())}),"failure"===o.result){var r=e("form.checkout");e(".woocommerce-error, .woocommerce-message").remove(),o.messages?r.prepend('<div class="woocommerce-NoticeGroup woocommerce-NoticeGroup-updateOrderReview">'+o.messages+"</div>"):r.prepend(o),r.find(".input-text, select, input:checkbox").trigger("validate").blur(),t.scroll_to_notices()}t.init_payment_methods(),e(document.body).trigger("updated_checkout",[o])}else window.location.reload()}})}},submit:function(){t.reset_update_checkout_timer();var o=e(this);return!o.is(".processing")&&(!1!==o.triggerHandler("checkout_place_order")&&!1!==o.triggerHandler("checkout_place_order_"+t.get_payment_method())&&(o.addClass("processing"),1!==o.data()["blockUI.isBlocked"]&&o.block({message:null,overlayCSS:{background:"#fff",opacity:.6}}),e.ajaxSetup({dataFilter:function(e,o){if("json"!==o)return e;if(t.is_valid_json(e))return e;var c=e.match(/{"result.*}/);return null===c?console.log("Unable to fix malformed JSON"):t.is_valid_json(c[0])?(console.log("Fixed malformed JSON. Original:"),console.log(e),e=c[0]):console.log("Unable to fix malformed JSON"),e}}),e.ajax({type:"POST",url:wc_checkout_params.checkout_url,data:o.serialize(),dataType:"json",success:function(o){try{if("success"!==o.result)throw"failure"===o.result?"Result failure":"Invalid response";-1===o.redirect.indexOf("https://")||-1===o.redirect.indexOf("http://")?window.location=o.redirect:window.location=decodeURI(o.redirect)}catch(c){if(!0===o.reload)return void window.location.reload();!0===o.refresh&&e(document.body).trigger("update_checkout"),o.messages?t.submit_error(o.messages):t.submit_error('<div class="woocommerce-error">'+wc_checkout_params.i18n_checkout_error+"</div>")}},error:function(e,o,c){t.submit_error('<div class="woocommerce-error">'+c+"</div>")}})),!1)},submit_error:function(o){e(".woocommerce-NoticeGroup-checkout, .woocommerce-error, .woocommerce-message").remove(),t.$checkout_form.prepend('<div class="woocommerce-NoticeGroup woocommerce-NoticeGroup-checkout">'+o+"</div>"),t.$checkout_form.removeClass("processing").unblock(),t.$checkout_form.find(".input-text, select, input:checkbox").trigger("validate").blur(),t.scroll_to_notices(),e(document.body).trigger("checkout_error")},scroll_to_notices:function(){var t=e(".woocommerce-NoticeGroup-updateOrderReview, .woocommerce-NoticeGroup-checkout");t.length||(t=e(".form.checkout")),e.scroll_to_notices(t)}},o={init:function(){e(document.body).on("click","a.showcoupon",this.show_coupon_form),e(document.body).on("click",".woocommerce-remove-coupon",this.remove_coupon),e("form.checkout_coupon").hide().submit(this.submit)},show_coupon_form:function(){return e(".checkout_coupon").slideToggle(400,function(){e(".checkout_coupon").find(":input:eq(0)").focus()}),!1},submit:function(){var t=e(this);if(t.is(".processing"))return!1;t.addClass("processing").block({message:null,overlayCSS:{background:"#fff",opacity:.6}});var o={security:wc_checkout_params.apply_coupon_nonce,coupon_code:t.find('input[name="coupon_code"]').val()};return e.ajax({type:"POST",url:wc_checkout_params.wc_ajax_url.toString().replace("%%endpoint%%","apply_coupon"),data:o,success:function(o){e(".woocommerce-error, .woocommerce-message").remove(),t.removeClass("processing").unblock(),o&&(t.before(o),t.slideUp(),e(document.body).trigger("update_checkout",{update_shipping_method:!1}))},dataType:"html"}),!1},remove_coupon:function(t){t.preventDefault();var o=e(this).parents(".woocommerce-checkout-review-order"),c=e(this).data("coupon");o.addClass("processing").block({message:null,overlayCSS:{background:"#fff",opacity:.6}});var i={security:wc_checkout_params.remove_coupon_nonce,coupon:c};e.ajax({type:"POST",url:wc_checkout_params.wc_ajax_url.toString().replace("%%endpoint%%","remove_coupon"),data:i,success:function(t){e(".woocommerce-error, .woocommerce-message").remove(),o.removeClass("processing").unblock(),t&&(e("form.woocommerce-checkout").before(t),e(document.body).trigger("update_checkout",{update_shipping_method:!1}),e("form.checkout_coupon").find('input[name="coupon_code"]').val(""))},error:function(e){wc_checkout_params.debug_mode&&console.log(e.responseText)},dataType:"html"})}},c={init:function(){e(document.body).on("click","a.showlogin",this.show_login_form)},show_login_form:function(){return e("form.login, form.woocommerce-form--login").slideToggle(),!1}},i={init:function(){e(document.body).on("click","a.woocommerce-terms-and-conditions-link",this.toggle_terms)},toggle_terms:function(){if(e(".woocommerce-terms-and-conditions").length)return e(".woocommerce-terms-and-conditions").slideToggle(function(){var t=e(".woocommerce-terms-and-conditions-link");e(".woocommerce-terms-and-conditions").is(":visible")?(t.addClass("woocommerce-terms-and-conditions-link--open"),t.removeClass("woocommerce-terms-and-conditions-link--closed")):(t.removeClass("woocommerce-terms-and-conditions-link--open"),t.addClass("woocommerce-terms-and-conditions-link--closed"))}),!1}};t.init(),o.init(),c.init(),i.init()});
1
+ jQuery(function(e){if("undefined"==typeof wc_checkout_params)return!1;e.blockUI.defaults.overlayCSS.cursor="default";var t={updateTimer:!1,dirtyInput:!1,selectedPaymentMethod:!1,xhr:!1,$order_review:e("#order_review"),$checkout_form:e("form.checkout"),init:function(){e(document.body).bind("update_checkout",this.update_checkout),e(document.body).bind("init_checkout",this.init_checkout),this.$checkout_form.on("click",'input[name="payment_method"]',this.payment_method_selected),e(document.body).hasClass("woocommerce-order-pay")&&this.$order_review.on("click",'input[name="payment_method"]',this.payment_method_selected),this.$checkout_form.attr("novalidate","novalidate"),this.$checkout_form.on("submit",this.submit),this.$checkout_form.on("input validate change",".input-text, select, input:checkbox",this.validate_field),this.$checkout_form.on("update",this.trigger_update_checkout),this.$checkout_form.on("change",'select.shipping_method, input[name^="shipping_method"], #ship-to-different-address input, .update_totals_on_change select, .update_totals_on_change input[type="radio"], .update_totals_on_change input[type="checkbox"]',this.trigger_update_checkout),this.$checkout_form.on("change",".address-field select",this.input_changed),this.$checkout_form.on("change",".address-field input.input-text, .update_totals_on_change input.input-text",this.maybe_input_changed),this.$checkout_form.on("keydown",".address-field input.input-text, .update_totals_on_change input.input-text",this.queue_update_checkout),this.$checkout_form.on("change","#ship-to-different-address input",this.ship_to_different_address),this.$checkout_form.find("#ship-to-different-address input").change(),this.init_payment_methods(),"1"===wc_checkout_params.is_checkout&&e(document.body).trigger("init_checkout"),"yes"===wc_checkout_params.option_guest_checkout&&e("input#createaccount").change(this.toggle_create_account).change()},init_payment_methods:function(){var o=e(".woocommerce-checkout").find('input[name="payment_method"]');1===o.length&&o.eq(0).hide(),t.selectedPaymentMethod&&e("#"+t.selectedPaymentMethod).prop("checked",!0),0===o.filter(":checked").length&&o.eq(0).prop("checked",!0),o.length>1&&e("div.payment_box").filter(":visible").slideUp(0),o.filter(":checked").eq(0).trigger("click")},get_payment_method:function(){return t.$checkout_form.find('input[name="payment_method"]:checked').val()},payment_method_selected:function(){if(e(".payment_methods input.input-radio").length>1){var o=e("div.payment_box."+e(this).attr("ID")),c=e(this).is(":checked");c&&!o.is(":visible")&&(e("div.payment_box").filter(":visible").slideUp(230),c&&o.slideDown(230))}else e("div.payment_box").show();e(this).data("order_button_text")?e("#place_order").text(e(this).data("order_button_text")):e("#place_order").text(e("#place_order").data("value"));var i=e('.woocommerce-checkout input[name="payment_method"]:checked').attr("id");i!==t.selectedPaymentMethod&&e(document.body).trigger("payment_method_selected"),t.selectedPaymentMethod=i},toggle_create_account:function(){e("div.create-account").hide(),e(this).is(":checked")&&(e("#account_password").val("").change(),e("div.create-account").slideDown())},init_checkout:function(){e("#billing_country, #shipping_country, .country_to_state").change(),e(document.body).trigger("update_checkout")},maybe_input_changed:function(e){t.dirtyInput&&t.input_changed(e)},input_changed:function(e){t.dirtyInput=e.target,t.maybe_update_checkout()},queue_update_checkout:function(e){if(9===(e.keyCode||e.which||0))return!0;t.dirtyInput=this,t.reset_update_checkout_timer(),t.updateTimer=setTimeout(t.maybe_update_checkout,"1000")},trigger_update_checkout:function(){t.reset_update_checkout_timer(),t.dirtyInput=!1,e(document.body).trigger("update_checkout")},maybe_update_checkout:function(){var o=!0;if(e(t.dirtyInput).length){var c=e(t.dirtyInput).closest("div").find(".address-field.validate-required");c.length&&c.each(function(){""===e(this).find("input.input-text").val()&&(o=!1)})}o&&t.trigger_update_checkout()},ship_to_different_address:function(){e("div.shipping_address").hide(),e(this).is(":checked")&&e("div.shipping_address").slideDown()},reset_update_checkout_timer:function(){clearTimeout(t.updateTimer)},is_valid_json:function(t){try{var o=e.parseJSON(t);return o&&"object"==typeof o}catch(c){return!1}},validate_field:function(t){var o=e(this),c=o.closest(".form-row"),i=!0,r=c.is(".validate-required"),n=c.is(".validate-email"),a=t.type;"input"===a&&c.removeClass("woocommerce-invalid woocommerce-invalid-required-field woocommerce-invalid-email woocommerce-validated"),"validate"!==a&&"change"!==a||(r&&("checkbox"!==o.attr("type")||o.is(":checked")?""===o.val()&&(c.removeClass("woocommerce-validated").addClass("woocommerce-invalid woocommerce-invalid-required-field"),i=!1):(c.removeClass("woocommerce-validated").addClass("woocommerce-invalid woocommerce-invalid-required-field"),i=!1)),n&&o.val()&&(new RegExp(/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i).test(o.val())||(c.removeClass("woocommerce-validated").addClass("woocommerce-invalid woocommerce-invalid-email"),i=!1)),i&&c.removeClass("woocommerce-invalid woocommerce-invalid-required-field woocommerce-invalid-email").addClass("woocommerce-validated"))},update_checkout:function(e,o){t.reset_update_checkout_timer(),t.updateTimer=setTimeout(t.update_checkout_action,"5",o)},update_checkout_action:function(o){if(t.xhr&&t.xhr.abort(),0!==e("form.checkout").length){o=void 0!==o?o:{update_shipping_method:!0};var c=e("#billing_country").val(),i=e("#billing_state").val(),r=e("input#billing_postcode").val(),n=e("#billing_city").val(),a=e("input#billing_address_1").val(),u=e("input#billing_address_2").val(),d=c,s=i,m=r,p=n,l=a,h=u,_=e(t.$checkout_form).find(".address-field.validate-required:visible"),f=!0;_.length&&_.each(function(){""===e(this).find(":input").val()&&(f=!1)}),e("#ship-to-different-address").find("input").is(":checked")&&(d=e("#shipping_country").val(),s=e("#shipping_state").val(),m=e("input#shipping_postcode").val(),p=e("#shipping_city").val(),l=e("input#shipping_address_1").val(),h=e("input#shipping_address_2").val());var g={security:wc_checkout_params.update_order_review_nonce,payment_method:t.get_payment_method(),country:c,state:i,postcode:r,city:n,address:a,address_2:u,s_country:d,s_state:s,s_postcode:m,s_city:p,s_address:l,s_address_2:h,has_full_address:f,post_data:e("form.checkout").serialize()};if(!1!==o.update_shipping_method){var v={};e('select.shipping_method, input[name^="shipping_method"][type="radio"]:checked, input[name^="shipping_method"][type="hidden"]').each(function(){v[e(this).data("index")]=e(this).val()}),g.shipping_method=v}e(".woocommerce-checkout-payment, .woocommerce-checkout-review-order-table").block({message:null,overlayCSS:{background:"#fff",opacity:.6}}),t.xhr=e.ajax({type:"POST",url:wc_checkout_params.wc_ajax_url.toString().replace("%%endpoint%%","update_order_review"),data:g,success:function(o){if(!0!==o.reload){e(".woocommerce-NoticeGroup-updateOrderReview").remove();var c=e("#terms").prop("checked"),i={};if(e(".payment_box :input").each(function(){var t=e(this).attr("id");t&&(-1!==e.inArray(e(this).attr("type"),["checkbox","radio"])?i[t]=e(this).prop("checked"):i[t]=e(this).val())}),o&&o.fragments&&e.each(o.fragments,function(t,o){e(t).replaceWith(o),e(t).unblock()}),c&&e("#terms").prop("checked",!0),e.isEmptyObject(i)||e(".payment_box :input").each(function(){var t=e(this).attr("id");t&&(-1!==e.inArray(e(this).attr("type"),["checkbox","radio"])?e(this).prop("checked",i[t]).change():0===e(this).val().length&&e(this).val(i[t]).change())}),"failure"===o.result){var r=e("form.checkout");e(".woocommerce-error, .woocommerce-message").remove(),o.messages?r.prepend('<div class="woocommerce-NoticeGroup woocommerce-NoticeGroup-updateOrderReview">'+o.messages+"</div>"):r.prepend(o),r.find(".input-text, select, input:checkbox").trigger("validate").blur(),t.scroll_to_notices()}t.init_payment_methods(),e(document.body).trigger("updated_checkout",[o])}else window.location.reload()}})}},submit:function(){t.reset_update_checkout_timer();var o=e(this);return!o.is(".processing")&&(!1!==o.triggerHandler("checkout_place_order")&&!1!==o.triggerHandler("checkout_place_order_"+t.get_payment_method())&&(o.addClass("processing"),1!==o.data()["blockUI.isBlocked"]&&o.block({message:null,overlayCSS:{background:"#fff",opacity:.6}}),e.ajaxSetup({dataFilter:function(e,o){if("json"!==o)return e;if(t.is_valid_json(e))return e;var c=e.match(/{"result.*}/);return null===c?console.log("Unable to fix malformed JSON"):t.is_valid_json(c[0])?(console.log("Fixed malformed JSON. Original:"),console.log(e),e=c[0]):console.log("Unable to fix malformed JSON"),e}}),e.ajax({type:"POST",url:wc_checkout_params.checkout_url,data:o.serialize(),dataType:"json",success:function(o){try{if("success"!==o.result)throw"failure"===o.result?"Result failure":"Invalid response";-1===o.redirect.indexOf("https://")||-1===o.redirect.indexOf("http://")?window.location=o.redirect:window.location=decodeURI(o.redirect)}catch(c){if(!0===o.reload)return void window.location.reload();!0===o.refresh&&e(document.body).trigger("update_checkout"),o.messages?t.submit_error(o.messages):t.submit_error('<div class="woocommerce-error">'+wc_checkout_params.i18n_checkout_error+"</div>")}},error:function(e,o,c){t.submit_error('<div class="woocommerce-error">'+c+"</div>")}})),!1)},submit_error:function(o){e(".woocommerce-NoticeGroup-checkout, .woocommerce-error, .woocommerce-message").remove(),t.$checkout_form.prepend('<div class="woocommerce-NoticeGroup woocommerce-NoticeGroup-checkout">'+o+"</div>"),t.$checkout_form.removeClass("processing").unblock(),t.$checkout_form.find(".input-text, select, input:checkbox").trigger("validate").blur(),t.scroll_to_notices(),e(document.body).trigger("checkout_error")},scroll_to_notices:function(){var t=e(".woocommerce-NoticeGroup-updateOrderReview, .woocommerce-NoticeGroup-checkout");t.length||(t=e(".form.checkout")),e.scroll_to_notices(t)}},o={init:function(){e(document.body).on("click","a.showcoupon",this.show_coupon_form),e(document.body).on("click",".woocommerce-remove-coupon",this.remove_coupon),e("form.checkout_coupon").hide().submit(this.submit)},show_coupon_form:function(){return e(".checkout_coupon").slideToggle(400,function(){e(".checkout_coupon").find(":input:eq(0)").focus()}),!1},submit:function(){var t=e(this);if(t.is(".processing"))return!1;t.addClass("processing").block({message:null,overlayCSS:{background:"#fff",opacity:.6}});var o={security:wc_checkout_params.apply_coupon_nonce,coupon_code:t.find('input[name="coupon_code"]').val()};return e.ajax({type:"POST",url:wc_checkout_params.wc_ajax_url.toString().replace("%%endpoint%%","apply_coupon"),data:o,success:function(o){e(".woocommerce-error, .woocommerce-message").remove(),t.removeClass("processing").unblock(),o&&(t.before(o),t.slideUp(),e(document.body).trigger("update_checkout",{update_shipping_method:!1}))},dataType:"html"}),!1},remove_coupon:function(t){t.preventDefault();var o=e(this).parents(".woocommerce-checkout-review-order"),c=e(this).data("coupon");o.addClass("processing").block({message:null,overlayCSS:{background:"#fff",opacity:.6}});var i={security:wc_checkout_params.remove_coupon_nonce,coupon:c};e.ajax({type:"POST",url:wc_checkout_params.wc_ajax_url.toString().replace("%%endpoint%%","remove_coupon"),data:i,success:function(t){e(".woocommerce-error, .woocommerce-message").remove(),o.removeClass("processing").unblock(),t&&(e("form.woocommerce-checkout").before(t),e(document.body).trigger("update_checkout",{update_shipping_method:!1}),e("form.checkout_coupon").find('input[name="coupon_code"]').val(""))},error:function(e){wc_checkout_params.debug_mode&&console.log(e.responseText)},dataType:"html"})}},c={init:function(){e(document.body).on("click","a.showlogin",this.show_login_form)},show_login_form:function(){return e("form.login, form.woocommerce-form--login").slideToggle(),!1}},i={init:function(){e(document.body).on("click","a.woocommerce-terms-and-conditions-link",this.toggle_terms)},toggle_terms:function(){if(e(".woocommerce-terms-and-conditions").length)return e(".woocommerce-terms-and-conditions").slideToggle(function(){var t=e(".woocommerce-terms-and-conditions-link");e(".woocommerce-terms-and-conditions").is(":visible")?(t.addClass("woocommerce-terms-and-conditions-link--open"),t.removeClass("woocommerce-terms-and-conditions-link--closed")):(t.removeClass("woocommerce-terms-and-conditions-link--open"),t.addClass("woocommerce-terms-and-conditions-link--closed"))}),!1}};t.init(),o.init(),c.init(),i.init()});
assets/js/photoswipe/photoswipe-ui-default.js CHANGED
File without changes
assets/js/photoswipe/photoswipe.js CHANGED
File without changes
assets/js/select2/select2.js CHANGED
File without changes
assets/js/select2/select2.min.js CHANGED
File without changes
i18n/languages/woocommerce.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the WooCommerce package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WooCommerce 3.4.0-rc.2\n"
6
  "Report-Msgid-Bugs-To: https://github.com/woocommerce/woocommerce/issues\n"
7
- "POT-Creation-Date: 2018-05-22 14:50:34+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -3538,7 +3538,7 @@ msgid "Grand Kru"
3538
  msgstr ""
3539
 
3540
  #: i18n/states/LR.php:21
3541
- msgid "Lofa "
3542
  msgstr ""
3543
 
3544
  #: i18n/states/LR.php:22
2
  # This file is distributed under the same license as the WooCommerce package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WooCommerce 3.4.0\n"
6
  "Report-Msgid-Bugs-To: https://github.com/woocommerce/woocommerce/issues\n"
7
+ "POT-Creation-Date: 2018-05-23 12:33:52+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
3538
  msgstr ""
3539
 
3540
  #: i18n/states/LR.php:21
3541
+ msgid "Lofa"
3542
  msgstr ""
3543
 
3544
  #: i18n/states/LR.php:22
i18n/states/LR.php CHANGED
@@ -18,7 +18,7 @@ $states['LR'] = array(
18
  'GC' => __( 'Grand Cape Mount', 'woocommerce' ),
19
  'GG' => __( 'Grand Gedeh', 'woocommerce' ),
20
  'GK' => __( 'Grand Kru', 'woocommerce' ),
21
- 'LO' => __( 'Lofa ', 'woocommerce' ),
22
  'MA' => __( 'Margibi', 'woocommerce' ),
23
  'MY' => __( 'Maryland', 'woocommerce' ),
24
  'MO' => __( 'Montserrado', 'woocommerce' ),
18
  'GC' => __( 'Grand Cape Mount', 'woocommerce' ),
19
  'GG' => __( 'Grand Gedeh', 'woocommerce' ),
20
  'GK' => __( 'Grand Kru', 'woocommerce' ),
21
+ 'LO' => __( 'Lofa', 'woocommerce' ),
22
  'MA' => __( 'Margibi', 'woocommerce' ),
23
  'MY' => __( 'Maryland', 'woocommerce' ),
24
  'MO' => __( 'Montserrado', 'woocommerce' ),
includes/class-wc-ajax.php CHANGED
@@ -474,7 +474,7 @@ class WC_AJAX {
474
  }
475
 
476
  wp_safe_redirect( wp_get_referer() ? remove_query_arg( array( 'trashed', 'untrashed', 'deleted', 'ids' ), wp_get_referer() ) : admin_url( 'edit.php?post_type=product' ) );
477
- wp_die();
478
  }
479
 
480
  /**
@@ -495,7 +495,7 @@ class WC_AJAX {
495
  }
496
 
497
  wp_safe_redirect( wp_get_referer() ? wp_get_referer() : admin_url( 'edit.php?post_type=shop_order' ) );
498
- wp_die();
499
  }
500
 
501
  /**
474
  }
475
 
476
  wp_safe_redirect( wp_get_referer() ? remove_query_arg( array( 'trashed', 'untrashed', 'deleted', 'ids' ), wp_get_referer() ) : admin_url( 'edit.php?post_type=product' ) );
477
+ exit;
478
  }
479
 
480
  /**
495
  }
496
 
497
  wp_safe_redirect( wp_get_referer() ? wp_get_referer() : admin_url( 'edit.php?post_type=shop_order' ) );
498
+ exit;
499
  }
500
 
501
  /**
includes/libraries/wp-async-request.php CHANGED
File without changes
includes/libraries/wp-background-process.php CHANGED
File without changes
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: automattic, mikejolley, jameskoster, claudiosanches, claudiulodro,
3
  Tags: ecommerce, e-commerce, store, sales, sell, shop, cart, checkout, downloadable, downloads, paypal, storefront, woo commerce
4
  Requires at least: 4.7
5
  Tested up to: 4.9
6
- Stable tag: 3.3.5
7
  License: GPLv3
8
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
9
 
3
  Tags: ecommerce, e-commerce, store, sales, sell, shop, cart, checkout, downloadable, downloads, paypal, storefront, woo commerce
4
  Requires at least: 4.7
5
  Tested up to: 4.9
6
+ Stable tag: 3.4.0
7
  License: GPLv3
8
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
9
 
woocommerce.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: WooCommerce
4
  * Plugin URI: https://woocommerce.com/
5
  * Description: An eCommerce toolkit that helps you sell anything. Beautifully.
6
- * Version: 3.4.0-rc.2
7
  * Author: Automattic
8
  * Author URI: https://woocommerce.com
9
  * Text Domain: woocommerce
3
  * Plugin Name: WooCommerce
4
  * Plugin URI: https://woocommerce.com/
5
  * Description: An eCommerce toolkit that helps you sell anything. Beautifully.
6
+ * Version: 3.4.0
7
  * Author: Automattic
8
  * Author URI: https://woocommerce.com
9
  * Text Domain: woocommerce