Claudio Sanches
bd7a73696a
[REST API] Updated order statuses slugs
...
All REST API does not include "wc-" prefix, removing here makes easy to
work with all endpoint without care about any prefix.
2018-09-18 11:27:26 -03:00
Claudio Sanches
48a0045373
[REST API] Fixed endpoints registered in /reports
2018-09-18 11:23:35 -03:00
Gerhard Potgieter
9849228442
Logical not bitwise operator
2018-09-18 15:11:26 +02:00
Trafikbyran
b27980dae7
Update wc-template-functions.php
...
it's supposed to check if it isn't (&!) in the array of taxonomies that are stated on the following rows not if it is (&&)... before rows 623 to 630 did nothing..
one could argue that it should be possible to set the taxonomies in the array it checks "( 'product_cat', 'product_tag' )" in the filter but i haven't thought that through
2018-09-18 15:10:50 +02:00
Gerhard Potgieter
2f9ca949f7
Merge pull request #21336 from woocommerce/fix/21335
...
Triggering woocommerce_order_edit_status on single order status edit.
2018-09-18 12:43:33 +02:00
Gerhard Potgieter
e69900a4d6
Shipping totals should show even if calculator is disabled.
2018-09-17 13:43:32 +02:00
Gerhard Potgieter
c22c92b838
Introduce wc_sanitize_endpoint_slug and run all endpoint sanitization before saving through it to ensure that only valid slugs can be used for endpoints.
2018-09-14 09:35:49 +02:00
Gerhard Potgieter
ed06fc5d01
Revert "Do not use camel case for password reset request subject and heading"
...
This reverts commit bd7f1a6a4d
.
2018-09-14 09:23:06 +02:00
Gerhard Potgieter
bd7f1a6a4d
Do not use camel case for password reset request subject and heading
2018-09-14 09:15:23 +02:00
Edi Amin
f1f03928f9
Fix cron_interval property support in WP_Background_Process
2018-09-14 09:29:48 +06:00
Ewout Fernhout
9c411dc532
Fixes #21345
2018-09-13 15:23:00 +02:00
Chris Shultz
2506ff250b
Triggering woocommerce_order_edit_status on single order status edit.
2018-09-12 10:07:02 -07:00
Claudiu Lodromanean
7b1344e567
Merge pull request #21327 from woocommerce/feature/21119
...
[REST API] Allow apply and remove coupons in orders endpoint
2018-09-12 08:04:00 -07:00
Claudiu Lodromanean
c3170b423b
Merge pull request #21328 from woocommerce/fix/21321
...
wc-checkout js params use is_checkout
2018-09-12 07:53:32 -07:00
Claudiu Lodromanean
07351d5e11
Merge pull request #21288 from woocommerce/update/humanize-emails
...
Humanize emails
2018-09-12 07:51:07 -07:00
Edi Amin
4725bb3e72
Ignore converting float meta value for registered post meta
2018-09-12 20:39:24 +06:00
Gerhard Potgieter
0dd12e0d05
Merge pull request #21243 from woocommerce/update/20991
...
Send emails for cancelled_to_* orders
2018-09-12 12:49:51 +02:00
Gerhard Potgieter
55b188ad8f
Merge pull request #21111 from woocommerce/fix/structured-data-breadcrumbs
...
Include URL for the last element in breadcrumb list
2018-09-12 12:45:23 +02:00
Gerhard Potgieter
5f7b833844
Add missing # before order numbers and escape properly
2018-09-12 12:24:27 +02:00
Gerhard Potgieter
d7cb15c8f8
Update email copy based on https://github.com/woocommerce/woocommerce/pull/21288#issuecomment-420251277
2018-09-12 11:30:53 +02:00
Gerhard Potgieter
43e4ef85e0
Use is_checkout conditional instead of is_page for the wc-checkout js paramaters.
2018-09-12 08:38:54 +02:00
Claudio Sanches
bfdd758bd4
Improve coupons logic and throw errors for invalid coupons
2018-09-11 18:26:32 -03:00
Claudio Sanches
8d9da1cb94
Created method to apply and remove coupons
2018-09-11 18:10:58 -03:00
Claudio Sanches
fda3f6890c
Fixed allow to remove coupons when using line item ID.
2018-09-11 17:18:59 -03:00
Claudiu Lodromanean
92c5c4e54e
Merge pull request #21326 from woocommerce/fix/rest-api-settings-schema
...
[REST API] Updated Settings schema since now we allow batch update
2018-09-11 13:16:36 -07:00
Claudio Sanches
2b7e5121f2
[REST API] Allow apply and remove coupons in orders endpoint
...
Closes #21119
2018-09-11 16:53:55 -03:00
Claudio Sanches
ccd1e1ced6
Fixed coding standards
2018-09-11 16:53:41 -03:00
Claudio Sanches
0ab5dc3e5b
[REST API] Updated Settings schema since now we allow batch update
2018-09-11 16:21:10 -03:00
Claudio Sanches
45c542aa8a
[REST API] Fixed order notes schema
2018-09-11 15:53:13 -03:00
Claudiu Lodromanean
1411567177
Merge pull request #21312 from woocommerce/fix/21295
...
Fix encoded special chars in layered nav "Any %s" string.
2018-09-11 10:01:36 -07:00
Claudiu Lodromanean
c60eb6a2f2
Merge pull request #21314 from woocommerce/add/20822
...
Add filter to control the restore refunded items chekbox default
2018-09-11 09:26:55 -07:00
Claudiu Lodromanean
a9b635efb1
Merge pull request #21322 from woocommerce/update/tracker
...
Tracker changes
2018-09-11 09:17:04 -07:00
Gerhard Potgieter
6ff90a1912
Cleaner code and correct apply_filters
2018-09-11 12:50:20 +02:00
Claudio Sanches
61873627a7
Merge branch 'master' into feature/rest-api-v3
2018-09-10 19:16:22 -03:00
Claudio Sanches
ead415e4b8
Check if comment_type is empty
2018-09-10 18:40:46 -03:00
Claudiu Lodromanean
48bf960a74
Merge pull request #21245 from woocommerce/fix/woocommerce-sessions-schema
...
Change wp_woocommerce_sessions primary key
2018-09-10 12:20:45 -07:00
Claudiu Lodromanean
fe1acc0e8e
Merge pull request #21311 from woocommerce/update/21308
...
Sort by latest instead of Sort by newness
2018-09-10 10:27:43 -07:00
Claudiu Lodromanean
ba0a989a38
Merge pull request #21306 from woocommerce/feature/21115
...
[REST API] Reports totals endpoints
2018-09-10 10:23:56 -07:00
Claudiu Lodromanean
75bac9f3c6
Merge pull request #21316 from woocommerce/fix/21120
...
Replaced in_stock with stock_status for v3 products endpoint.
2018-09-10 09:47:31 -07:00
Claudiu Lodromanean
ac24982e92
Merge pull request #21304 from woocommerce/fix/customer-list-query
...
Fix customer list query
2018-09-10 09:42:01 -07:00
Claudiu Lodromanean
f7028154a1
Merge pull request #21278 from woocommerce/fix/20989
...
Updated shipping class count and posts query to account for variations correctly.
2018-09-10 09:02:31 -07:00
Peter Fabian
17f9b601e9
Reverted more accurate counting of shipping class items as it could cause perf issues.
2018-09-10 16:23:06 +02:00
Gerhard Potgieter
c572327ce9
Check if helper is connected to woocommerce.com
2018-09-10 15:47:46 +02:00
Gerhard Potgieter
1f2b028b0b
Category counts
2018-09-10 15:35:44 +02:00
Gerhard Potgieter
58a2ae494d
Review counts
2018-09-10 15:30:17 +02:00
Gerhard Potgieter
f28002f257
Use wp_json_encode instead of esc_js. Hat tip @dtugend
2018-09-10 14:35:55 +02:00
Peter Fabian
f80d628c56
Fixed omitted grandparent's prepare_objects_query for products endpoint.
2018-09-10 13:49:42 +02:00
Peter Fabian
1237e5ef7e
Added enums to collection_params for stock_status.
2018-09-10 12:36:18 +02:00
Peter Fabian
0ddd8f4506
Fixed stock_status validation.
2018-09-10 12:32:01 +02:00
Gerhard Potgieter
16b2abe8cd
Remove charset, WP will load site charset by default. We need to do esc_js first before wp_specialchars_decode to avoid esc_js to encode double quotes again.
2018-09-10 11:58:39 +02:00
Peter Fabian
70a4309d81
Replaced in_stock with stock_status for v3 products endpoint.
2018-09-10 11:53:20 +02:00
Gerhard Potgieter
e3994348b3
Update checked functionality to use a filter, removed option from settings screen. Can use the woocommerce_restock_refunded_items filter to have the option checked or not, defaults to unchecked.
2018-09-10 11:31:24 +02:00
Ivete Tecedor
9b07180c7a
#20822 -- adding config for making the "restock refunded items" checkbox be UNchecked by default
2018-09-10 11:27:14 +02:00
Gerhard Potgieter
6b3feb0417
Decode encoded special chars for Any string label used in the layered nav widget.
2018-09-10 10:49:25 +02:00
Gerhard Potgieter
8b51ceaca2
Sort by latest instead of Sort by newness
2018-09-10 10:26:04 +02:00
Claudio Sanches
14a1217218
Load all product types even when empty
2018-09-08 22:45:51 -03:00
Claudio Sanches
5f723fc0d9
Removed extra code
2018-09-08 22:40:27 -03:00
Claudio Sanches
d199538514
Inserted data for /reports/reviews/count endpoint
2018-09-08 22:10:19 -03:00
Claudio Sanches
18f8a51cc7
Included @since tag
2018-09-08 21:53:57 -03:00
Claudio Sanches
c18d3c3fff
Save comment_type for product reviews
2018-09-08 21:47:49 -03:00
Claudio Sanches
6d54a533ae
Fixed customer list query
2018-09-08 21:21:00 -03:00
Claudio Sanches
d2b0ff0f32
Initial /reports/reviews/totals endpoint
2018-09-08 21:19:57 -03:00
Claudio Sanches
2fcabfe7e6
/reports/coupons/totals endpoint
2018-09-08 21:04:13 -03:00
Claudio Sanches
daf6650d5d
/reports/customers/count endpoint
2018-09-08 20:32:39 -03:00
Claudio Sanches
a0145c0265
Fixed schema to include instance_id for shipping_lines
2018-09-08 19:12:40 -03:00
Claudio Sanches
30a2e87cf5
Fixed schema to include instance_id for shipping_lines
2018-09-08 19:10:45 -03:00
Claudio Sanches
ca36e368c5
Added /reports/products/totals endpoint
2018-09-08 19:02:29 -03:00
Claudio Sanches
5d67b474ed
Load product types
2018-09-08 19:02:22 -03:00
Claudiu Lodromanean
0cc137be1e
Merge pull request #20848 from woocommerce/fix/20844
...
Make wc_get_attachment_image_attributes do what it is suppose to.
2018-09-07 12:08:34 -07:00
claudiulodro
08a76e1eea
Add srcset handling
2018-09-07 11:36:03 -07:00
Claudiu Lodromanean
2da0c5715c
Merge pull request #21292 from woocommerce/fix/21091
...
Tax display in cart now depends on whether customer is tax exempt.
2018-09-07 11:01:42 -07:00
Gerhard Potgieter
dccc0d5461
Restore space
2018-09-07 10:33:20 +02:00
Gerhard Potgieter
3b57bf7051
Fix invoice escaping
2018-09-07 09:54:31 +02:00
Gerhard Potgieter
ace541910d
Shopping not shipping :)
2018-09-07 09:03:47 +02:00
Gerhard Potgieter
e2a83bb4e7
Update footer text to show on new line
2018-09-07 08:31:27 +02:00
Claudiu Lodromanean
d9b5cf7b6f
Merge pull request #21244 from rubn-g/fix/variable-product-cache-miss
...
Fix/variable product cache miss
2018-09-06 15:17:27 -07:00
Ruben
0a0f733a6e
fix lint code style issue
2018-09-06 22:52:48 +02:00
Claudiu Lodromanean
5ee82ce9c0
Merge pull request #21270 from jessepearson/add/system-tools-action
...
Add action for when system tools are run
2018-09-06 13:17:09 -07:00
Claudiu Lodromanean
552adaae13
Merge pull request #21274 from woocommerce/fix/21215
...
Improve performance of the query to delete version transients
2018-09-06 12:48:28 -07:00
Claudiu Lodromanean
d6cbf78825
Merge pull request #21193 from woocommerce/add/21182
...
Add hidden, screen-reader label on address line 2 input on checkout
2018-09-06 10:32:36 -07:00
Claudiu Lodromanean
dbbf31c99d
Merge pull request #21234 from woocommerce/update/obw-shipping-step-fulfillment
...
OBW: Remove live rates from shipping step, promote label printing.
2018-09-06 10:31:02 -07:00
Peter Fabian
cf3f54ec64
Made tax display in cart depend on whether customer is tax exempt.
2018-09-06 17:40:21 +02:00
Jeff Stieler
1dc6a1c66d
OBW: fix PHPCS errors.
2018-09-06 09:13:58 -06:00
Gerhard Potgieter
866aab0ead
New accout email copy changes
2018-09-06 14:38:43 +02:00
Gerhard Potgieter
cf03db7392
Update customer reset password email copy
2018-09-06 14:18:09 +02:00
Gerhard Potgieter
68b5fbe279
Customer note email copy changes
2018-09-06 13:58:56 +02:00
Gerhard Potgieter
9361aaa05b
Update invoice emails copy
2018-09-06 13:48:40 +02:00
Gerhard Potgieter
fac659c9c6
Update refunded emails copy
2018-09-06 13:24:28 +02:00
Gerhard Potgieter
84b935490d
Update completed email copy
2018-09-06 13:11:58 +02:00
Gerhard Potgieter
5eaa6da98b
Update processing emails copy
2018-09-06 13:00:21 +02:00
Gerhard Potgieter
697e3229f2
Update on-hold emails copy
2018-09-06 12:48:39 +02:00
Gerhard Potgieter
b03e5cff45
Failed admin email changes
2018-09-06 12:30:33 +02:00
claudiulodro
52e272c807
Add breadcrumb links for product categories and tags
2018-09-05 13:32:53 -07:00
Claudio Sanches
017b44693b
Updated names
2018-09-05 10:30:14 -03:00
Claudio Sanches
f13deab00a
/reports/orders/count
2018-09-05 10:28:22 -03:00
Claudio Sanches
25ed037fb0
Include new reports endpoints results
2018-09-05 09:36:19 -03:00
Claudio Sanches
9fd386155f
Allow to easy manipulate /reports endpoint results
2018-09-05 09:28:58 -03:00
Claudio Sanches
f0e6ec7a6c
Register reports
2018-09-05 09:25:56 -03:00
Claudio Sanches
c271fca508
Restored reports endpoints
2018-09-05 09:24:02 -03:00
Jesse Pearson
fe7817163c
Moved action call
2018-09-05 07:34:52 -04:00