Commit Graph

15940 Commits

Author SHA1 Message Date
Mike Jolley 7d6992c1d1 get_payment_gateway_ids method 2016-05-26 15:46:14 +01:00
Mike Jolley 690cd0804b Fix notice in wc_postcode_location_matcher 2016-05-26 15:09:03 +01:00
Mike Jolley ddae9d3722 Split update notice text 2016-05-26 15:00:22 +01:00
Mike Jolley 18b45f55cd @claudiosmweb unregister_shipping_methods didn't unset correctly - this fixes unit tests 2016-05-26 13:03:40 +01:00
Mike Jolley b35df3c547 Merge branch 'include-all-methods-in-count' 2016-05-26 12:54:21 +01:00
Mike Jolley 14e89c69da No need to count legacy separate
@claudiosmweb
2016-05-26 12:54:14 +01:00
Mike Jolley 2ba9029624 Suit CSS and method tidyup for saved methods form
cc @jameskoster
2016-05-26 12:42:32 +01:00
Mike Jolley 39b7b6ba51 get_type_to_display method 2016-05-26 12:42:32 +01:00
Mike Jolley b4deb703fb Tweak conditional in CC class 2016-05-26 12:42:32 +01:00
Mike Jolley 6fe37fff33 Remove the need for token script when logged out 2016-05-26 12:42:32 +01:00
Claudio Sanches 1727d043a0 Tests for wc_get_shipping_method_count() 2016-05-25 18:29:38 -03:00
Claudio Sanches 10f9fb28a3 Improved wc_get_shipping_method_count() 2016-05-25 18:29:32 -03:00
Claudio Sanches b68f396ef8 Fixed check for core legacy methods 2016-05-25 18:24:20 -03:00
Claudio Sanches 13c6988a36 Improve wc_get_shipping_method_count() to count all legacy methods 2016-05-25 16:06:06 -03:00
Claudio Sanches 1d37b9f4e7 Minify 2016-05-25 13:57:30 -03:00
Claudio Sanches 8a62aedad4 Fixed docblocks #10978 2016-05-25 13:27:20 -03:00
Mike Jolley 6c20051025 Tweak comment exclusion join to avoid conflicts
Closes #10989 @claudiosmweb
2016-05-25 15:43:18 +01:00
Mike Jolley 1e72f2ba86 Clear cache after adding new method 2016-05-25 12:56:53 +01:00
Mike Jolley 59db23001f Merge pull request #10984 from franticpsyx/variation-prices-fix
[2.6] The woocommerce_variation_prices filter does not run for hash/values pairs loaded from the transient other than the requested one
2016-05-25 12:51:57 +01:00
Mike Jolley 1cb15b2636 Fix unit tests 2016-05-25 12:46:16 +01:00
Mike Jolley 7680a3ef89 Clear cache in tests 2016-05-25 12:36:25 +01:00
Mike Jolley ab454c2286 Fix method count type in wc_get_shipping_method_count 2016-05-25 12:36:17 +01:00
Mike Jolley 7cacd678cf API - Default display type is blank string
Fixes #10986 @claudiosmweb
2016-05-25 12:19:55 +01:00
Mike Jolley 62712c1648 Fix maxmind label 2016-05-25 12:05:33 +01:00
Mike Jolley b3844257a0 Use wc_get_shipping_method_count helper 2016-05-25 12:05:33 +01:00
Mike Jolley c14993b90e No shipping methods = no shipping at checkout
#10987
2016-05-25 12:05:33 +01:00
Mike Jolley 4b2bf266ca wc_get_shipping_method_count helper function
#10987
2016-05-25 12:05:33 +01:00
Mike Jolley 0ccfec670b Merge pull request #10983 from coderkevin/fix-wc_cart_hash
Fix for #10940 - wc_cart_hash
2016-05-25 11:38:03 +01:00
Mike Jolley 36dad31b45 Merge pull request #10985 from WPprodigy/single-product-archive-image-filter
Use function argument as default filter value for single_product_archive_thumbnail_size
2016-05-25 11:35:08 +01:00
Caleb Burks 3b3898d2a7 Use function argument as default filter value
Even though core never uses the $size argument in woocommerce_get_product_thumbnail(), it's probably best not to override it incase somebody is using the woocommerce_template_loop_product_thumbnail() function with the $size arg in the theme.
2016-05-24 18:55:43 -05:00
Claudio Sanches 1becb295c5 Fixed Undefined index product_permalink warning
While saving plain permalinks isset( $_POST['permalink_structure'] ) is
true, but we don't have any $_POST['product_permalink'] or
$_POST['product_permalink_structure']

cc @mikejolley
2016-05-24 20:15:15 -03:00
Claudio Sanches d43145d979 Fixed tests for wc_get_account_menu_items()
cc @mikejolley
2016-05-24 19:11:21 -03:00
Claudio Sanches 0bb3534195 [REST API] Allow batch for product attributes 2016-05-24 19:00:49 -03:00
Manos Psychogyiopoulos 35ff166a85 woocommerce_variation_prices filter runs only for the first hashed prices array loaded from the transient 2016-05-25 00:54:07 +03:00
Claudio Sanches 8709d31f41 Fixed method returning value in write context 2016-05-24 18:47:17 -03:00
Claudio Sanches 2ddf19c447 Fixed updated date when save webhooks on admin screen 2016-05-24 17:05:50 -03:00
Kevin Killingsworth 543e091c2c Fix for #10940 - wc_cart_hash
wc_cart_hash was used as a key for localStorage
for all WooCommerce sites. If you were to load your
cart for two different sites in the same browser,
the two WooCommerce pages would contend over this key
and loop on trying to set this key in the localStorage

This commit prepends the site's ajax URL onto the wc_cart_hash
key name in localStorage, providing a unique key for each
WooCommerce site. This ends contention over the keys.
2016-05-24 14:36:43 -05:00
Mike Jolley b059c6b454 Hide downloads tab if empty 2016-05-24 19:09:13 +01:00
Mike Jolley cc41c38ff8 Tweak page titles on account pages 2016-05-24 19:09:07 +01:00
Mike Jolley 4a1de6f1de Fix select2 styling 2016-05-24 19:04:13 +01:00
Mike Jolley 22291e3ead Generate a zone name if left blank
@coderkevin
2016-05-24 18:59:35 +01:00
Mike Jolley 3893d0ec19 Fixes tokenisation form when > 1 are used at once.
@claudiosmweb can you give this a check over since it was missed?
2016-05-24 17:52:32 +01:00
Mike Jolley 146f79914f Move stock update code
Fixes #10976
2016-05-24 14:38:54 +01:00
Mike Jolley 5d6db7a294 Hide blank slate on add
Fixes #10967
2016-05-24 12:49:32 +01:00
Mike Jolley b1b12d2835 Merge pull request #10975 from tamarazuk/2.6-my-account-actions
[2.6] My Account forms: add before/after actions
2016-05-24 12:36:52 +01:00
Mike Jolley ca93e0869d Merge pull request #10978 from mattallan/create_base_order_func
Create base order func
2016-05-24 12:30:35 +01:00
Mike Jolley 6e0f26cef1 Merge pull request #10977 from thenbrent/allow_string_package_index
Allow string indexes for shipping packages
2016-05-24 12:30:05 +01:00
matttallan a6eada7c14 Parses full $request data to create_base_orders() for extended classes 2016-05-24 12:32:43 +10:00
matttallan 9fb0882c3c Use a new overrideable function to create orders and custom order types 2016-05-24 12:21:48 +10:00
Brent Shepherd aa2b97cb4c Allow string indexes for shipping packages 2016-05-23 17:34:43 -07:00