Mike Jolley
d693863ad2
Merge pull request #13064 from thenbrent/variable_product_sync_filters
...
Modify variable product sync hooks
2017-02-10 18:40:48 +00:00
Brent Shepherd
5d560f380a
Remove 'woocommerce_variable_product_synced' hook
...
And add additional suggested alternatives to the deprecated
woocommerce_variable_product_sync hook.
2017-02-10 10:36:35 -08:00
Brent Shepherd
5dec55928b
Add 'woocommerce_variable_product_sync_data'
...
Renaming 'woocommerce_variable_product_sync_before_save'
2017-02-10 10:33:48 -08:00
Mike Jolley
82d9abd4c5
Make sure enabled is checked by default
...
#13147
2017-02-10 17:43:32 +00:00
Claudio Sanches
b1b536b5d2
Give REST API authentication a lower priority
...
Bigger than add_filter( 'determine_current_user', 'wp_validate_auth_cookie' );
Smaller than add_filter( 'determine_current_user', 'wp_validate_logged_in_cookie', 20
);
This solve issues while trying to authenticate in a browser while logged
in.
Closes #13134
2017-02-10 15:35:52 -02:00
Mike Jolley
b58e26b0ab
Backwards compatibility for triggers
...
Closes #13141
2017-02-10 13:09:37 +00:00
Mike Jolley
5349171083
This panel does not show in products anyway
...
Fixes #13133
2017-02-10 12:51:49 +00:00
Mike Jolley
e97d30859c
Merge pull request #13135 from woocommerce/fix-email-order
...
Fix and standardize e-mail sending
2017-02-10 12:02:06 +00:00
Mike Jolley
b81e56b597
Escape $args['list_class']
2017-02-10 11:23:47 +00:00
Claudiu Lodromanean
ab8fb48bb4
Fix and standardize e-mail sending
2017-02-09 14:49:39 -08:00
Claudio Sanches
feeb98e801
Merge pull request #13131 from woocommerce/cli-attrib
...
Restructure ID route code for the CLI & fix attribute term.
2017-02-09 18:14:19 -02:00
Claudiu Lodromanean
ae0e4e7ac3
Merge pull request #13130 from woocommerce/fix-isset
...
Switch isset back to array_key_exists to keep null-default props working
2017-02-09 10:42:14 -08:00
Justin Shreve
309d118287
Restructure ID route code for the CLI & make the attribute term command work.
2017-02-09 10:29:24 -08:00
Claudiu Lodromanean
3120a19dae
Switch isset back to array_key_exists to keep null-default props working
2017-02-09 10:13:44 -08:00
Justin Shreve
988175b746
Merge pull request #13127 from woocommerce/fix/product-data-store-title
...
Don't use get_the_title during product read
2017-02-09 10:08:51 -08:00
Claudio Sanches
c350ecfb99
Fixed PHP 5.2 fatal error, closes #13128
2017-02-09 15:27:26 -02:00
Claudio Sanches
f2767dbf5e
2.7.0-beta-2
2017-02-09 15:08:39 -02:00
Justin Shreve
8a6bae374f
Switch from get_the_title to the post objects post_title.
2017-02-09 08:43:48 -08:00
Mike Jolley
962b60c8fe
kses/sanitize
2017-02-09 15:43:47 +00:00
Claudio Sanches
2c5f032b0b
Merge pull request #13099 from woocommerce/fix-13011
...
If woocommerce_adjust_non_base_location_prices is false, remove modded tax, not base tax
2017-02-09 13:41:06 -02:00
Claudio Sanches
094b86c92b
Merge pull request #13104 from woocommerce/fix-13015
...
Inherit shipping class id from parent
2017-02-09 13:37:54 -02:00
Claudio Sanches
e3b563c518
Merge pull request #13044 from woocommerce/crud-perf-tweaks
...
[2.7] CRUD performance improvements for emails
2017-02-09 13:25:29 -02:00
Claudio Sanches
9e1e9783d2
Fixed unit tests in PHP 5.2
2017-02-09 11:33:18 -02:00
Mike Jolley
dcce2a4190
Change order of execution on checkout so shipping is required.
...
Closes #12992
2017-02-09 12:59:13 +00:00
Mike Jolley
234b4cfa91
Merge pull request #13009 from woocommerce/gallery-tweaks
...
Gallery tweaks
2017-02-09 12:34:23 +00:00
Mike Jolley
d7e9af3ac8
Use current_theme_supports
2017-02-09 12:34:06 +00:00
Mike Jolley
7ff301e2ca
Merge branch 'master' into crud-perf-tweaks
...
# Conflicts:
# includes/data-stores/class-wc-order-item-data-store.php
2017-02-09 12:31:25 +00:00
Mike Jolley
16afdeec96
Add prefix
2017-02-09 12:30:33 +00:00
Mike Jolley
1c10ad94cb
Remove order item column due to performance issues on orders screen
2017-02-09 12:29:16 +00:00
Mike Jolley
b17932f4e3
Fix test due to invalid amount and caching
2017-02-09 12:04:44 +00:00
Mike Jolley
8242e5496d
Switch locale only after init
2017-02-09 11:23:44 +00:00
Mike Jolley
8298c83e6f
Set all default parent data
2017-02-09 11:07:34 +00:00
Mike Jolley
639b805a24
Merge pull request #13120 from woocommerce/fix/factory-type
...
Move post type logic from product and order factories.
2017-02-09 11:02:57 +00:00
Mike Jolley
a7b2a0ac7c
Merge pull request #13107 from woocommerce/fix-12962
...
Add locale independent wc_get_permalink_structure function
2017-02-08 23:33:56 +00:00
Justin Shreve
65b99bf240
moved order item type check to order item data store
2017-02-08 11:42:36 -08:00
Justin Shreve
ae5293aeb9
Move the get type logic out of the product factories and into the data stores.
2017-02-08 11:18:39 -08:00
Mike Jolley
c49368f7fc
Small id fix for #13118
2017-02-08 18:19:24 +00:00
Claudio Sanches
9b0a4e6c92
Merge pull request #13109 from woocommerce/fix-regressed-tests
...
Fix failing tests and array_merge error
2017-02-08 16:18:08 -02:00
Claudio Sanches
4e653139b6
Merge pull request #13117 from woocommerce/fix-12973
...
Moved refund logic
2017-02-08 16:15:54 -02:00
Claudiu Lodromanean
4525f91223
Merge pull request #13112 from woocommerce/fix-13106
...
Don't round values in get_on_sale_products
2017-02-08 10:14:52 -08:00
Claudio Sanches
3f2f313161
Merge pull request #13118 from woocommerce/fix-12955
...
Fix type setting in API
2017-02-08 16:14:05 -02:00
Mike Jolley
edbee7db5a
Merge pull request #13115 from woocommerce/fix-12811
...
Define min and max price, not all variation prices, in schema
2017-02-08 18:09:48 +00:00
Mike Jolley
3cf772bcb5
Always use type arg
2017-02-08 18:08:13 +00:00
Mike Jolley
eb150724c4
Make sure calculations are redone after setting line items
...
Closes #13075
2017-02-08 17:23:40 +00:00
Claudiu Lodromanean
dce81b4d4e
Use store's decimal settings when figuring out what's a sale product
2017-02-08 09:04:13 -08:00
Mike Jolley
11ef37880b
Moved logic to wc_create_refund
2017-02-08 16:20:42 +00:00
Mike Jolley
52291e003c
wrong method name
2017-02-08 16:20:05 +00:00
Mike Jolley
b5572fc041
wc_create_refund should handle payment and stock
2017-02-08 16:19:47 +00:00
Mike Jolley
af6ee6d420
Fix; wrong method calls
2017-02-08 16:19:13 +00:00
Mike Jolley
c63cec32b9
Fix; prevent duplicate queries
2017-02-08 16:19:01 +00:00