Claudio Sanches
4fd6dbd880
Merge pull request #20740 from woocommerce/fix/20224-b
...
Escape sku input properly for quick edit
2018-07-10 15:22:09 -03:00
Claudio Sanches
3ed4dea4bb
Merge pull request #20723 from woocommerce/fix/20707
...
Only wordwrap plain emails
2018-07-10 15:21:57 -03:00
Claudio Sanches
1c7b2f3100
Merge pull request #20670 from woocommerce/pr/20669
...
Deleting a product via API should handle children products regardless of type.
2018-07-10 15:16:13 -03:00
Gerhard Potgieter
ac09473853
Escape sku input properly for quickedit
2018-07-10 10:56:49 +02:00
Gerhard Potgieter
36b6bd79c0
Add update routines to recreate user roles
2018-07-10 10:30:11 +02:00
Claudiu Lodromanean
af98ef66e7
Merge pull request #20730 from woocommerce/fix/20716
...
Fix log file deletion
2018-07-09 11:35:45 -07:00
Claudiu Lodromanean
24a1ccf5fc
Merge pull request #20732 from woocommerce/update/20709
...
Outdated templates notice improvements
2018-07-09 11:27:46 -07:00
Claudiu Lodromanean
4d0890bf3b
Merge pull request #20714 from yratof/yratof-patch-item-name
...
Added filter on item name in quotes
2018-07-09 11:06:45 -07:00
Claudiu Lodromanean
e8a2e19b27
Merge pull request #20648 from woocommerce/update/crud-get-image
...
Custom tables: Get image from ID, not post thumbnail
2018-07-09 11:04:52 -07:00
Peter Fabian
28cb32e54b
PHPCS fixes.
2018-07-09 18:30:10 +02:00
Peter Fabian
7443a2f906
Switched variation creation to CRUD methods for unit test.
2018-07-09 18:27:56 +02:00
Peter Fabian
3af9c1e95b
Merge branch 'master' into fix/20349
...
# Conflicts:
# tests/framework/helpers/class-wc-helper-product.php
# tests/unit-tests/api/products.php
2018-07-09 18:18:06 +02:00
Peter Fabian
2839dba7d2
Switched implementation of variation query parameters in the API from SQL query adjustment to one extra parent query.
2018-07-09 17:14:12 +02:00
Peter Fabian
4a42e2a7fc
Added unit tests for query params for variations REST API endpoint.
2018-07-09 17:12:23 +02:00
Peter Fabian
55d7ea4ac5
Improved unit tests for products REST API endpoint.
2018-07-09 17:11:50 +02:00
Gerhard Potgieter
56a9799e6d
Merge pull request #20654 from woocommerce/update/get-terms
...
Custom tables - remove get terms
2018-07-09 15:27:26 +02:00
Gerhard Potgieter
a4e3283b20
Update outdated templates notice
2018-07-09 15:10:49 +02:00
Gerhard Potgieter
beaa610cc0
Only load tables for system that is part of current multisite, this avoids displaying all tables in a MS speeding up page load, and also prevent divulding tables on other sites in the MS environment.
2018-07-09 13:48:05 +02:00
Gerhard Potgieter
bc3c780b92
PHPCS fixes
2018-07-09 13:04:16 +02:00
Gerhard Potgieter
1fdcf2a238
Fix log file deletion functionality.
2018-07-09 13:01:23 +02:00
Gerhard Potgieter
ef2f868b89
Add edit_theme_options capability to shop manager to allow access to customizer for changing WooCommerce settings.
2018-07-09 10:45:48 +02:00
Towhidul Islam
7a957cc130
Convert hardcoded db prefix to dynamic db prefix. Fixes #20718
2018-07-08 10:35:32 +06:00
claudiulodro
38324edc71
Only wordwrap plain emails
2018-07-06 13:29:01 -07:00
Andrew Lazarus
d49f02a4e6
Updated prefix in filter
2018-07-06 19:04:08 +02:00
Claudiu Lodromanean
404fbca655
Merge pull request #20722 from woocommerce/tweak/image-size-filters
...
Add image size filters to wc_get_product_attachment_props()
2018-07-06 09:38:39 -07:00
Claudiu Lodromanean
9792f3399e
Merge pull request #20706 from woocommerce/fix/20705
...
Fixed Webhooks and REST API Keys list table and settings
2018-07-06 09:26:44 -07:00
Claudiu Lodromanean
2895c1cbca
Merge pull request #20704 from woocommerce/update/obw-paypal-express-checkout-name-change
...
OBW: Change name of PayPal Express Checkout gateway to match rebranding
2018-07-06 09:13:58 -07:00
Claudiu Lodromanean
8ba3c4e2e5
Merge pull request #20655 from woocommerce/fix/20640
...
Removed unnecessary form change trigger on load of checkout page.
2018-07-06 09:13:06 -07:00
Tiago Noronha
fda124147b
phpcs
2018-07-06 16:36:19 +01:00
Tiago Noronha
9970f1799a
Add image size filters to wc_get_product_attachment_props()
2018-07-06 16:35:43 +01:00
Peter Fabian
6c70064a82
Added test products API for product tag and attributes query parameters.
2018-07-06 16:57:40 +02:00
Peter Fabian
e769029af6
Make create_attribute function for PHPUNIT more versatile by removing hardcoding.
2018-07-06 16:08:32 +02:00
Peter Fabian
1091eb5feb
PHPCS corrections.
2018-07-06 16:01:49 +02:00
Peter Fabian
fe77b9e54f
Fixed the variation product helper in unit tests.
...
Previously, the variable product had 2 variations, but one of them had a term assigned ('large') that wasn't assigned to the parent product. Normally, when variable product is created, parent has all the terms assigned to its children assigned.
2018-07-06 16:00:59 +02:00
Peter Fabian
9c420125a3
Added tests for API query parameters for products endpoint.
2018-07-06 12:58:57 +02:00
Brent Shepherd
3993126f78
Set array keys on scheduled webhook action
...
To make it clearer in the database what the args refer to, e.g.
instead of storing the scheduled action's args as:
[1,123]
This patch changes it so that the args are stored as:
["webhook_id":1,"arg":123]
This has no impact on callbacks on the hooks, they are still passed
the args as normal.
2018-07-06 15:41:22 +10:00
Brent Shepherd
9aee2fa97b
Add webhook group for scheduled aysnc deliveries
...
This will make it possible in future to run queues specifically for
delivering webhooks, instead of deliering webhooks in the same queue
as other actions, like scheduled payments, emails or other actions
scheduled by other plugins. This can be used to provide better
control over webhook delivery, which allows for sending webhooks more
quickly than if they are only included in batches of other actions.
2018-07-06 15:41:22 +10:00
Brent Shepherd
f28f809edb
Use Action Scheduler for async webhook delivery
2018-07-06 15:41:22 +10:00
Brent Shepherd
b4c7e590b1
Load Action Scheduler lib
2018-07-06 15:41:22 +10:00
Brent Shepherd
cfb1239c3b
Merge commit '10c4a515e40b9d3f5903b15e97376bb153e38c61' as 'includes/libraries/action-scheduler'
2018-07-06 15:40:54 +10:00
Brent Shepherd
10c4a515e4
Squashed 'includes/libraries/action-scheduler/' content from commit 6b3282f33
...
git-subtree-dir: includes/libraries/action-scheduler
git-subtree-split: 6b3282f3324c1896bd7143db9c7c1fdd64765478
2018-07-06 15:40:54 +10:00
Andrew Lazarus
97269fc5d9
Added filter on item name in quotes
...
Filter added to item in quotes.
Initially was thinking that is it needed to translate the quotes only? I can't find any languages that do this specifically, but if it's a RTL language, perhaps you'd swap around the quote direction.
The function `wc_add_to_cart_message` gives you the filter `wc_add_to_cart_message` to play with, but is already set in stone as HTML, and if you truly want to change the HTML of this message, you would need to rewrite the function.
Simply adding `<strong>` to the product title is not possible without preg_replacing or hooking into gettext
2018-07-05 16:10:32 +02:00
Claudio Sanches
b044e4c46d
Fixed missing bulk action notices for REST API keys
2018-07-04 16:24:27 -03:00
Claudio Sanches
5d3653b8ca
Fixed message when save REST API keys
2018-07-04 16:13:25 -03:00
Claudio Sanches
8f3af95004
Fixed revoke key bulk action
2018-07-04 16:09:04 -03:00
Claudio Sanches
44f081ac7e
Prevents save notice in keys table list
2018-07-04 16:07:17 -03:00
Claudio Sanches
1cf0c78beb
Prevents "Your settings have been saved." notices on the table list
2018-07-04 16:04:47 -03:00
Claudio Sanches
7e94f45f12
Custom search box
2018-07-04 15:43:31 -03:00
Claudio Sanches
3774a05077
Only use "post" in list table
2018-07-04 15:43:13 -03:00
Claudio Sanches
2a0a826be1
Fixed form parameters for webhooks and keys admin forms
...
Fixes #20705
2018-07-04 15:30:08 -03:00