Commit Graph

15527 Commits

Author SHA1 Message Date
Peter Fabian 92180d2b42 Add scheme to widget id when caching objects.
This should prevent cache from serving mixed content when widget cache is preloaded with http version, then accessed via https.
2018-05-03 14:10:04 +02:00
Peter Fabian 45cd62e3b9 Removed superfluous newline. 2018-05-02 22:15:25 +02:00
Peter Fabian 04dd99613e Putting public functions back.
In case some plugins are using them.
2018-05-02 22:07:49 +02:00
Peter Fabian 084e4885da Removed unused function wc_is_external_resource. 2018-05-02 17:07:19 +02:00
Peter Fabian 8789642fb9 Add protocol to URLs for thumbnails in cart.
Removed wc_get_relative_url(), as it's not used anymore.
2018-05-02 14:34:50 +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
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 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 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
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