Claudio Sanches
d3a5a1bfd4
Fixed bugs caused after fixing coding standards
2017-11-29 10:32:35 -02:00
Claudio Sanches
ae67b3b404
Merge pull request #17945 from woocommerce/fix/17944-remove-add-to-cart-pagination
...
Exclude add-to-cart from pagination link
2017-11-29 10:24:28 -02:00
Claudio Sanches
a70d0109c0
Initial webhooks implementation on REST API v1
2017-11-29 10:23:19 -02:00
Gerhard Potgieter
9a5e8b1db8
Merge pull request #17946 from shivapoudel/fix/17919
...
Fix - Bulk action in status logs table
2017-11-29 11:54:11 +02:00
Gerhard Potgieter
be4a2553b1
Introduce woocommerce_cookie_httponly filter on the httponly param of setcookie.
2017-11-29 11:22:57 +02:00
Gerhard Potgieter
5f534e7388
Change product categories image object schema from name to title to bring docs in line with the actual output.
2017-11-29 11:06:41 +02:00
Shiva Poudel
1bf1f84560
Fix - Bulk action in status logs table, Closes #17919
2017-11-29 14:49:49 +05:45
Gerhard Potgieter
f1479b07d5
Exclude add-to-cart param from get_pagenum_link function. paginate_links calls this function even though we pass a base url to it.
2017-11-29 10:52:55 +02:00
Umesh Ghimire
e128f774c4
Revert isset check as it was previously
2017-11-29 14:13:47 +05:45
Shiva Poudel
d4b4b808ed
Fix - Check and process if woocommerce_thumbnail is size
2017-11-29 12:54:32 +05:45
Jonathan Belcher
54e686c44e
Change placeholder text in searchbar
2017-11-28 15:45:55 -05:00
Claudio Sanches
3011058757
Applied Webhook CRUD into legacy REST API v3
2017-11-28 18:11:53 -02:00
Claudio Sanches
de18b383d0
Applied Webhook CRUD into legacy REST API v2
2017-11-28 18:08:46 -02:00
Claudio Sanches
2f9a8e3f75
Set user_id by defaul while creating webhooks on admin screen
2017-11-28 18:03:55 -02:00
Claudiu Lodromanean
eb6374dc7a
Merge pull request #17921 from woocommerce/fix/rest-api-date-format
...
[REST API] Fixed date format in reports schema
2017-11-28 11:57:49 -08:00
Claudio Sanches
575e2d2224
Advanced webhooks search
2017-11-28 17:39:42 -02:00
Claudio Sanches
88e4d021ab
Fixed webhook pagination results
2017-11-28 15:27:31 -02:00
Claudio Sanches
625f50a5bf
Allow stdClass in legacy API server add_pagination_headers
2017-11-28 15:11:00 -02:00
Claudio Sanches
cc20c1282c
Fixed merge
2017-11-28 15:09:54 -02:00
Claudio Sanches
c6f8e95b97
Merge branch 'master' into feature/webhook-crud
2017-11-28 15:09:10 -02:00
Claudio Sanches
674d75ef24
Merge pull request #17922 from franticpsyx/public-abstract-product-importer-methods
...
Re-usable abstract importer methods
2017-11-28 11:10:53 -02:00
Claudio Sanches
fd4fa0cf71
Fixed coding standards
2017-11-28 11:04:38 -02:00
Claudio Sanches
def87b74bf
Display product URL only if is not hidden in downloads list
...
Fixes #17925
2017-11-28 10:18:43 -02:00
claudiulodro
9d2b76da2b
Fix some focus issues in selectWoo
2017-11-27 14:34:05 -08:00
Jonathan Belcher
2cd514ccb6
Clean up search bar spacing
2017-11-27 16:23:03 -05:00
Jonathan Belcher
a549133a2e
[WIP] Adds search functionality to extensions page
2017-11-27 16:11:55 -05:00
Claudio Sanches
8ed6e7436f
Merge pull request #17909 from woocommerce/update/phpcs-violations
...
Fix some PHPCS violations
2017-11-27 18:42:24 -02:00
Claudiu Lodromanean
06a9352cdd
Merge pull request #17875 from woocommerce/feature/csvimportexportbackorder
...
Importer/Exporter backorder compatibility
2017-11-27 09:50:58 -08:00
claudiulodro
160e562dc6
Better negative number unescape
2017-11-27 09:48:28 -08:00
Manos Psychogyiopoulos
7463182c3f
Change abstract importer methods visibility
2017-11-27 17:22:19 +02:00
Claudio Sanches
c1c02cd0aa
Merge pull request #17899 from woocommerce/update/17321
...
Uncategorized category support
2017-11-27 12:46:01 -02:00
Rodrigo Primo
e006e14d23
Ignore PHPCS in two instances
...
Ignoring PHPCS in two lines of the code where apparently it is not possible to fix the violations. I tried using what @claudiosanches suggested in this comment https://github.com/woocommerce/woocommerce/pull/17909#issuecomment-347168029 but both tags didn't work. Lets revisit this when PHPCS 3.2.0 is released and we can selectively disable rules (see https://github.com/squizlabs/PHP_CodeSniffer/issues/604 ).
2017-11-27 11:00:42 -02:00
Claudio Sanches
9123656155
[REST API] Fixed date format in reports schema
2017-11-27 10:24:43 -02:00
Rodrigo Primo
3d6bd30d8a
Fix some PHPCS violations in includes/data-stores/abstract-wc-order-data-store-cpt.php
2017-11-24 17:25:31 -02:00
Rodrigo Primo
5e43d92e07
Fix some PHPCS violations in includes/data-stores/class-wc-order-data-store-cpt.php
2017-11-24 17:25:16 -02:00
Gerhard Potgieter
9f8460c97a
Merge pull request #17887 from woocommerce/fix/17880
...
Only remove base taxes in cart totals class if item is taxable
2017-11-24 11:21:49 +02:00
Gerhard Potgieter
d2e9b36612
Merge pull request #17865 from woocommerce/fix/17852
...
Exclude spam comments from counts
2017-11-24 11:19:32 +02:00
David Marín
12bc63d64f
Fix space before parenthesis
2017-11-23 20:01:41 +01:00
David Marín
ab6528e844
Update class-wc-admin-list-table-products.php
2017-11-23 19:59:44 +01:00
Claudio Sanches
48132a9dbf
Fixed coding standards
2017-11-23 16:43:54 -02:00
Claudio Sanches
e40138d188
Updated $GLOBALS['post'] data in products shortcode
...
No need to pass it as reference.
And passing by reference is breaking Divi's page builder.
2017-11-23 16:40:59 -02:00
Mike Jolley
42acec92b9
Force term setting
2017-11-23 16:00:34 +00:00
Mike Jolley
856ae87d54
Update method
2017-11-23 15:44:17 +00:00
David Marín
e21631925a
Swapping filter parameters, to adapt to what @mikejolley proposed
2017-11-23 15:52:02 +01:00
David Marín
4210da0341
Using proposed filter name
2017-11-23 15:49:58 +01:00
Mike Jolley
c5a80d080b
Rename so delete is hidden
2017-11-23 14:41:17 +00:00
Mike Jolley
3e921e524d
Install default cat
2017-11-23 14:38:40 +00:00
Mike Jolley
8dea28e6c2
Save default cat when saving products
2017-11-23 14:26:43 +00:00
Mike Jolley
3dc4277490
Install a default cat
2017-11-23 14:26:34 +00:00
Mike Jolley
cd3d61bf98
Add back category filtering which somehow was removed
2017-11-23 14:26:12 +00:00
Rodrigo Primo
5cc84925e3
Typo
2017-11-23 12:17:54 -02:00
Rodrigo Primo
5f0e722ca4
Fix PHPCS violations in includes/wc-update-functions.php
2017-11-23 12:17:21 -02:00
Rodrigo Primo
de5a21dcb0
Fix PHPCS violations in includes/class-wc-install.php
2017-11-23 12:16:47 -02:00
Rodrigo Primo
e12fa54bc6
phpcbf automatic coding standard fixes
2017-11-23 12:16:47 -02:00
Mike Jolley
85cd9647df
Merge pull request #17871 from ragulka/delete-refund-on-exception
...
Ensure refund is deleted when exception is thrown during wc_create_refund()
2017-11-23 13:06:40 +00:00
Mike Jolley
b7d8d63c3d
Merge pull request #17870 from woocommerce/update/bump-wp-version
...
Bump "Requires at least" version
2017-11-23 11:52:48 +00:00
The Dramatist
8ac49d448b
Unused parameter removed form get_filters method of WC_Helper class. ( #17888 )
2017-11-23 11:49:12 +00:00
David Marín
654a036f1a
Added third parameter with taxonomy to filter call
2017-11-23 12:43:37 +01:00
David Marín
50f3db7693
Changed filter so it receives the array instead of the final imploded string
2017-11-23 12:40:00 +01:00
Mike Jolley
5a4e85b5f5
Tweak total_comments
2017-11-23 11:17:23 +00:00
Mike Jolley
6ef391666f
Only remove base taxes in cart totals class if item is taxable
...
Fixes #17880
2017-11-23 11:08:10 +00:00
Shiva Poudel
a0215d85da
Txn clickable ( #17878 )
...
* Make transactional link clickable
* Oops, fix in modal tmpl
2017-11-23 10:18:23 +00:00
urosmil
18e7b25eab
Filter for line items in abstract-wc-order.php ( #17759 )
...
* Filter for line items in abstract-wc-order.php
When creating custom product class there are places where line items is only value that can be handled. This is one of that places causing subtotal values after checkout not to be calculated and displayed.
* Extension to woocommerce_order_get_items filter
This is extension to filter as get_items() is used for different classes and types. This way it would be possible to distinct which type is called for items.
* Removed filtering inside subtotal function
$types parameter is added as parameter for filter inside get_items() function so previous commit is reverted as there is no need for it.
2017-11-23 10:00:03 +00:00
David Marín
55972f4623
Changing the filter name to 'admin_term_links'
2017-11-23 09:33:55 +01:00
Claudiu Lodromanean
9a95441c61
Merge pull request #17872 from woocommerce/fix/17508
...
Properly handle deprecated hooks
2017-11-22 14:34:15 -08:00
claudiulodro
a878b0cde5
Some phpcs
2017-11-22 14:03:26 -08:00
claudiulodro
7e52af8b9a
Fix logic
2017-11-22 11:57:59 -08:00
claudiulodro
ee445b6ee5
Importer/Exporter backorder compatibility
2017-11-22 11:48:19 -08:00
claudiulodro
5513dc4546
Update with master
2017-11-22 11:02:14 -08:00
claudiulodro
32347c5470
Fix legacy API include paths
2017-11-22 10:28:02 -08:00
Claudio Sanches
1034a4bd38
Merge pull request #17867 from woocommerce/update/17851
...
Use an action/option rather than cron to queue rule flushing
2017-11-22 16:11:47 -02:00
Claudio Sanches
1f156620e3
Merge pull request #17866 from woocommerce/fix/17850
...
Confirm navigation if nonce has expired in reports.
2017-11-22 16:09:38 -02:00
Claudio Sanches
4b5f0c98d7
Fixed coding standards
2017-11-22 15:25:27 -02:00
Claudio Sanches
69c8a87f41
Display correct deprecated version for hooks
2017-11-22 15:21:32 -02:00
Claudio Sanches
11772ca015
Fixed coding standards
2017-11-22 14:55:12 -02:00
Claudio Sanches
d27410eacc
Introduced new wc_deprecated_hook function as alias to _deprecated_hook
2017-11-22 14:47:22 -02:00
Mike Jolley
3773b81bc9
Merge branch 'master' into update/order-screen-refinements
...
# Conflicts:
# includes/admin/meta-boxes/views/html-order-item.php
2017-11-22 16:32:34 +00:00
Mike Jolley
f0cbaf08b1
Clickable transaction IDs
2017-11-22 16:31:27 +00:00
Mike Jolley
29fed057af
Mobile styling
2017-11-22 16:28:11 +00:00
Mike Jolley
b3e7260c95
Improve styling of order actions columns
2017-11-22 16:14:30 +00:00
Claudio Sanches
4fb3624604
Fixed coding standards
2017-11-22 14:13:59 -02:00
ragulka
4f2e1ee8d4
Ensure refund is deleted when exception is thrown during wc_create_refund
2017-11-22 17:03:58 +01:00
Claudio Sanches
d39a034f14
Drop support for legacy WP versions
2017-11-22 13:55:48 -02:00
David Marín
d1274acd02
Changing filter so it applies to the full list
2017-11-22 14:01:34 +01:00
Mike Jolley
2795a3399b
Merge pull request #17868 from ahmedofali/master
...
fixing typo replace add to cart to be remove from cart
2017-11-22 12:51:17 +00:00
Ahmed Ali
d8050f99b1
fixing typo replace add to cart to be remove from cart
2017-11-22 14:33:21 +02:00
Mike Jolley
39e86db7a7
Use an action/option rather than cron to queue rule flushing
...
Closes #17851
2017-11-22 11:39:57 +00:00
Mike Jolley
2b1243ea04
Confirm navigation if nonce has expired in reports.
...
Closes #17850
2017-11-22 11:30:22 +00:00
Mike Jolley
90535fee36
Exclude spam comments from counts
...
Fixes #17852
2017-11-22 11:02:02 +00:00
Mike Jolley
15230e295c
Add precision after multiplying quantity
...
Closes #17860
Has no effect on core it seems because we only store prices to the DP
setting. This would be to correct precision added by plugins.
2017-11-22 10:49:28 +00:00
David Marín
7d843b1802
Add filters to mark terms in product list
...
In order to add marks to some terms (category and tags) in the product list, I've added two new filters.
2017-11-22 10:47:51 +01:00
claudiulodro
9ec24731bb
Generalize child_is_in_stock
2017-11-21 15:06:35 -08:00
claudiulodro
99aefc91f3
Changes from feedback
2017-11-21 14:08:17 -08:00
Mike Jolley
16152bfcf0
Merge pull request #17849 from woocommerce/fix/17818-1
...
Update REST API schema for backwards compatibility with WP 4.9
2017-11-21 21:53:18 +00:00
Claudio Sanches
b74fc8963d
Update REST API schema for backwards compatibility with WP 4.9
...
Closes #17818
2017-11-21 16:15:51 -02:00
Claudio Sanches
f289d0e05c
Fixed how to delete meta data on REST API v2
2017-11-21 16:05:39 -02:00
The Dramatist
1783953f15
Admin metaboxes views translation escaping fix ( #17776 )
...
* Data escaped and validated. Plus translator comment documentation added.
* If it should be int then we should change the empty string default parameter to 0 as in 'if' condition checking 0 and empty string are same.
* Extra bracket removed.
* Indentation is fixed now.
* The taxonomy object should not be assigned to a variable before checking if this is a taxonomy or not.
* echo esc_attr__ replaced by esc_attr_e and visually tested.
* As I use WordPress VIP Coding Standard, they were marking them as warnings. But now it's fixed again.
* Escaping fix
* Extra Bracket Fix Again
2017-11-21 17:50:30 +00:00
Claudiu Lodromanean
5af225a2c8
Merge pull request #17846 from woocommerce/fix/17845
...
Slugs are encoded, so decode before outputting to the form
2017-11-21 09:27:03 -08:00
Mike Jolley
208b2d1b81
Slugs are encoded, so decode before outputting to the form
...
Fixes #17845
2017-11-21 16:50:33 +00:00
Mike Jolley
98bebd14f2
Hooks for columns and preview list tables
2017-11-21 16:22:43 +00:00
JeroenSormani
b96fea3e47
Add quantity arg to woocommerce_add_cart_item_data filter
2017-11-21 16:01:23 +01:00
Mike Jolley
78ddd97472
Merge pull request #17822 from woocommerce/fix/17733
...
Use WC_Query->get_query_vars() instead of WC_Query->query_vars
2017-11-21 14:00:53 +00:00
Mike Jolley
8b02185596
Merge pull request #17817 from JeroenSormani/exclude-virtual-from-shipping-tax
...
Exclude virtual tax classes from calcluation for shipping taxes
2017-11-21 13:21:13 +00:00
Mike Jolley
1c12459367
Merge pull request #17827 from woocommerce/fix/missing-text-domain
...
Fixed missing text domain in setup wizard
2017-11-21 13:13:59 +00:00
Claudio Sanches
34ec7a013f
Merge pull request #17835 from woocommerce/fix/17815
...
Checkout should store fee tax lines
2017-11-21 11:06:01 -02:00
Claudio Sanches
216ddc799a
Fixed VSCode auto align mistake
...
One more reason to go back to sublime
2017-11-21 10:53:15 -02:00
Mike Jolley
d9913c0d77
Checkout should store fee tax lines
...
Fixes #17815
2017-11-21 10:49:26 +00:00
Claudio Sanches
f395fcd2e8
Fixed missing text domain in setup wizard
2017-11-20 22:08:23 -02:00
Mike Jolley
830ef8ed73
Change status action buttons
2017-11-20 22:43:37 +00:00
claudiulodro
a73436bdcd
Merge remote-tracking branch 'origin/master' into HEAD
2017-11-20 14:43:12 -08:00
claudiulodro
afb74d4f7c
Should be a number
2017-11-20 14:24:55 -08:00
claudiulodro
cebe335dda
Update routine
2017-11-20 14:21:08 -08:00
Claudio Sanches
9681a331e9
Fixed coding standards
2017-11-20 20:19:09 -02:00
Mike Jolley
2e08bfdb33
Tweak where meta gets sanitized before passing to comparison function
2017-11-20 21:48:35 +00:00
Mike Jolley
698db6c131
When custom attributes are created, they are decoded. Make the values match.
...
When we create/link variations, the entities are decoded.
When the variation form is posted, the entities are encoded (esc_attr).
This decodes them so they match correctly. Fixes #17820
2017-11-20 20:51:32 +00:00
claudiulodro
03d51e5471
Tweak variable on backorder logic
2017-11-20 11:32:30 -08:00
claudiulodro
b64b26d030
Variable products are on backorder if all children are backordered
2017-11-20 11:19:06 -08:00
JeroenSormani
14e5bcd51d
Exclude virtual tax classes from calcluation for shipping taxes
2017-11-20 20:14:23 +01:00
Mike Jolley
86a1f11dd3
Hide actions by default so users have full control over it.
2017-11-20 18:10:15 +00:00
Mike Jolley
79250f274e
Switch order items placements
2017-11-20 17:24:00 +00:00
Mike Jolley
812e8928a1
Add methods back to billing/shipping columns
2017-11-20 17:06:08 +00:00
Claudio Sanches
5a858eb2b1
Use WC_Query->get_query_vars() instead of WC_Query->query_vars
...
Closes #17733
2017-11-20 14:40:56 -02:00
Mike Jolley
c8d1a46315
Default rounding to true.
2017-11-20 16:37:44 +00:00
Mike Jolley
ec5db3b123
When adding precision to taxes, don't round when adding precision.
2017-11-20 16:30:23 +00:00
Mike Jolley
80ffcfb45d
Add round param for `wc_add_number_precision`
...
Let’s us return the cent value without rounding to an integer.
2017-11-20 16:30:04 +00:00
Mike Jolley
d74d79471f
Don't hide columns based on view width
2017-11-20 15:51:25 +00:00
Mike Jolley
1bd30af0d0
Merge pull request #17803 from woocommerce/fix/17600
...
Regenerate download permissions when linking orders.
2017-11-20 12:38:46 +00:00
Claudio Sanches
13978e496b
Merge branch 'master' into feature/webhook-crud
2017-11-20 10:34:35 -02:00
Mike Jolley
34b7f67646
Merge pull request #17755 from woocommerce/feature/webhook-delivery-logging
...
Webhook Logging via WC_Logger
2017-11-20 12:29:43 +00:00
Mike Jolley
99d8d30ec0
Merge pull request #17810 from woocommerce/fix/17762
...
Apostrophe in product search breaks nav filters (invalid characters in hrefs & form data)
2017-11-20 12:16:01 +00:00
Mike Jolley
46775c2f7d
standards
2017-11-20 12:14:05 +00:00
The Dramatist
67aced7d62
Unused variable removed and some comment added. ( #17786 )
2017-11-20 11:47:16 +00:00
Mike Jolley
6e581a313d
Merge pull request #17802 from woocommerce/fix/17780
...
Image resize sizes array exist check
2017-11-20 11:32:27 +00:00
Mike Jolley
c05d8ac94f
Merge pull request #17799 from axelmm/patch-2
...
Access to importer parameters - DRY
2017-11-20 11:31:57 +00:00
Mike Jolley
bfdd5e2e45
Merge pull request #17800 from shivapoudel/tweak/api-request
...
Tweak - Fix IPN validation for PayPal as its notify URL has different case
2017-11-20 11:31:17 +00:00
Gerhard Potgieter
26c7cf15cd
Use single isset with multiple params instead of multiple isset's
2017-11-20 13:23:10 +02:00
Mike Jolley
dff41d3e83
Merge pull request #17793 from jamesckemp/patch-7
...
Minor grammar change
2017-11-20 11:17:34 +00:00
Mike Jolley
deeadccf78
Merge pull request #17790 from mensmaximus/patch-2
...
Fix method upload_dir in class WC_Admin_Post_Types
2017-11-20 11:16:05 +00:00
Gerhard Potgieter
95b669280a
Refactor wc_update_new_customer_past_orders to not call update_post_meta directly but use the datastore. Check if order has downloadable items and then regenerate permissions.
2017-11-20 08:44:42 +02:00
Gerhard Potgieter
1e887c5afa
Add deprecated param to docbloc
2017-11-20 08:13:55 +02:00
Gerhard Potgieter
0725ed11ac
Remove webhook comment migration method, not needed.
2017-11-20 08:12:49 +02:00
Gerhard Potgieter
0360801994
Add deprecated param to deprecated functions, use wc_print_r instead of print_r, PHPCS fix
2017-11-20 08:11:10 +02:00
Gerhard Potgieter
b7f76e1a1b
Make sure sizes array exist before checking for children
2017-11-20 07:50:35 +02:00
Shiva Poudel
4eaeff1729
Tweak - Fix IPN validation for PayPal as its notify URL has different case
2017-11-20 07:52:15 +05:45
axelmm
1a309856c3
Access to importer parameters - DRY
...
Access (read only) to params can be required in many cases when you're playing with importing.
In my case it was extending importer with filters and actions (procedural way - within original csv importer process) but it relates to objective way (extending importer class), too.
I wanted to know if 'update_existing' flag is set (other way than $_POST values) within filter 'woocommerce_product_importer_parsed_data' in parse/expand loop (called from class-wc-product-csv-importer.php 'set_parsed_data' method). Unfortunately this (and similiar) filter doesn't receive importer instance, only row data (raw, parsed and product object). Thanks to https://github.com/woocommerce/woocommerce/pull/15796 we have 'woocommerce_product_importer_formatting_callbacks' filter receiving importer instance. Unfortunately importer '$params' field is not accessible (protected in abstract). This PR resolves this simple problem - we can get this flag (and other params) before importing loops, processing rows etc.
2017-11-20 02:09:49 +01:00
James Kemp
5c03d9cbd5
Minor grammar change
2017-11-18 22:08:42 +00:00
Claudiu Lodromanean
106e6533f2
Merge pull request #17781 from woocommerce/fix/17629
...
When populating defaults, sanitize
2017-11-18 13:40:40 -08:00
Claudiu Lodromanean
89e729cd8e
Merge pull request #17784 from woocommerce/fix/17775-4.9
...
Fix 4.9 conflict with variation names
2017-11-18 13:37:20 -08:00
Alexandre GASNE
0018b4349e
Fix: Apostrophe wrongly escaped for price nav filter and widget nav filters
2017-11-18 20:11:53 +01:00
Michael Weichselgartner
ff8326b20e
Fix method upload_dir in class WC_Admin_Post_Types
...
Fix undefined variable `$uploads` in method `upload_dir` from class `WC_Admin_Post_Types` by reverting back to `$pathdata` as reported in #17789
2017-11-18 20:06:45 +01:00
Mike Jolley
55433aa7a9
Merge pull request #17785 from shivapoudel/fix/visibility-featured
...
Correct escape for featured product checkbox
2017-11-18 18:29:30 +00:00
Mike Jolley
a765367dd5
Merge pull request #17747 from woocommerce/feature/allow-add-content-to-order-preview
...
Introduce hooks to allow custom content into order preview
2017-11-18 18:26:08 +00:00
Michael Weichselgartner
7164a7e190
Update class-wc-admin-post-types.php
2017-11-18 18:16:18 +01:00
Shiva Poudel
1fbc4e77cc
Tweak - Display featured product checkbox inline
2017-11-18 21:43:09 +05:45
Mike Jolley
a23541ad5d
Fix 4.9 conflict with variation names
...
`santiize-title` works differently with `/` chars in 4.9. This update
routine keeps variations functioning by doing a DB update on read.
Fixes #17775
2017-11-18 14:53:18 +00:00
Mike Jolley
8a2050e066
When populating defaults, sanitize
...
part of #17775
Caused by https://github.com/woocommerce/woocommerce/pull/17629/files
leaving attribute names uppercase.
2017-11-18 13:55:26 +00:00
Claudio Sanches
b4347f4071
Restore global $GLOBALS['post'] after render products shortcode
...
Closes #17769
2017-11-17 18:38:30 -02:00
Claudio Sanches
7c955591d7
Introduces _start and _end hooks into order preview template
2017-11-17 18:30:01 -02:00
Claudio Sanches
3f6dfb531c
Merge pull request #17748 from woocommerce/fix/orders-rest-api-schema-types
...
Rest API: Update the schema types for tax_class and price
2017-11-17 17:54:10 -02:00
Claudio Sanches
d9d27a9a97
Fixed "tax_class" type in REST API v1
2017-11-17 17:52:12 -02:00
Claudiu Lodromanean
9c1d3b8108
Merge pull request #17726 from woocommerce/fix/17713
...
non-enabled children should not be ignored
2017-11-17 10:07:38 -08:00
claudiulodro
dddf0ee473
Variable product sync
2017-11-17 08:46:49 -08:00
Mike Jolley
72e078e83e
Merge branch 'fix/17236'
...
# Conflicts:
# includes/class-woocommerce.php
2017-11-17 12:49:02 +00:00
Gerhard Potgieter
fdc89056cd
PHPCS fix
2017-11-17 14:47:51 +02:00
Gerhard Potgieter
c64a73274d
Deprecate WC_Admin_Webhooks::logs_output not used in new crud webhooks
2017-11-17 14:46:09 +02:00
Gerhard Potgieter
ba451f68e4
Remove unused filter and deprecate get_delivery_log function.
2017-11-17 14:43:44 +02:00
Mike Jolley
21e51b9fc6
Merge pull request #17692 from woocommerce/update/16925
...
Add add_to_cart_description method and aria-labels to cart buttons in the loop
2017-11-17 12:35:50 +00:00
Mike Jolley
5ac3129089
Merge pull request #17700 from woocommerce/update/move-settings-to-customizer-17148
...
Update/move settings to customizer
2017-11-17 12:24:36 +00:00
Mike Jolley
14a657e7cc
Merge pull request #17728 from woocommerce/fix/17712
...
Default variation tax class should be 'same as parent'
2017-11-17 12:22:11 +00:00
Mike Jolley
8fe5d6bad0
Merge pull request #17676 from woocommerce/update/17672
...
Clear transients when product terms are updated
2017-11-17 12:21:53 +00:00
Mike Jolley
97d9a35437
Merge branch 'feature/regenerate-images'
...
# Conflicts:
# includes/class-woocommerce.php
2017-11-17 12:12:35 +00:00
Mike Jolley
9b68610c7b
Merge pull request #17718 from woocommerce/fix/17717
...
Added missing meta info (author and date) when adding order note.
2017-11-17 12:03:31 +00:00
Mike Jolley
e9ba9736fc
Merge pull request #17740 from woocommerce/fix/wizard-payment-escaping
...
Wizard: Fix escaping in payment description
2017-11-17 11:47:59 +00:00
Mike Jolley
a2fadc0567
Merge pull request #17735 from woocommerce/feature/16446
...
Webhooks migration script
2017-11-17 11:43:29 +00:00
The Dramatist
85ce4e0078
Class wc emails backorder method extract function removed ( #17724 )
...
* Replaced extract() function usage.
Usage of `extract()` is kinda discouraged. Though here the array `$args` is verified, I think avoiding this `extract()` function will make it better. Besides, without `extract()` the code is more readable and easily understandable.
* Object checking should be done.
Checking `$args['product']` is an object or not should be done before `get_formatted_name()` method is being called.
2017-11-17 11:38:26 +00:00
Gerhard Potgieter
2ec3e5d045
Return url when requesting logs
2017-11-17 09:41:14 +02:00
Gerhard Potgieter
3adb2d8fce
Use this as class reference, use info method for logging, use consistant log filename.
2017-11-17 09:03:32 +02:00
Gerhard Potgieter
98a382174c
Merge branch 'feature/webhook-crud' into feature/webhook-delivery-logging
2017-11-17 08:48:57 +02:00
Kelly Dwan
5bb04dd61f
Rest API: Update the schema types for tax_class and price
2017-11-16 16:39:14 -05:00
claudiulodro
0eba98a4e7
Filter by stock status
2017-11-16 13:07:14 -08:00
Claudio Sanches
563896931e
Introduced hooks to allow custom content into order preview
2017-11-16 18:48:47 -02:00
Mike Jolley
bdea242019
Schema: Attributes are an array of strings
2017-11-16 19:44:14 +00:00
Mike Jolley
a899b53b57
Unit test fix: Exclude syntax_highlighting
2017-11-16 18:58:09 +00:00
claudiulodro
0390cf3e26
Bring up-to-date with master
2017-11-16 10:06:07 -08:00
Claudio Sanches
01983e6b96
Query and save only IDs of products when fetching products by shortcode
2017-11-16 15:14:36 -02:00
Claudio Sanches
909b80ae31
Removed "Delete WebHook logs" tool
2017-11-16 15:09:51 -02:00
Valerie
e9985146d5
Wizard: Fix escaping in payment description
2017-11-16 11:29:21 -05:00
claudiulodro
dd0f748211
Fix invalid html
2017-11-16 08:01:59 -08:00
Claudio Sanches
2669b8edc4
Webhooks migration script
2017-11-16 13:44:01 -02:00
Mike Jolley
591806fd20
Merge pull request #17730 from JeroenSormani/profile-copy-button
...
Assign type='button' to 'Copy from billing address'
2017-11-16 14:43:46 +00:00
Claudio Sanches
94ae9678c8
Merge branch 'master' into feature/webhook-crud
2017-11-16 12:21:56 -02:00
Claudio Sanches
9fe0c7261e
Merge branch 'master' into feature/webhook-crud
2017-11-16 12:20:22 -02:00
JeroenSormani
453862c02f
Assign type='button' to 'Copy from billing address'
2017-11-16 14:46:05 +01:00
Gerhard Potgieter
a4532b1e0b
Make method private again and add new method that checks if new theme declares theme support with custom sizes before generating images.
2017-11-16 15:02:34 +02:00
Gerhard Potgieter
c9cd9b033b
Public method not private, self not $this.
2017-11-16 14:53:44 +02:00
Boro Sitnikovski
fe9b9658a5
Skip wp_kses_post call on image
2017-11-16 13:48:04 +01:00
Gerhard Potgieter
17e588d713
Add method to regenerate images when the theme is switched.
2017-11-16 14:37:33 +02:00
Mike Jolley
710927a278
Default variation tax class should be 'same as parent'
...
Closes #17712
2017-11-16 12:19:31 +00:00
Gerhard Potgieter
3a738d9235
Move filters before calling the callback. Target specific option only when doing the check.
2017-11-16 14:15:30 +02:00
Mike Jolley
4e836754a8
Merge branch 'master' into fix/17713
2017-11-16 12:04:26 +00:00
Mike Jolley
72b3b5055b
FIx variable in get_object_subtotal
2017-11-16 12:03:02 +00:00
Mike Jolley
11d0293ddd
non-enabled children should not be ignored
...
This fixes #17713 by also returning private children (non-enabled).
2017-11-16 11:56:51 +00:00
Mike Jolley
541dde95b3
Merge pull request #17710 from woocommerce/fix/17697-coupon-spend-incl-taxes
...
Coupon min/max spend based on displayed subtotal
2017-11-16 10:59:43 +00:00
Gerhard Potgieter
a59f325f41
Add get_object_subtotal helper method, remove subtotal variable in favor of helper method
2017-11-16 12:43:50 +02:00
Gerhard Potgieter
3af77f13d8
Change tooltip to just say subtotal
2017-11-16 12:28:43 +02:00
Claudiu Lodromanean
6c82861522
Merge pull request #17716 from woocommerce/fix/use-add_filter
...
Use `add_filter` for `comment_feed_where` hook.
2017-11-15 14:37:34 -08:00
Claudiu Lodromanean
6b3fd8e403
Merge pull request #17715 from woocommerce/update/17601
...
Variation add to cart logic
2017-11-15 14:35:52 -08:00
claudiulodro
4ef2152881
Hide/set fields depending on whether managing stock
2017-11-15 14:10:06 -08:00
claudiulodro
bb7f1b1273
Logic tweaks
2017-11-15 13:04:24 -08:00
claudiulodro
be6f9d68bc
Automatic transitions for variables
2017-11-15 12:08:19 -08:00
Akeda Bagus
6572ee7852
Added missing meta info (author and date) when adding order note.
...
Fixes #17717 .
2017-11-16 02:03:07 +07:00
claudiulodro
68e23911ba
Automatically transition stock statuses
2017-11-15 10:48:39 -08:00
Akeda Bagus
6ae10e64e2
Use `add_filter` for `comment_feed_where` hook.
2017-11-16 00:43:12 +07:00
The Dramatist
31155ed531
Woocommerce download readfile chunk number hook proposal ( #17699 )
...
* A hook proposal to modify the chunk number.
`woocommerce_download_readfile_chunk_number` hook is proposed to make modifying the chunk number easily.
* Constant IMO declared for changeable chunk size.
New constant `WC_CHUNK_SIZE` declared to make `WC_Download_Handler` class's `readfile_chunked` method's chunk size changeable.
2017-11-15 16:32:28 +00:00
Mike Jolley
c92f61d6d4
Variation add to cart logic
2017-11-15 16:29:04 +00:00
Mike Jolley
17710b864d
Tweak IPN setting wording
...
@claudiulodro
2017-11-15 15:12:52 +00:00
Mike Jolley
8aa9496b93
Structure
2017-11-15 15:05:31 +00:00
Mike Jolley
56d86aee96
trashed styling
2017-11-15 13:41:20 +00:00
Mike Jolley
128b826791
Merge branch 'master' into tweak/order-screens
...
# Conflicts:
# assets/css/admin-rtl.css
# assets/css/admin.css
# includes/admin/class-wc-admin-post-types.php
2017-11-15 13:36:13 +00:00
Mike Jolley
dea454c88e
Clickable elements
2017-11-15 12:51:14 +00:00
Gerhard Potgieter
3524ed2cf0
Merge branch 'master' of github.com:woocommerce/woocommerce into feature/webhook-delivery-logging
2017-11-15 14:28:14 +02:00
Mike Jolley
da004f3229
fix edit link
2017-11-15 12:25:44 +00:00
Mike Jolley
a57edb97a7
Use passed location
2017-11-15 12:14:55 +00:00
Gerhard Potgieter
4521011219
Adjust discount on min/max spend to work based on the displayed subtotal.
2017-11-15 13:44:07 +02:00
Mike Jolley
ef4859aaf0
Merge pull request #17711 from woocommerce/update/17502
...
Improve the Add Payment Methods display
2017-11-15 11:05:11 +00:00
Mike Jolley
599b10b286
Merge branch 'pr/17664'
2017-11-15 10:31:40 +00:00
Mike Jolley
9e2786a0a3
Today up logic
2017-11-15 10:31:31 +00:00
Gerhard Potgieter
0436e9afcb
Rework tax calculations to work with inclusive and exclusive pricing
2017-11-15 12:23:52 +02:00
Mike Jolley
6a8966382d
Merge branch 'pr/17690'
2017-11-15 10:21:49 +00:00
Mike Jolley
e9bbb3a10f
phpcs
2017-11-15 10:21:38 +00:00
Mike Jolley
76adff572e
woocommerce_recently_viewed_products_widget_query_args filter
...
Closes #17678
2017-11-15 10:19:11 +00:00
Gerhard Potgieter
8cbca4d9d9
Include taxes in minimum and maximum coupon validation checks.
2017-11-15 12:04:02 +02:00
Mike Jolley
8dcd7f5b59
Merge pull request #17696 from yratof/patch-1
...
Removed class within class for admin meta boxes
2017-11-15 10:02:19 +00:00
Mike Jolley
386af1e94e
Merge pull request #17691 from woocommerce/feature/17448
...
Added support for single-product-postname.php template files
2017-11-15 09:41:56 +00:00
Mike Jolley
19cd9c4fd6
feedback
2017-11-15 09:41:26 +00:00
Gerhard Potgieter
0abac7b58e
Log to a seperate log file dedicated to images
2017-11-15 10:34:28 +02:00
Gerhard Potgieter
14bc175241
Remove unused variable, make sure we have the wp image functions loaded before calling them.
2017-11-15 10:23:54 +02:00
Gerhard Potgieter
329f28f08b
Fix SQL query for job queue processing, fix issue where admin images were trying to go through the image resize function.
2017-11-15 10:18:10 +02:00
Gerhard Potgieter
67d2b8e9c5
Use static variable on static class
2017-11-15 10:03:59 +02:00
Gerhard Potgieter
c698b13f6c
Completed background image regeneration using a job and queue.
2017-11-15 09:23:36 +02:00
Gerhard Potgieter
5af93f68ad
Add basic background queue processing framework for image regeneration
2017-11-15 08:36:57 +02:00
Claudiu Lodromanean
4db2a8aa69
Merge pull request #17702 from glagonikas/master
...
PayPal IPN email notifications should be optional
2017-11-14 15:00:23 -08:00
claudiulodro
db117d6344
Backordered products should count as in stock
2017-11-14 14:54:11 -08:00
George Lagonikas
6b7cc782d2
Removing obsolete code
2017-11-14 22:30:28 +00:00
claudiulodro
3050959836
Variations stock status
2017-11-14 14:18:03 -08:00
claudiulodro
dbf6db9373
Show backordered items in admin menu
2017-11-14 13:56:56 -08:00
claudiulodro
cf7bc61b99
Better code
2017-11-14 13:49:22 -08:00
claudiulodro
c312cc35b1
Add new onbackorder stock status
2017-11-14 13:40:03 -08:00
George Lagonikas
bca6bc7375
Text changes
2017-11-14 20:31:39 +00:00
George Lagonikas
87a75ce96e
Simplifying logic
2017-11-14 20:30:49 +00:00
Claudiu Lodromanean
cc5c182f9d
Merge pull request #17679 from woocommerce/update/12517-download-reporting
...
Download reporting
2017-11-14 12:23:01 -08:00
SGroupGeorge
64332d82c7
Text changes
2017-11-14 17:51:46 +00:00
SGroupGeorge
3b2eec75d3
Adding checkbox to make IPN emails optional
2017-11-14 17:34:48 +00:00
Mike Jolley
9e79ceff08
Merge branch 'master' into feature/unsupported-theme
2017-11-14 17:03:35 +00:00
Mike Jolley
616d85f9cb
Fix option names
2017-11-14 16:59:59 +00:00
Mike Jolley
4cb3a30a60
Fix default
2017-11-14 16:43:35 +00:00
Mike Jolley
c0bf381f22
Remove invalid test
2017-11-14 16:41:10 +00:00
Mike Jolley
e222cfc9fa
Conditional settings
2017-11-14 16:38:39 +00:00
Mike Jolley
992d6e3aed
Dump old settings
2017-11-14 16:36:18 +00:00
Mike Jolley
8e7ade8f70
Product options
2017-11-14 16:29:17 +00:00
Mike Jolley
79d918d33e
Merge branch 'feature/unsupported-theme' into update/move-settings-to-customizer-17148
...
# Conflicts:
# assets/css/admin-rtl.css
# assets/css/admin.css
# assets/css/woocommerce-rtl.css
# assets/css/woocommerce.css
2017-11-14 16:02:02 +00:00
Mike Jolley
bc16a85d22
Cropping settings
2017-11-14 16:01:36 +00:00
Andrew Lazarus
ba52e583f9
Removed class within class
...
'<div class="class="wc-order-item-name"">` outputs `<div class="class=" wc-order-item-name="">`
2017-11-14 16:01:57 +01:00
Gerhard Potgieter
016cfabb75
On the fly image regeneration.
2017-11-14 14:39:28 +02:00
Mike Jolley
9c0446b369
Demo notice
2017-11-14 12:32:20 +00:00
Mike Jolley
286d04153c
Add class to handle changes
2017-11-14 12:08:57 +00:00
Mike Jolley
babde741db
Add add_to_cart_description method and aria-labels to cart buttons in the loop
2017-11-14 11:45:16 +00:00
Mike Jolley
a3948e8c6b
Added support for single-product-postname.php template files
...
Closes #17448
2017-11-14 10:39:33 +00:00
Mike Jolley
a50f30f792
Remove filter calling deprecated method
2017-11-14 10:21:29 +00:00
Patrik Pärkinen
12d7bf72f3
#16694 Added sort speed fix to ascending sort as well
2017-11-14 11:19:35 +02:00
Claudio Sanches
f27120f649
Introduced product category filter threshold and load categories dropdown
...
Only use WooSelect when have more than 100 terms
2017-11-13 19:47:48 -02:00
Claudio Sanches
487c039b1c
Fixed coding standards
2017-11-13 19:40:10 -02:00
claudiulodro
9b40ce842d
Remove function that isn't hooked to anything
2017-11-13 12:19:14 -08:00
claudiulodro
493b3b6550
Remove check. ALready handled elsewhere.
2017-11-13 12:16:44 -08:00
claudiulodro
074f9b76b0
Fix init bug and remove nowrap from buttons
2017-11-13 11:56:24 -08:00
The Dramatist
a25e871981
Parameter input, but checked wrong variable. ( #17681 )
...
Here `$offset` should be `$key`. Cause the parameter is named as `$key`.
2017-11-13 19:40:00 +00:00
Mike Jolley
7347b25ce0
Restore removed action
2017-11-13 19:07:02 +00:00
Mike Jolley
04d8184496
More filter options
2017-11-13 19:03:08 +00:00
claudiulodro
57be95493a
phpcs
2017-11-13 10:42:28 -08:00
claudiulodro
9cc69ea021
Add ability to suppress titles to product_page shortcode
2017-11-13 10:36:58 -08:00
claudiulodro
f58e4d4b85
Remove stylesheet register
2017-11-13 10:11:50 -08:00
claudiulodro
8e0e0e8747
Cleanup and integrate styles into main stylesheet
2017-11-13 10:08:46 -08:00
Claudiu Lodromanean
a2f8e08e85
Merge pull request #17675 from woocommerce/fix/17665
...
self_admin_url for multisite compatibility
2017-11-13 09:35:38 -08:00
Mike Jolley
dab7dd9c42
PHPCS
2017-11-13 16:29:44 +00:00
Mike Jolley
3621736400
PHPCS
2017-11-13 16:24:33 +00:00
Mike Jolley
f1f30fc8de
Fix download link
2017-11-13 16:10:32 +00:00
Mike Jolley
eddd7fbfb4
Feedback
2017-11-13 15:58:22 +00:00
Mike Jolley
04d7ccfaa4
Show guest
2017-11-13 15:54:01 +00:00
Mike Jolley
eedf745430
Wording and move report location
2017-11-13 15:36:22 +00:00
Mike Jolley
3e7968d37b
Merge branch 'master' into pr/16418
2017-11-13 14:37:18 +00:00
Mike Jolley
4181033371
Clear transients when product terms are updated
...
Closes #17672
2017-11-13 12:43:12 +00:00
Mike Jolley
4245855625
self_admin_url for multisite compatibility
...
Fixes #17665
2017-11-13 12:09:13 +00:00
axelmm
59534a09e7
Remove unnecessary html formatting
...
Dimensions and weight were unnecessary formatted as html (duplicating values of dimensions_html and weight_html), not as expected raw values
2017-11-11 22:33:22 +01:00
soft79
b74eaba287
Update class-wc-discounts.php
...
'woocommerce_coupon_get_apply_quantity' => ( $apply_quantity, $item, $coupon, $discounts )
2017-11-11 20:33:19 +01:00
axelmm
fb94f67b0f
Remove unnecessary formating, fixes #17662
...
https://github.com/woocommerce/woocommerce/issues/17662
2017-11-11 17:26:09 +01:00
claudiulodro
1934f67daf
Move unsupported product singles stuff to template loader class
2017-11-10 12:48:45 -08:00
claudiulodro
2609a4cd30
Bring up-to-date with feature branch
2017-11-10 10:43:15 -08:00
Mike Jolley
3bf47d7d97
Fixed tests
2017-11-10 17:45:01 +00:00
Mike Jolley
fb8db3313e
Clarify has_archive
2017-11-10 16:32:43 +00:00
Mike Jolley
5adb1edef5
Since options are hidden, remove notices for now - allow use.
2017-11-10 16:26:33 +00:00