Commit Graph

27126 Commits

Author SHA1 Message Date
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 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
Claudiu Lodromanean 390288e283
Merge pull request #19914 from woocommerce/update/gdpr-log-audit
GDPR - log audit
2018-05-01 09:57:36 -07:00
Claudiu Lodromanean 42b0b2aada
Merge pull request #19920 from woocommerce/update/log-purge
Log file cleanup/purge
2018-05-01 09:33:56 -07:00
claudiulodro 9c1179856d Update unit tests 2018-05-01 09:32:29 -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 d40b704cba Remove deprecation test 2018-05-01 13:39:32 +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 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 9ddd8e6233
Merge pull request #19909 from woocommerce/update/za-locale-tax-rate
ZA tax rate changed from 14 to 15% on 1 April 2018
2018-04-30 08:05:10 -07: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
Gerhard Potgieter a48fababe2
Merge pull request #19842 from woocommerce/fix/19831
Extensions helper caching fixes
2018-04-30 14:18:40 +02:00
Gerhard Potgieter 0fe91711a9
Merge pull request #19886 from pierrebuet/master
Modify jQuery selector to include select tags
2018-04-30 14:12:19 +02:00
Gerhard Potgieter d253b297a2
Merge pull request #19910 from woocommerce/fix/caching-after-theme-switch
Invalidate fragment cache on theme switch
2018-04-30 13:48:51 +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 3808268eb1 ZA tax rate changed from 14 to 15% on 1 April 2018 2018-04-30 11:19:42 +02:00
Gerhard Potgieter 46e426d451
Merge pull request #19895 from woocommerce/fix/19889
Ensure coupon amount is always a float value
2018-04-30 07:45:52 +02: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
pierrebuet 030cb2690a Identation change 2018-04-27 22:42:42 +02: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 9e3d373cd6
Merge pull request #19887 from woocommerce/fix/19871-test
Sets the option before running test so it passes :)
2018-04-27 10:38:37 +01: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
Mike Jolley adf1c92666 Sets the option before running test so it passes :) Broken in #19871 2018-04-27 10:01:02 +01:00
pierrebuet 74c7fdb35c Modify jQuery selector to include select tags 2018-04-27 01:20:53 +02:00