Claudiu Lodromanean
839d52d153
Merge pull request #20390 from woocommerce/fix/20369
...
Clear needs_processing transient when adding a product to an order
2018-06-05 06:56:14 -07:00
Claudiu Lodromanean
0407b290d3
Merge pull request #20389 from woocommerce/fix/20378
...
Remove luxemberg state field
2018-06-05 06:36:14 -07:00
Mike Jolley
f356269e6f
Merge pull request #20391 from smazur/master
...
fix order by price clauses when search within terms
2018-06-05 13:52:30 +01:00
Mike Jolley
f065580b24
align
2018-06-05 13:51:37 +01:00
TheDramatist
090b7c89f4
wc_meta_update_last_update_time cleanning ( #20382 )
2018-06-05 13:31:05 +01:00
TheDramatist
a42acd438d
PHPDoc @throws Added ( #20381 )
2018-06-05 13:30:16 +01:00
TheDramatist
7f6fb734dd
WC_Meta_Data | PHPDoc Fix ( #20371 )
2018-06-05 13:29:56 +01:00
TheDramatist
9aca31f6ce
PHPDoc @throw Added ( #20370 )
2018-06-05 13:29:35 +01:00
TheDramatist
1d923bd7a0
WC_Abstract_Privacy PHPDoc Fixed ( #20368 )
...
* WC_Abstract_Privacy PHPDoc Fixed
* Unnecessary spaces removed
2018-06-05 13:29:20 +01:00
Mike Jolley
fd5f11d42f
Merge pull request #20366 from woocommerce/add/constraint-checks
...
permission_id Constraint checks
2018-06-05 13:27:56 +01:00
Mike Jolley
001a2e3b98
Merge branch 'master' into fix/20311
2018-06-05 12:57:48 +01:00
Mike Jolley
da690c34d2
Version
2018-06-05 12:38:03 +01:00
Stanislav Mazur
6fdd71ce8f
fix order by price clauses when search within terms
2018-06-05 14:01:08 +03:00
Mike Jolley
813db4c7f1
Clear needs_processing transient when adding a product to an order
2018-06-05 11:28:45 +01:00
Mike Jolley
6d0c1b2bac
Remove luxemberg state field
...
Closes #20378
2018-06-05 11:09:08 +01:00
Ewout Fernhout
5f57e3b524
add filter for bulk action IDs
2018-06-05 12:07:35 +02:00
therealgilles
0a6e5f7d16
Merge branch 'master' of https://github.com/woocommerce/woocommerce
2018-06-04 20:13:45 +00:00
Mike Jolley
ce323ec32b
Merge pull request #20364 from woocommerce/fix/20360
...
Use correct escaping on placeholder
2018-06-04 12:40:17 +01:00
Gerhard Potgieter
cc563c2883
Use single quotes, not a field name but a value
2018-06-04 13:31:03 +02:00
Gerhard Potgieter
193ae78037
Revert "Only run constraint if it does not already exist"
...
This reverts commit dcddf1b273
.
2018-06-04 13:21:01 +02:00
Gerhard Potgieter
dcddf1b273
Only run constraint if it does not already exist
2018-06-04 13:18:57 +02:00
Gerhard Potgieter
55d5e6c6f0
Avoid looping
2018-06-04 13:15:36 +02:00
Gerhard Potgieter
4fde0e9129
Add column data type checks to ensure they match before running the download logs constraint.
2018-06-04 13:10:05 +02:00
Mike Jolley
98c92f3246
Merge pull request #20334 from crstauf/pr/filter-free-shipping-coupon-html
...
More informative coupon label for coupons with discount and free shipping
2018-06-04 11:54:21 +01:00
Diego Zanella
18731221fa
Added order to "woocommerce_order_is_vat_exempt" filter arguments
2018-06-04 11:01:15 +01:00
Mike Jolley
679d719368
Use correct escaping on placeholder
...
Use correct escaping on placeholder - this is not HTML, this is an attribute output within javascript code.
Closes #20360
2018-06-04 10:53:10 +01:00
Gerhard Potgieter
f324113b6d
Make Bahrain state not required ( #20363 )
...
* If coupon contains discount as well as free shipping add free shipping in brackets behind value
* Revert "If coupon contains discount as well as free shipping add free shipping in brackets behind value"
This reverts commit dce5bc2f0b
.
* Make Buhrein state not required, it has not states
2018-06-04 10:47:41 +01:00
Mike Jolley
574fac457f
Merge pull request #20353 from rnaby/020618-223742-wc-datetime
...
getOffset Refactor
2018-06-04 10:46:16 +01:00
TheDramatist
d8aa0aba90
WC_Data_Store | Exception throwing @throws PHPDoc comment added ( #20352 )
...
* Exception throwing @throws PHPDoc comment added
* Exception throwing @throws PHPDoc comment added
2018-06-04 10:45:53 +01:00
Khan M Rashedun-Naby
058b99fdf4
getOffset Refactor
2018-06-02 23:47:05 +06:00
Caleb Stauffer
d4d771437c
fix bug with cart coupon text (without introducing new filter)
2018-06-01 22:44:03 -04:00
Allen Snook
bfb6bff87c
Do not export a customer data group containing no data
2018-06-01 14:58:09 -07:00
Claudiu Lodromanean
c68b8faa99
Merge pull request #20203 from woocommerce/update/20118
...
Log errors from transaction emails with logger
2018-06-01 13:43:33 -07:00
Mike Jolley
4daa28daee
woocommerce_shipping_calculator to support custom button text
2018-06-01 21:29:33 +01:00
Mike Jolley
f9c178b0dd
Pass formatted destination to template file
2018-06-01 21:29:23 +01:00
Mike Jolley
243c33d9ca
Show country by default and improve separator
2018-06-01 21:29:07 +01:00
Mike Jolley
67dc3ea80a
Hide rates when there are no rates and calculator is off
2018-06-01 21:28:21 +01:00
claudiulodro
5fbb997949
Format shipping info when copied from billing
2018-06-01 08:28:18 -07:00
Ewout Fernhout
2ab47706a7
apply bulk actions oldest to newest
2018-06-01 12:40:22 +02:00
Mike Jolley
3f0544450e
Merge pull request #20308 from woocommerce/fix/cache-flush-0
...
Clear category 0 when deleting caches
2018-06-01 10:32:44 +01:00
Caleb Stauffer
6fc7a2d7cc
add filter to toggle between coupon's discount amount and free shipping text
2018-05-31 20:44:49 -04:00
claudiulodro
cd303d3540
Fix typo in error message
2018-05-31 12:40:58 -07:00
Claudiu Lodromanean
07bad6975f
Merge pull request #19951 from woocommerce/update/19745
...
Eircode validation and formatting
2018-05-31 20:31:46 +01:00
Claudiu Lodromanean
a4b9346f66
Merge pull request #19969 from robertdevore/master
...
Add three new action hooks for admin shipping zone methods
2018-05-31 20:25:34 +01:00
Claudiu Lodromanean
d1a90f14da
Merge pull request #20180 from woocommerce/fix/20178
...
Check billing email is posted before using
2018-05-31 19:57:18 +01:00
Claudiu Lodromanean
205a8fa513
Merge pull request #20125 from woocommerce/fix/20054
...
Don't force default token gateway active by default
2018-05-31 19:54:42 +01:00
Mike Jolley
25d025c01e
Show empty terms in admin dropdown
2018-05-31 11:24:23 +01:00
Mike Jolley
1d43233306
Adds missing 2017 RTL styles
2018-05-31 10:34:08 +01:00
Robert DeVore
ecdf6c3be0
Removed two action hooks
2018-05-30 15:53:04 -04:00
Mike Jolley
c74540fb1e
Merge pull request #20046 from woocommerce/feature/custom-shipping-calc-data
...
Allows manipulate cart shipping calculator data
2018-05-30 16:00:21 +01:00
Mike Jolley
79c34ba843
Merge pull request #20089 from woocommerce/fix/20042
...
Allow oAuth1.0a under SSL
2018-05-30 15:37:45 +01:00
urosmil
19efe63fe8
Improved wc_add_to_cart_message filter ( #19817 )
...
* Improved wc_add_to_cart_message filter
Added product quantity parameter to filter, as it is relevant for construction of message and passed through function call.
* Removed param from deprecated function
Param has been removed from deprecated function as suggested
2018-05-30 14:53:15 +01:00
Mike Jolley
814c62aaf2
merge master
2018-05-30 14:35:32 +01:00
Mike Jolley
e68e8e8273
Merge pull request #20244 from woocommerce/update/20025
...
Introduce is_paypal_supported_currency check in setup wizard
2018-05-30 14:07:34 +01:00
Mike Jolley
34e27fa930
Missed a json encode
2018-05-30 14:05:06 +01:00
Mike Jolley
2e56d79628
Merge pull request #20246 from boodaah/master
...
Add anchor tag example to email template preview
2018-05-30 14:03:30 +01:00
Mike Jolley
f866349a03
Merge pull request #20251 from Ismail-elkorchi/fix/wc_maybe_define_constant_doc
...
Update wc_maybe_define_constant Docblock
2018-05-30 14:03:06 +01:00
Mike Jolley
c326115db2
Clear category 0 when deleting caches
2018-05-30 13:29:44 +01:00
Mike Jolley
34d4c9cca2
Merge pull request #20298 from woocommerce/fix/array-combine-tests
...
Prevent array_combine errors in old versions of PHP
2018-05-29 18:54:12 +01:00
Mike Jolley
b102e7c89b
Merge pull request #20294 from woocommerce/update/php-notice
...
Remove red styling for PHP notice if using > 5.6
2018-05-29 18:25:33 +01:00
Mike Jolley
75e357c1a9
Prevent array_combine errors in old versions of PHP
2018-05-29 18:13:26 +01:00
Mike Jolley
5504f966a4
Merge pull request #20293 from woocommerce/fix/20276
...
Fix variable attribute selection based on query string and form posts
2018-05-29 15:54:57 +01:00
Mike Jolley
bcc1a350ce
Remove red styling for PHP notice if using > 5.6
2018-05-29 15:52:01 +01:00
Mike Jolley
5cfd2f0f7a
Merge pull request #20273 from woocommerce/fix/20268
...
Fix broken product import file uploads on windows
2018-05-29 15:27:40 +01:00
Mike Jolley
800701adb0
Pass varaible
2018-05-29 15:25:11 +01:00
Mike Jolley
89daaebbca
Merge pull request #20241 from woocommerce/update/update-routine
...
Break up update routine and allow it run to multuple times
2018-05-29 15:19:25 +01:00
Mike Jolley
511243a54a
Encode array keys
2018-05-29 15:04:22 +01:00
Mike Jolley
45d6c55f2a
selected logic, with added sanitize_title
2018-05-29 14:32:20 +01:00
Mike Jolley
b3023bec7d
Merge pull request #20289 from woocommerce/pr/20272
...
Pr/20272
2018-05-29 11:20:45 +01:00
Mike Jolley
9637ada4ee
Keep escape, pass link
2018-05-29 11:16:30 +01:00
Mike Jolley
c9aadf19bd
Merge pull request #20282 from woocommerce/fix/20278
...
Product properties should not be accessed directly
2018-05-29 10:55:48 +01:00
Mike Jolley
daad19fc6c
Merge pull request #20256 from jamesckemp/patch-11
...
Echo attribute label for "empty" default option
2018-05-29 10:42:26 +01:00
Mike Jolley
37762024e0
Merge pull request #20237 from woocommerce/fix/defend-cod-notices
...
get_canonical_package_rate_ids should check it has an array
2018-05-29 10:39:16 +01:00
Gerhard Potgieter
e3a37f81ee
Changes based on feedback, no need for sanitasion since wp_handle_upload alread checks
2018-05-29 07:37:25 +02:00
Rodrigo Primo
6a4eaa4de5
Check object before calling one of its methods
...
Check to see if `$product` is an instance of WC_Product before calling WC_Product::get_id() to protect against a fatal error.
2018-05-28 16:36:36 -03:00
Rodrigo Primo
5ed26df842
Product properties should not be accessed directly
...
Use WC_Product::get_id() instead of WC_Product::ID as product properties should not be accessed directly.
Fixes #20278
2018-05-28 16:32:36 -03:00
Remi Corson
b64182162e
remove wp_kses() and esc_html()
2018-05-28 12:29:26 +02:00
Gerhard Potgieter
4e40d79f84
Use wc_clean and not wp_unslash when cleaning the file path, strips out slashed on windows machines
2018-05-28 11:50:04 +02:00
Remi Corson
61b9461375
Add wp_kses() authorized tag
2018-05-28 11:44:05 +02:00
Remi Corson
4743dba7d0
Make sample tax rate URL clickable
2018-05-28 11:23:32 +02:00
Chris Montgomery
5c37551128
Fix infinite loop with importing tax rates ( #20253 ).
2018-05-26 22:42:37 +00:00
James Kemp
0eeb7834cd
Echo attribute label
2018-05-26 13:10:09 +01:00
James Kemp
1c99022600
Echo attribute label for "empty" default option
...
The empty option for the default attribute value selectors was not echoed.
2018-05-26 12:59:40 +01:00
Ismail El Korchi
4b2b654749
Update wc_maybe_define_constant doc
2018-05-26 03:16:44 +00:00
boodaah
14f090f82e
Add anchor tag example to email template preview
2018-05-25 14:41:20 -04:00
Mike Jolley
e1ba7f4b93
Introduce is_paypal_supported_currency check in setup wizard
2018-05-25 17:28:56 +01:00
Mike Jolley
048b95e135
Correct code to run again
2018-05-25 16:36:07 +01:00
Mike Jolley
083c994732
Break up update routine and allow it run to multuple times
2018-05-25 14:18:19 +01:00
Mike Jolley
6690e54921
Merge pull request #20217 from woocommerce/fix/20182
...
Prevent shipping method instance save action running on non-instance screens
2018-05-25 13:06:04 +01:00
Mike Jolley
296de85c17
Merge pull request #20235 from woocommerce/fix/20224
...
add missing wp_unslash calls to product data meta box
2018-05-25 13:05:32 +01:00
Mike Jolley
40ac62eea9
Merge pull request #20236 from woocommerce/fix/20220
...
Fix webhook filtering URLs
2018-05-25 13:04:38 +01:00
Mike Jolley
ad10e846ea
get_canonical_package_rate_ids should check it has an array
2018-05-25 12:54:58 +01:00
Mike Jolley
58b9be29b9
Merge pull request #20191 from woocommerce/fix/20186
...
Product import from file on server
2018-05-25 12:29:27 +01:00
Mike Jolley
c31cd4d962
Merge pull request #20234 from woocommerce/fix/20228
...
Check plugin properties exist when listening to auto_update_plugin hook
2018-05-25 12:29:17 +01:00
Mike Jolley
f1bed0d97b
Merge pull request #20231 from woocommerce/fix/20227
...
Wrapper function to get full mysql version string with mariadb handling
2018-05-25 12:29:05 +01:00
Mike Jolley
34949d3971
Fix webhook filtering URLs
2018-05-25 12:21:31 +01:00
Mike Jolley
81b65f1783
add missing wp_unslash calls to product data meta box
2018-05-25 12:15:59 +01:00
Mike Jolley
d0d87b5e39
Check plugin properties exist
2018-05-25 12:07:12 +01:00
Gerhard Potgieter
5b1180d81a
Server files always need to be relative to ABSPATH, and use wc_clean as esc_url_raw will mess up file paths.
2018-05-25 12:57:01 +02:00
Khan M Rashedun-Naby
34360dff0a
wc_create_new_customer logic simplified
2018-05-25 16:53:27 +06:00
Mike Jolley
786641e976
Merge pull request #20232 from rnaby/250518-161500-wc-template-functions-wc_logout_url
...
wc_logout_url refactored
2018-05-25 11:40:00 +01:00
Khan M Rashedun-Naby
49f76ebb5b
wc_logout_url refactored
2018-05-25 16:34:06 +06:00
Mike Jolley
75f88041d7
Merge pull request #20197 from woocommerce/update/20183
...
"payment tokens" terminology
2018-05-25 11:33:40 +01:00
Mike Jolley
b96c7f6192
Merge pull request #20200 from woocommerce/update/20184
...
Export legacy paypal meta data in exporter
2018-05-25 11:33:26 +01:00
Mike Jolley
717fd61a16
Merge pull request #20226 from rnaby/250518-104427-wc-template-functions-get_product_search_form
...
Removed get_product_search_form else
2018-05-25 11:29:07 +01:00
Mike Jolley
416a4785b2
Merge pull request #20230 from rnaby/250518-154433-wc-template-functions-wc_get_rating_html
...
wc_get_rating_html refactored
2018-05-25 11:28:27 +01:00
Mike Jolley
fc24e2f440
Merge pull request #20214 from rnaby/240518-232027-wc-template-functions-woocommerce_pagination
...
woocommerce_pagination refactored
2018-05-25 11:23:36 +01:00
Mike Jolley
3cf7bfc328
Merge pull request #20213 from rnaby/240518-230624-wc-template-functions-wc_setup_product_data
...
wc_setup_product_data refactored
2018-05-25 11:22:23 +01:00
TheDramatist
29a6a7a494
wc_add_number_precision_deep logic simplified ( #20211 )
...
* wc_add_number_precision_deep logic simplified
* Early return
2018-05-25 11:18:49 +01:00
Mike Jolley
0bfd675238
Wrapper function to get full mysql version string with mariadb handling
2018-05-25 11:15:30 +01:00
Khan M Rashedun-Naby
c3f4826caf
wc_get_rating_html refactored
2018-05-25 16:10:26 +06:00
Mike Jolley
2a10ef31fa
Merge pull request #20212 from rnaby/240518-225308-wc-core-functions-wc_remove_number_precision_deep
...
wc_remove_number_precision_deep logic simplified
2018-05-25 10:39:48 +01:00
Mike Jolley
571919936c
Merge pull request #20210 from rnaby/240518-223657-wc-core-functions-wc_rand_hash
...
wc_rand_hash logic simplified
2018-05-25 10:33:41 +01:00
Mike Jolley
171139295c
Merge pull request #20193 from woocommerce/fix/20192
...
Fix WC_Coupon constructor with Coupon object
2018-05-25 10:29:38 +01:00
Khan M Rashedun-Naby
52d28b69c2
Removed Else
2018-05-25 10:45:38 +06:00
Allen Snook
745b6bff29
Expand eraser and exporter friendly names for scope clarity
2018-05-24 12:56:32 -07:00
Mike Jolley
54357733bd
Merge pull request #20202 from jamesckemp/patch-10
...
Allow HTML when using `wc_attribute_label()`
2018-05-24 20:45:45 +01:00
Mike Jolley
a05059f3eb
redundent check
2018-05-24 20:44:02 +01:00
Mike Jolley
4cdae90aa4
Avoid new method
...
Co-Authored-By: grola <grola@users.noreply.github.com>
2018-05-24 20:41:20 +01:00
Mike Jolley
974d33eb85
Prevent action running for non-instance screens
...
Co-Authored-By: grola <grola@users.noreply.github.com>
2018-05-24 20:35:48 +01:00
James Kemp
596e6e2271
Add filter to sanitize woocommerce_attribute_label
2018-05-24 19:32:32 +01:00
James Kemp
71a4f1079f
Revert "Escape attributes labels but allow HTML"
...
This reverts commit f7fa7b6a41
.
2018-05-24 19:30:48 +01:00
Khan M Rashedun-Naby
4a8b7b876e
woocommerce_pagination refactored
2018-05-24 23:23:10 +06:00
Mike Jolley
9237353a83
Made constructor more readable with protected method
2018-05-24 18:19:42 +01:00
Khan M Rashedun-Naby
18ae4c8d5c
wc_setup_product_data refactored
2018-05-24 23:11:13 +06:00
Khan M Rashedun-Naby
5b079343e8
Early return
2018-05-24 23:02:07 +06:00
Khan M Rashedun-Naby
2725cd56d4
wc_remove_number_precision_deep logic simplified
2018-05-24 22:55:00 +06:00
Khan M Rashedun-Naby
cb7b853199
wc_rand_hash logic simplified
2018-05-24 22:42:56 +06:00
Peter Fabian
187eff6e95
Merge pull request #20205 from woocommerce/fix/20204
...
If the file size cannot be read, ignore range headers.
2018-05-24 17:26:09 +01:00
Mike Jolley
8e5efd9122
Merge pull request #19980 from urosmil/patch-2
...
Add endpoints to account menu items filter
2018-05-24 17:17:00 +01:00
Mike Jolley
8bcf32c68d
Merge pull request #19981 from timothyjensen/coupon-usage-count-hooks
...
Add coupon usage count hooks
2018-05-24 17:16:17 +01:00
Mike Jolley
3a673aa4e9
Merge pull request #20000 from woocommerce/update/19983
...
Exclude frontend include from REST API calls
2018-05-24 17:11:27 +01:00
Mike Jolley
d5e6b21b38
Merge pull request #20206 from CHEWX/bug-menu-endpoint-title
...
[menu] - change title to capitalized to match wp core
2018-05-24 17:06:07 +01:00
Mike Jolley
7df57c2cd1
Merge pull request #20207 from woocommerce/fix/20185
...
Excluded children categories from WP_Query in product shortcode if cat_operator=AND
2018-05-24 17:01:43 +01:00
Mike Jolley
dac3da8b26
Merge pull request #20079 from rnaby/150518-154336
...
wc_get_object_terms refactored
2018-05-24 16:35:35 +01:00
Mike Jolley
f5343cf4c7
Merge pull request #20067 from rnaby/150518-000347
...
ElseIf and Else Statement Removed
2018-05-24 16:33:56 +01:00
Mike Jolley
4666359840
Merge pull request #20074 from rnaby/150518-080603
...
wc_list_pages function refactored
2018-05-24 16:33:32 +01:00
Mike Jolley
18ea88d05d
Merge pull request #20077 from rnaby/150518-150047
...
Unnecessary Else Removed
2018-05-24 16:32:21 +01:00
Mike Jolley
2f87873ca5
Merge pull request #20093 from rnaby/160518-090545
...
Little clean up and fix
2018-05-24 16:26:15 +01:00
Mike Jolley
83a9831dc0
Merge pull request #20092 from rnaby/160518-084433
...
wc_get_loop_class logic simplified
2018-05-24 16:25:26 +01:00
Peter Fabian
082c1dfaf3
Excluded children categories from WP_Query in product shortcode if cat_operator=AND.
2018-05-24 16:12:48 +01:00
Mike Jolley
b7099509ee
If the file size cannot be read, ignore range headers.
...
Fixes #20204
2018-05-24 16:10:45 +01:00
Tom Hopcraft
daf301e83c
[menu] - change title to capitalized to match wp core
2018-05-24 15:56:13 +01:00
Mike Jolley
d9d2093d50
Log errors from transaction emails with logger
...
Closes #20118
2018-05-24 15:37:00 +01:00
James Kemp
16785b33ab
Do not escape HTML for attribute label
2018-05-24 15:29:53 +01:00
James Kemp
f7fa7b6a41
Escape attributes labels but allow HTML
...
Escape attribute labels with wp_kses_post so HTML is allowed if required.
2018-05-24 15:15:35 +01:00
Mike Jolley
a2a099f23d
Export legacy paypal meta data in exporter
2018-05-24 15:06:53 +01:00
Mike Jolley
725639bb96
"payment tokens" terminology
2018-05-24 13:42:20 +01:00
Gerhard Potgieter
288b5d9117
Refactor WC_Coupon constructor to allow for passing in coupon objects
2018-05-24 11:21:41 +02:00
Gerhard Potgieter
b1739dd21d
Add functionality to handle import files hosted on server
2018-05-24 07:34:40 +02:00
therealgilles
830e42794e
Add woocommerce_checkout_skip_update_order_review_expired and woocommerce_checkout_skip_cart_is_empty_check filter calls.
2018-05-23 20:40:23 +00:00
therealgilles
f7ec8c22de
Add woocommerce_checkout_skip_update_order_review_expired and woocommerce_checkout_skip_cart_is_empty_check filter calls.
2018-05-23 20:08:14 +00:00
Mike Jolley
87b077e57a
Check billing email is posted before using
...
Closes #20178
2018-05-23 15:04:03 +01:00
Claudio Sanches
09f7425fea
Just use exit() in AJAX endpoints used to redirect users
2018-05-23 10:50:49 -03:00
Mike Jolley
c05c5d75cb
No need to check if terms page is set if the field was posted.
2018-05-22 15:14:12 +01:00
Mike Jolley
5afb40fcbb
Merge pull request #20162 from woocommerce/fix/20133-string-parsing
...
Improve external product string parsing
2018-05-22 13:54:03 +01:00
Mike Jolley
bcd2aa05d3
Merge pull request #20163 from woocommerce/fix/20157
...
Checkout preview in customizer
2018-05-22 13:48:53 +01:00
Mike Jolley
4f208f3e7e
Merge pull request #20156 from woocommerce/update/strings-full-stops
...
Remove . from settings strings
2018-05-22 12:58:11 +01:00
Mike Jolley
9c2edf4983
Moves around some includes so they are included before the autoloader needs to find them
2018-05-22 12:57:48 +01:00
Mike Jolley
52d5700681
Merge pull request #20126 from woocommerce/fix/20119
...
Remove legacy meta data from orders
2018-05-22 11:47:15 +01:00
Mike Jolley
a3c18696e8
Fix terms display in preview
2018-05-22 11:19:39 +01:00
Mike Jolley
be63fb152a
Preview checkout without dummy product
2018-05-22 11:19:09 +01:00
Mike Jolley
7609ed82da
Make wc_query_string_form_fields handle strings
2018-05-22 10:53:08 +01:00
Mike Jolley
bd625a0537
Escape and decode amsersands correcrtly
2018-05-22 10:52:51 +01:00
Mike Jolley
0d799b2d06
Merge pull request #20130 from woocommerce/update/20105
...
Data erasers; target shop_order only and allow filtering
2018-05-21 17:37:32 +01:00
Mike Jolley
6bbd598713
Merge pull request #20137 from woocommerce/fix/20135
...
Recalc taxes if address changes in API
2018-05-21 17:37:15 +01:00
Mike Jolley
03dfd9b262
Remove . from strings
2018-05-21 17:02:33 +01:00
Mike Jolley
faa09deff1
Recalc taxes if address changes in API
2018-05-18 21:47:04 +01:00
Mike Jolley
4fc19b6766
feedback
2018-05-18 21:28:51 +01:00
Marcin Bot
5130edf566
WC_Abstract_Privacy allow to specify filters' priority
2018-05-18 16:07:36 +01:00
Mike Jolley
bf50e871f4
Update/add filter
2018-05-18 15:28:48 +01:00
Mike Jolley
bbfd419c8b
Array of arrays
2018-05-18 15:13:54 +01:00
Mike Jolley
00288c3b7f
Change token export format
2018-05-18 15:10:43 +01:00
Gerhard Potgieter
c61e0688c6
Merge pull request #20123 from woocommerce/fix/20110
...
Prevent autofocus on checkout
2018-05-18 14:32:30 +01:00
Gerhard Potgieter
7302d21a55
Merge pull request #20094 from woocommerce/fix/20051
...
When cleaning up CSV import, only remove product taxonomies
2018-05-18 14:30:45 +01:00
Gerhard Potgieter
d3d36de567
Merge pull request #20091 from jconroy/status_table_row_fix
...
Fix incorrectly closed system status table row
2018-05-18 14:29:42 +01:00
Gerhard Potgieter
6000580ec9
Merge pull request #20086 from woocommerce/fix/20081
...
Fix rounding of line items for orders
2018-05-18 12:31:09 +01:00
Gerhard Potgieter
7c120bb62f
Merge pull request #20085 from woocommerce/fix/20057
...
Set date created if null during update
2018-05-18 12:30:26 +01:00
Mike Jolley
c409a30765
erasers; target shoP_order only and allow filters
2018-05-18 12:29:56 +01:00
Gerhard Potgieter
5141e69339
Merge pull request #20084 from woocommerce/fix/20044
...
Fix tooltip styling when outside label
2018-05-18 12:29:40 +01:00
Gerhard Potgieter
ff05df5dac
Merge pull request #20083 from woocommerce/fix/20058
...
When duplicating variation, set the date to null
2018-05-18 12:28:55 +01:00
Gerhard Potgieter
ad24b9c9d9
Merge pull request #20041 from woocommerce/fix/20039
...
Wrap cell in ' rather than prepend
2018-05-18 12:27:26 +01:00
Gerhard Potgieter
7a501337b9
Merge pull request #20061 from saimonh3/fix/20060
...
fix(missing-country-code): add bahrain country code in the load_country_states method
2018-05-18 12:26:39 +01:00
Mike Jolley
7481c2c205
Remove legacy meta data from orders
2018-05-18 11:58:21 +01:00
Mike Jolley
ddece6a53b
Revert "Don't force default token gateway active by default"
...
This reverts commit 2ef13c3e72
.
2018-05-18 11:32:49 +01:00
Mike Jolley
660649e767
Don't force default token gateway active by default
2018-05-18 11:32:39 +01:00
Mike Jolley
2ef13c3e72
Don't force default token gateway active by default
2018-05-18 11:30:56 +01:00
Mike Jolley
20c184274b
Prevent autofocus on checkout
2018-05-18 10:39:51 +01:00
Mike Jolley
c4e1f8cd76
When cleaning up CSV import, only remove product taxonomies
2018-05-16 08:57:37 +01:00
Khan M Rashedun-Naby
0c70ed69f3
Little clean up and fix
2018-05-16 09:08:49 +06:00
Khan M Rashedun-Naby
3f824ae000
wc_get_loop_class logic simplified
2018-05-16 08:47:35 +06:00
Jason Conroy
e8e438704b
Fix incorrectly closed table row
...
Introduced with 23b69eba53 (diff-1b33d607bfa554752b46fad3269637deR806)
2018-05-16 11:36:02 +10:00
Claudio Sanches
dbec84e0a9
Allow oAuth1.0a under SSL
...
Closes #20042
2018-05-15 23:51:59 +01:00
Mike Jolley
faa00b7488
Remove full stop after action name
2018-05-15 23:26:18 +01:00
Mike Jolley
d25bd2dd33
Fix rounding of line items for orders
2018-05-15 23:18:39 +01:00
Mike Jolley
58e4802f47
Set date created if null during update
2018-05-15 19:15:42 +01:00
Mike Jolley
d136926d0c
Fix tooltip styling when outside label
2018-05-15 15:59:49 +01:00
Mike Jolley
7ee933dd18
When duplicating variation, set the date to null
2018-05-15 15:37:17 +01:00
Khan M Rashedun-Naby
5c0d7292f3
wc_get_object_terms refactored
2018-05-15 15:44:32 +06:00
Khan M Rashedun-Naby
1ed6d7ce65
Unnecessary Else Removed
2018-05-15 15:01:41 +06:00
Khan M Rashedun-Naby
f7baef9938
wc_list_pages function refactored
2018-05-15 08:08:18 +06:00
Claudio Sanches
6c1234668a
Merge pull request #20066 from rnaby/140518-235030
...
Removed Else Condition Check
2018-05-15 01:20:30 +01:00
Khan M Rashedun-Naby
80a1a64285
Else Removed
2018-05-15 00:33:22 +06:00
Khan M Rashedun-Naby
651de82769
ElseIf and Else Statement Removed
2018-05-15 00:07:29 +06:00
Khan M Rashedun-Naby
f09fd925e7
Removed Else Condition Check
2018-05-15 00:01:15 +06:00
Mohammed Saimon
0b4847d75d
fix(missing-country-code): add bahrain country code in the load_country_states method
2018-05-14 13:26:25 +06:00
Khan M Rashedun-Naby
7d889b472a
Approach Cleaned
2018-05-13 23:40:07 +06:00
Claudio Sanches
aa814c294b
Allows manipulate cart shipping calculator data
...
Introduces woocommerce_cart_calculate_shipping_address and
woocommerce_shipping_calculator_enable_country to allow full control in
the cart shipping calculator fields
2018-05-11 13:26:34 -03:00
Mike Jolley
e6ddc65c2a
Wrap cell in ' rather than prepend
2018-05-11 12:16:02 +01:00
claudiulodro
2ee7c62499
Add default empty step class to html-csv-import-steps.php
2018-05-10 11:59:17 -07:00
Claudiu Lodromanean
2dc1e042c9
Merge pull request #20024 from woocommerce/update/20022
...
Context for getting shipping methods for shipping zone.
2018-05-09 10:10:27 -07:00
Claudiu Lodromanean
7a6b0d8cf5
Merge pull request #19934 from woocommerce/fix/19819
...
Add protocol to URLs for thumbnails in cart.
2018-05-09 10:09:17 -07:00
Mike Jolley
1ff5520512
Pass through JSON context when getting zones for JSON responses and scripts
2018-05-09 17:41:33 +01:00
Claudiu Lodromanean
6f2c807f1c
Merge pull request #19984 from woocommerce/fix/19640
...
Basic range download handling for Force download.
2018-05-09 09:08:15 -07:00
Mike Jolley
14cbf7b0f0
Pass scheme without hyphen
2018-05-09 17:06:34 +01:00
Grzegorz Rola
5c9085de03
Context for getting shipping methods for shipping zone.
2018-05-09 16:35:49 +02:00
Peter Fabian
e31420234a
Skip download remainig check if doing ranged request.
...
This allows to finish listening/waching the file on iOS device if the remaining download count goes from 1 to 0.
2018-05-09 16:34:58 +02:00
Claudiu Lodromanean
ec02a133a3
Merge pull request #20021 from woocommerce/fix/19967
...
Switch stock status when manage stock gets changed and qty is sufficient.
2018-05-09 07:21:59 -07:00
Peter Fabian
e5dfa71e23
Moved check for download log to WC_Download_Handler.
2018-05-09 15:52:02 +02:00
Mike Jolley
2a90dcbc36
Prevent infinite loops when grouped products group each other
2018-05-09 14:05:05 +01:00
Peter Fabian
b920fb5786
Fixed bugs introduced by refactoring.
2018-05-09 14:29:52 +02:00
Peter Fabian
10fdae02bb
Updated documentation according to WP CS.
2018-05-09 11:40:02 +02:00
Peter Fabian
3faf49b4aa
Sanitize HTTP_RANGE input.
2018-05-09 11:13:36 +02:00
Peter Fabian
424213bc17
Applied the filter inside the function.
...
Added optional scheme parameter and @since docstring according to the code review.
2018-05-09 09:42:28 +02:00
Mike Jolley
a743757d0d
On the fly image generation for frontend
2018-05-08 22:23:45 +01:00
Rodrigo Primo
c49059ce7a
Merge branch 'master' into update/use-post-author-for-customer-id
2018-05-08 17:34:09 -03:00
Rodrigo Primo
8db3236889
Update WC_Order_Data_Store_CPT::get_wp_query_args() to use post_author instead of _customer_user
2018-05-08 17:21:57 -03:00
Claudiu Lodromanean
abfba228b5
Merge pull request #20005 from woocommerce/fix/19997
...
Update quick edit logic to handle external products
2018-05-08 11:24:18 -07:00
Claudiu Lodromanean
7528762ee2
Merge pull request #20002 from woocommerce/fix/19959
...
Zoom improvements for mobile/touch
2018-05-08 11:16:44 -07:00
Mike Jolley
8531b2677e
Update quick edit logic to handle external products
2018-05-08 16:58:51 +01:00
Claudiu Lodromanean
8a60d0aee9
Merge pull request #19998 from woocommerce/fix/19979
...
Settings API should force autoload on by default.
2018-05-08 08:57:02 -07:00
Mike Jolley
ffbbf08b61
Zoom improvements for mobile
2018-05-08 14:48:25 +01:00
Mike Jolley
5de4f281fe
Exclude frontend include from REST API calls
2018-05-08 12:09:04 +01:00
Mike Jolley
3b5dfcb80b
Settings API should force autoload on by default.
2018-05-08 11:12:40 +01:00
Peter Fabian
ba79747975
Backwards compat fixes for range download.
2018-05-08 11:47:05 +02:00
Ralf Wiechers
47fbf7eef9
Allow related products limit to be like other post_per_page values
...
Fix #19994
2018-05-08 11:39:54 +02:00
Peter Fabian
8a8f085dcf
Added back extra parameter for backwards compatibility.
2018-05-08 10:16:53 +02:00
Peter Fabian
cb7ebe9aae
Split handle_range_request function, code cleanup.
2018-05-07 23:56:12 +02:00
Claudiu Lodromanean
9e1b8245be
Merge pull request #19987 from woocommerce/fix/plugin-install-get-proper-plugin-filename
...
Plugin installer: fix extracting filename from path
2018-05-07 14:37:40 -07:00
Rodrigo Primo
3644f8c220
Merge pull request #19992 from woocommerce/fix/phpcs-class-wc-report-customers
...
Fix PHPCS violations in includes/admin/reports/class-wc-report-customers.php
2018-05-07 17:57:57 -03:00
Rodrigo Primo
482e844f16
Update WC_Customer_Data_Store to use post_author instead of _customer_user
2018-05-07 17:54:42 -03:00
Rodrigo Primo
fdfe95b07e
Update WC API v1 and v2 to use post_author instead of _customer_user
2018-05-07 17:37:31 -03:00
Rodrigo Primo
b97f2749d6
Update wc_customer_bought_product() and customers report to use post_author instead of _customer_user
2018-05-07 17:25:58 -03:00
Rodrigo Primo
14287bdcf3
Fix PHPCS violations in includes/admin/reports/class-wc-report-customers.php
2018-05-07 17:12:26 -03:00
Rodrigo Primo
c1dabf0196
Fix PHPCS violations in includes/admin/reports/class-wc-report-customers.php
2018-05-07 17:08:56 -03:00
Paul Dechov
d7dc2d45a4
Use simpler function for retrieving last array item
...
Also avoids array dereferencing syntax incompatible with PHP <5.4.
2018-05-07 14:50:26 -04:00
Claudiu Lodromanean
9c8dbbedc2
Merge pull request #19988 from woocommerce/update/obw-recommended-stylized-checkboxes
...
OBW: stylized checkboxes in "Recommended" step
2018-05-07 11:45:08 -07:00
Robert DeVore
a3c4f42729
Updated tab spacing for action hook
2018-05-07 14:42:05 -04:00
Rodrigo Primo
f725dc17af
Set post_author to 0 on all orders that belong to a deleted customer
2018-05-07 15:37:25 -03:00
Claudiu Lodromanean
ba81e9e6f2
Merge pull request #19986 from woocommerce/fix/19975-check-tandc-exist
...
Check Terms Conditions page exits
2018-05-07 11:29:59 -07:00
Claudiu Lodromanean
bda8732c6f
Merge pull request #19974 from woocommerce/update/payment-method-columns
...
Updates table styling and columns
2018-05-07 11:23:49 -07:00
Claudiu Lodromanean
ccededa35c
Merge pull request #19971 from woocommerce/fix/19964
...
Fix: WC API should not try to create a product image if an empty image is passed
2018-05-07 10:48:10 -07:00
Claudiu Lodromanean
2bc90d7315
Merge pull request #19966 from woocommerce/add/tracker-opt-out
...
Tracker opt-out api call to erase personal data
2018-05-07 10:37:31 -07:00
Peter Fabian
c2493310d9
Switch stock status when manage stock gets changed.
...
As the stock quantity might be saved in the database from previous settings, stock_status needs to be in sync if qty is > 0.
2018-05-07 16:01:59 +02:00
Paul Dechov
a611c1e329
Adjust recommended item to used stylized checkbox
2018-05-07 09:39:44 -04:00
Paul Dechov
660a7eea0e
Fix plugin installer extracting filename from path
2018-05-07 08:27:22 -04:00
Gerhard Potgieter
6ab75247f7
Check that the terms condtions page actually exists and not just for an saved ID.
2018-05-07 11:05:38 +02:00
Peter Fabian
ceb713adbc
Basic range download handling for Force download.
2018-05-07 10:05:02 +02:00
Tim Jensen
e2cc3673b2
Add coupon usage count hooks
...
These action hooks allow developers to extend functionality related to updating coupon usage counts.
2018-05-06 07:09:59 -04:00
urosmil
5ec04d9398
Add endpoints to account menu items filter
...
This change will add possibility for adding new custom links to woo account, not only changing labels of existing ones.
2018-05-06 09:56:28 +02:00
Mike Jolley
8d6bbabc58
Merge pull request #19929 from woocommerce/fix/19924-parent-id-0-categories
...
Parent:0 terms via API PUT/POST
2018-05-04 18:56:15 +01:00
Mike Jolley
cf9fa5b3ff
Updates table styling and columns
2018-05-04 18:48:41 +01:00
pierrebuet
3850f4f13a
Diverse typos
2018-05-04 16:57:01 +02:00
Rodrigo Primo
c7a9550691
Fix: WC API should not try to create a product image if empty image is passed
...
Currently if you try to create a product variation passing an empty array as the value of the image key using WC API:
Endpoint: `wp-json/wc/v2/products/PRODUCT_ID/variations`
Payload: `{ "attributes" : [ { "id" : 1, "name" : "color", "option" : "Green" } ], "dscription" : "Green Tea Variety", "image" : {} }`
WC will return the following error:
```
{ "code": "woocommerce_product_invalid_image_id", "data": { "status": 400 }, "message": "#0 is an invalid image ID." }
```
This is happening because the code that handles image creation
(4e42b2cd30/includes/api/class-wc-rest-product-variations-controller.php (L292)
) is not checking if `$request['image']` is empty before adding a new `position` key to it. To fix this problem, this commit simply adds a check to see if `$request['image']` is empty before proceeding.
Fixes #19964
2018-05-04 10:47:39 -03:00
Robert DeVore
79b710cca1
📦 NEW: Three action hooks for admin shipping zone methods
2018-05-04 09:16:36 -04:00
Gerhard Potgieter
96d84b2813
Revert "Update the actual message and not just the test :)"
...
This reverts commit 9607fbcdd8
.
2018-05-04 11:57:26 +02:00
Gerhard Potgieter
9607fbcdd8
Update the actual message and not just the test :)
2018-05-04 09:24:05 +02:00
Gerhard Potgieter
e6e03858a0
Add call to tracking API when opting out to comply with GDPR erasure.
2018-05-04 09:10:18 +02:00
Gerhard Potgieter
c2dbc0c887
Keep taxonomy_hierarchical test in place
2018-05-04 08:50:14 +02:00
Claudiu Lodromanean
eaa6915c6b
Merge pull request #19958 from woocommerce/fix/default-asterisk
...
Required fields should be marked with *
2018-05-03 09:28:26 -07:00
Claudiu Lodromanean
594641c32f
Merge pull request #19952 from woocommerce/add/obw-plugin-install-info-message
...
OBW: List all plugins to be installed upon continuing to next step
2018-05-03 09:23:45 -07:00
Mike Jolley
9e9949a742
This should be on by default
2018-05-03 16:50:26 +01:00
Claudiu Lodromanean
4357feef98
Merge pull request #19957 from woocommerce/fix/blank-state-cta
...
Fixes blank state call to action styling
2018-05-03 08:26:59 -07:00
Mike Jolley
a3a2d234bb
Merge pull request #19946 from woocommerce/fix/19940
...
Actions should be filters
2018-05-03 16:11:47 +01:00
Mike Jolley
228b888ab6
Merge pull request #19947 from woocommerce/fix/19944
...
Page conditionals need to ensure the page exists/is set first
2018-05-03 16:11:23 +01:00
Mike Jolley
9069357a84
Fixes blank state call to action styling
2018-05-03 16:09:35 +01:00
Claudiu Lodromanean
305167efba
Merge pull request #19933 from franticpsyx/deprecate-woocommerce_ajax_added_order_items
...
[3.4] Deprecate woocommerce_ajax_added_order_items action
2018-05-03 08:03:55 -07:00
Claudiu Lodromanean
9dfd62dd67
Merge pull request #19938 from woocommerce/fix/update-obw-payfast-repo-slug
...
Updating repo slug for PayFast in the onboarding wizard
2018-05-03 08:01:17 -07:00
Claudiu Lodromanean
fdb8cdb482
Merge pull request #19945 from woocommerce/update/gdpr-messages
...
Updates to GDPR wording
2018-05-03 08:00:05 -07:00
Mike Jolley
d4e8ae093d
Merge pull request #19942 from woocommerce/tweak/gdpr-customer-tokens
...
Introduce GDPR export/erase for customer tokens
2018-05-03 15:36:56 +01:00
Mike Jolley
2f8f30cd29
Make some strings easier to translate for translators
2018-05-03 14:50:39 +01:00
Paul Dechov
44cf10e8cc
Fix phpcs issues
2018-05-03 09:35:09 -04:00
Mike Jolley
3a67c497d0
Update policy text
2018-05-03 13:19:50 +01:00
Peter Fabian
92180d2b42
Add scheme to widget id when caching objects.
...
This should prevent cache from serving mixed content when widget cache is preloaded with http version, then accessed via https.
2018-05-03 14:10:04 +02:00
Mike Jolley
cc3fb9751c
eircode formatting
2018-05-03 11:26:22 +01:00
Mike Jolley
78f34aed99
Eircode regex
2018-05-03 11:26:13 +01:00
Mike Jolley
1e227dcc2e
Allow custom validation methods for postcodes and include IE
2018-05-03 11:26:01 +01:00
Boro Sitnikovski
d3f3073f13
Merge branch 'master' into tweak/gdpr-customer-tokens
2018-05-03 12:02:12 +02:00
Boro Sitnikovski
868034886a
Use display name for tokens
2018-05-03 12:00:07 +02:00
Mike Jolley
f05f439c58
Page conditionals need to ensure the page exists/is set first
2018-05-03 10:23:36 +01:00
Mike Jolley
3c905387dc
Actions should be filters
2018-05-03 10:06:47 +01:00
Boro Sitnikovski
8782be0b02
Use payment tokens instead of tokens
2018-05-03 11:06:11 +02:00
Mike Jolley
fde3eddccd
Just updates wording
2018-05-03 10:05:13 +01:00
Boro Sitnikovski
194dba40e2
Make sure devs pass their own unique ID and use localisation for constructor
2018-05-03 10:47:30 +02:00
Paul Dechov
099e4b9703
Refactor: move code around for more logical grouping
2018-05-03 04:45:01 -04:00
Boro Sitnikovski
1cfa6c6e4e
Per discussion with Mike, use id when adding exporters/erasers
2018-05-03 10:36:11 +02:00
Boro Sitnikovski
0d981a000a
Update abstract class to use associative arrays
2018-05-03 10:08:29 +02:00
Boro Sitnikovski
d8d2f03a50
Introduce GDPR export/erase for customer tokens
2018-05-03 09:46:07 +02:00
Gerhard Potgieter
a43ac9acae
No need to do checks of parent, WordPress does all the checks when running wp_insert_term and wp_update_term
2018-05-03 08:19:16 +02:00
Paul Dechov
64a47cd7cd
Show WCS and Jetpack only if they are not aleady active
2018-05-02 23:49:58 -04:00