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
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
Paul Dechov
9cd72562a8
Update plugin list on shipping zone toggle
2018-05-02 23:35:42 -04:00
Paul Dechov
2cfbe0a1f0
Remove 'will be installed and activated' messaging in other places
2018-05-02 22:36:47 -04:00
Paul Dechov
bdf6188ed6
Change payment gateway names to plugin name
2018-05-02 17:28:09 -04:00
Paul Dechov
fb0943bb89
Show plugins to install in 'Recommended' step
2018-05-02 17:24:11 -04:00
Paul Dechov
801667324a
Show plugins to install in shipping step
2018-05-02 17:23:36 -04:00
Paul Dechov
57ad34451b
Add payment step service settings plugins to list
2018-05-02 17:00:29 -04:00
Paul Dechov
9b524d7d77
List payment step service plugins to install
2018-05-02 16:58:56 -04:00
Lauren Smith
80835e3aca
Updating repo slug for PayFast in the onboarding wizard
2018-05-02 15:38:16 -05:00
Mike Jolley
d584ed72b9
Merge pull request #19930 from woocommerce/update/19925-api-order-refund-schema
...
Update refunds items schema to match actual response keys.
2018-05-02 18:06:30 +01:00
Claudio Sanches
a55ae32530
Merge pull request #19935 from woocommerce/update/19815
...
Hook doc update
2018-05-02 13:29:23 -03:00
Eitan Shaked
032ed8a3d4
Add new class to order note
2018-05-02 17:14:24 +03:00
Mike Jolley
06ef8c8589
Hook doc update
2018-05-02 14:28:53 +01:00
Mike Jolley
e807c6151f
Merge branch 'master' into update/erasure-requests
2018-05-02 14:06:47 +01:00
Manos Psychogyiopoulos
1895bbe3f3
Deprecate woocommerce_ajax_added_order_items action
2018-05-02 14:49:24 +03:00
Mike Jolley
2e78259452
Compatibility with 4.9 branch
2018-05-02 11:45:02 +01:00
Gerhard Potgieter
992a46c513
Do not unset parent_id when 0 but actuall handle 0 as it can be passed to wp_insert_term.
2018-05-02 12:19:56 +02:00
Gerhard Potgieter
5a2da43733
After talking with @mikejolley we decided it would be better to stick to the original schema, reason makes more sense.
2018-05-02 12:12:06 +02:00
Mike Jolley
6ccf5b14fa
Merge pull request #19922 from woocommerce/fix/downloadcleanup
...
Tool for cleaning up permissions table
2018-05-02 10:41:39 +01:00
Gerhard Potgieter
4a39d8b8cc
Update refunds items schema to match actual response keys.
2018-05-02 10:13:51 +02:00
Gerhard Potgieter
61e624b937
Allow parent:0 param passing when updating a term via the API
2018-05-02 08:44:06 +02:00
Gerhard Potgieter
2124972232
If 0 is supplied as parent ID simply remove it before creating the term. 0 means no parent.
2018-05-02 08:31:28 +02:00
Gerhard Potgieter
bfa2b017d1
Include pending products in the export
2018-05-02 07:47:55 +02:00
claudiulodro
4da458a9df
Tool for cleaning up permissions table
2018-05-01 12:35:37 -07:00
Claudiu Lodromanean
390288e283
Merge pull request #19914 from woocommerce/update/gdpr-log-audit
...
GDPR - log audit
2018-05-01 09:57:36 -07:00
Mike Jolley
d85dd36195
Use new methods and fix phpcs
2018-05-01 16:37:44 +01:00
Mike Jolley
e9b0c6deec
clear_expired_logs and date based clearing functions
2018-05-01 16:37:30 +01:00
Claudiu Lodromanean
78f454fea3
Merge pull request #19918 from woocommerce/update/query-reduction-tweaks
...
Query reduction tweaks
2018-05-01 08:37:25 -07:00
Mike Jolley
e8f3bac6c8
Implement log cleanup cron job (woocommerce_cleanup_logs)
2018-05-01 16:37:14 +01:00
Mike Jolley
113a27fba9
Privacy page content
2018-05-01 14:36:47 +01:00
Mike Jolley
250b7aecd5
Update function to set last active
2018-05-01 14:13:38 +01:00
Mike Jolley
43f6a5114c
Typos and unused variables
2018-05-01 13:54:18 +01:00
Mike Jolley
f59acf1350
Merge branch 'master' into update/erasure-requests
2018-05-01 13:46:53 +01:00
Mike Jolley
1d61f6fb01
Merge pull request #19894 from woocommerce/fix/woocommerce-delete-version-transients-limit
...
Don't schedule event to delete transients if limit set to 0
2018-05-01 13:36:34 +01:00
Mike Jolley
461dfd6489
Avoid query if no limit is set.
2018-05-01 13:26:57 +01:00
Mike Jolley
e77677def2
Merge pull request #19913 from Chouby/woocommerce_cart_item_data_to_validate
...
Improve filter 'woocommerce_cart_item_data_to_validate'
2018-05-01 13:04:13 +01:00
Mike Jolley
828c1e3a7c
Merge branch 'pr/19912'
2018-05-01 13:00:57 +01:00
Mike Jolley
4487463bb4
PHPCS
2018-05-01 13:00:49 +01:00
Mike Jolley
0e4d958571
Prime caches
2018-05-01 12:39:18 +01:00
Mike Jolley
b357aa3e0f
Prime post caches in shortcodes to reduce queries.
2018-05-01 12:31:17 +01:00
Mike Jolley
3c34394296
Set more defaults to reduce query count
2018-05-01 12:15:57 +01:00
Mike Jolley
8e0f0cbc29
Lazy load children and attributes for variable products
2018-05-01 11:57:00 +01:00
Mike Jolley
e677340fcc
No need to load tax rates when taxes are disabled
2018-05-01 11:56:39 +01:00
Mike Jolley
9d23ebf4e3
This setting should be autoloaded as it's used in the catalog.
2018-05-01 11:56:22 +01:00
Mike Jolley
dbd7f2d2e4
Pass autoload when saving options
2018-05-01 11:54:20 +01:00
Mike Jolley
17ad9dac06
Update docs
2018-05-01 10:15:51 +01:00
Mike Jolley
2672c0bb16
Clear order notes during anonymization
2018-04-30 18:34:46 +01:00
Mike Jolley
57ae8285b6
Mask logged PayPal data.
2018-04-30 18:17:12 +01:00
Mike Jolley
aef46ce8d3
Clear paypal logs when debug mode is turned off.
2018-04-30 18:04:52 +01:00
Mike Jolley
610e9b0989
Add disclaimer to debug logging setting
2018-04-30 17:30:55 +01:00
Mike Jolley
d14e59cdb0
Remove some PII from paypal logs and avoid storing custom meta from responses
2018-04-30 17:30:39 +01:00
Norcross
a9cd0d9bd8
including `isset` check for nonce variable.
2018-04-30 11:55:03 -04:00
Frédéric Demarle
fa4b1a741e
Add $product as 2nd param in filter woocommerce_cart_item_data_to_validate
2018-04-30 17:48:22 +02:00
Mike Jolley
59866b679c
Do not log body for webhooks unless debug mode is turned on.
2018-04-30 16:24:23 +01:00
Mike Jolley
cdec3321ac
Broken log due to variable
2018-04-30 16:23:49 +01:00
Claudiu Lodromanean
3943a3b9dc
Merge pull request #19907 from woocommerce/update/include-future-products-export
...
Include scheduled products in the export.
2018-04-30 08:04:41 -07:00
Mike Jolley
6f6f15d22a
Link to erasure page
2018-04-30 15:41:38 +01:00
Mike Jolley
c765ce644d
Inactive account handling
2018-04-30 15:38:45 +01:00
Gerhard Potgieter
a48fababe2
Merge pull request #19842 from woocommerce/fix/19831
...
Extensions helper caching fixes
2018-04-30 14:18:40 +02:00
Mike Jolley
bda186338c
Adds the template to the fragment name so that switching themes invalidates any fragments created under the previous theme
2018-04-30 11:28:51 +01:00
Gerhard Potgieter
3f87b3e009
Include scheduled products in the export.
2018-04-30 07:36:00 +02:00
Claudio Sanches
877cc29604
Ensure coupon amount is always a float value
...
Closes #19889
2018-04-27 18:03:04 -03:00
Claudio Sanches
96c538bf4a
Fixed coding standards for #19866
2018-04-27 16:00:53 -03:00
Claudio Sanches
b7f1d20148
Fixed coding standards
2018-04-27 15:43:27 -03:00
Rodrigo Primo
18a8a6b752
Don't schedule event to delete transients if limit set to 0
...
Third-party code can set the limit of transients to be deleted to 0 using the filter `woocommerce_delete_version_transients_limit`. If this happens, the code shouldn't schedule a cron event to delete more transients to avoid flooding the list of cron jobs.
Fixes #19890
2018-04-27 10:31:45 -03:00
Mike Jolley
495cfb44ce
Merge pull request #19880 from woocommerce/add/adjust-priority-privacy-exporters
...
Reduce priority value for WooCommerce personal data exports
2018-04-27 10:38:00 +01:00
Claudiu Lodromanean
3b24aa9791
Merge pull request #19877 from woocommerce/fix/19863
...
Fix CSV import cleanup methods
2018-04-26 13:05:27 -07:00
claudiulodro
0b51ad006e
Spelling fix
2018-04-26 13:04:09 -07:00
Claudiu Lodromanean
88a13b02db
Merge pull request #19876 from woocommerce/fix/product-type-filter
...
Fix: product type filter should show selected product type
2018-04-26 11:56:04 -07:00
Claudiu Lodromanean
0bf2dfbca8
Merge pull request #19872 from woocommerce/update/email-restrictions-text
...
Updates email restrictions label so it's clear this is a whitelist
2018-04-26 11:49:54 -07:00
Claudiu Lodromanean
0e20fb0768
Merge pull request #19861 from rnaby/250418-222543-wc-product-variation
...
Rewritten the logic and cleaned the code.
2018-04-26 11:46:21 -07:00
Claudiu Lodromanean
08088f15a9
Merge pull request #19858 from rnaby/250418-221130-wc-customer-data-store
...
Removed redundant else statement and inverted the early return
2018-04-26 11:21:41 -07:00
Allen Snook
65311c41c7
Reduce priority value for WooCommerce personal data exports
2018-04-26 10:50:37 -07:00
Mike Jolley
0d4401d9a8
Merge pull request #19871 from woocommerce/update/gdpr-defaults
...
Fix GDPR defaults
2018-04-26 17:22:03 +01:00
Mike Jolley
970a77b43b
This was not needed after all.
2018-04-26 17:18:39 +01:00
Claudiu Lodromanean
9b37eb980f
Merge pull request #19848 from woocommerce/tweak/support-payment_method_in
...
Support payment_method_in when selecting orders
2018-04-26 08:26:33 -07:00
Mike Jolley
b4657d5a42
Status must be set after import
2018-04-26 16:06:04 +01:00
Mike Jolley
90c5cf67fa
Fixed data cleanup after failed import
2018-04-26 16:05:12 +01:00
Boro Sitnikovski
d6b4ca980c
Add support for arrays when building meta query args
2018-04-26 16:49:49 +02:00
Rodrigo Primo
49855b4676
Fix: product type filter should show selected product type
...
Since admin lists were refactored in 8f37ea33ed
, a bug was introduced that prevented the "Filter by product type" select box in the products list page in the admin from showing the selected product type when filtering by "Downloadable" products. Before marking this option as selected, the code was checking if `$wp_query->query['product_type']` is set. This check made sense before the refactor (see 8f37ea33ed (diff-a116210e8adc50b0853846ba935daaadL1544)
) but it doesn't make sense anymore. In the new method, `$wp_query` is not even used.
2018-04-26 10:02:44 -03:00
Mike Jolley
b1dfc31d4e
Remove tx id
2018-04-26 13:15:14 +01:00
Mike Jolley
ef69c27f25
Updates email restrictions label so it's clear this is a whitelist
2018-04-26 12:58:08 +01:00
Mike Jolley
ffc5fc6b74
Merge pull request #19865 from rnaby/260418-090005-wc-checkout
...
Method refactored
2018-04-26 12:37:08 +01:00
Mike Jolley
79c6c6c61b
Merge pull request #19866 from rnaby/260418-091223-wc-checkout
...
get_value method refactored
2018-04-26 12:34:46 +01:00
Mike Jolley
6a1cd802bc
Merge pull request #19868 from rnaby/260418-101617-wc-checkout
...
process_order_without_payment method redundant else removed
2018-04-26 12:29:14 +01:00