Commit Graph

4242 Commits

Author SHA1 Message Date
Mike Jolley ec6fe19db1 Allow name definition in woocommerce_wp_select 2015-03-17 14:44:02 +00:00
Mike Jolley 70d125ae96 [2.3] Fix - get_total_discount() function with certain tax setups.
Revised how discounts/discount taxes are stored for consistency. Always
store ex. tax to make data retrieval easier, and to ensure totals are
correct after settings changes. Backwards compatibility maintained
through use of order versioning.

#7728
2015-03-16 12:17:09 +00:00
Remi Corson fd80f61609 fix variable product docs URL 2015-03-13 17:51:50 +01:00
Mike Jolley e81d2182f5 Sanitize tax_rate_id when saving taxes in the backend to prevent potential SQL injection. 2015-03-13 12:44:04 +00:00
Mike Jolley e2f214b868 Remove space 2015-03-13 10:44:10 +00:00
Mike Jolley efb0b7f72f Fix query redirects
Fixes #7703
2015-03-13 10:33:38 +00:00
Mike Jolley 019e0b8728 Switch to jquery/maxcdn version of jquery smoothness theme
Fixes #7717
2015-03-13 10:20:37 +00:00
Mike Jolley d49b5eb182 pass args to order amount filters
Closes #7718
2015-03-13 10:03:08 +00:00
Mike Jolley 6165d509c7 Use debug option, not testmode
Fixes #7696
2015-03-13 09:38:09 +00:00
Mike Jolley 6447d4081f Prevent notice
Closes #7705
Fixes #7704
2015-03-13 09:25:24 +00:00
Mike Jolley 10c047d38a Send back correct slug after adding term
Fixes #7685
2015-03-13 09:21:55 +00:00
Mike Jolley c44100f9e7 wc_sanitize_tooltip 2015-03-13 09:14:28 +00:00
Gerhard c3a9c027b9 Reverse html encoding and pass through strip tags as tiptip runs encoded html, avoids xss 2015-03-13 08:35:33 +02:00
Claudio Sanches a66d627c70 Improved the wc_get_product_id_by_sku() function for #7695 2015-03-12 17:59:52 -03:00
Claudio Sanches 607d5e9964 Merge pull request #7709 from Nils-Fredrik/master
Loock just for product and product_variation in wc_get_product_id_by_sku(), closes #7695
2015-03-12 17:56:58 -03:00
nils-fredrik@maksimer.no c0ebb7d0ad Fix for #7695
Will now only return posts of type product and product_variation.
2015-03-12 21:52:22 +01:00
Sam Bohler 91e313b924 Fixed DocBlock annotations 2015-03-12 16:39:47 -04:00
Mike Jolley ec4d3efb6f Merge pull request #7689 from woothemes/memcache-install-welcome-redirect
Memcache welcome page redirect issue
2015-03-12 11:37:02 +00:00
Brent Shepherd 028cea41d3 Make sure Simplify customer ID is set on renewals
So that if the renewal is for a failed payment, the the new value is set
on the renewal order's `'_simplify_customer_id'` post meta value and can
be copied back to the original order in `update_failing_payment_method()`.
2015-03-11 14:50:25 -07:00
Brent Shepherd 6d339241a2 Catch exception on renewal payment with Simplify 2015-03-11 14:49:57 -07:00
Mike Jolley 5bcfcf51ff Increase wc_get_weight precision. 2015-03-11 10:45:14 +00:00
Gerhard c9d4655ef1 When running update_option it does not always clear memcache, a workaround is to run delete_option and then add_option instead. 2015-03-11 12:26:51 +02:00
Mike Jolley 8554796c4b Show calculate total when shipping is needed, but shipping is hidden.
Closes #7650
2015-03-10 16:57:43 +00:00
Mike Jolley 0ed3ce9023 Revert "Merge remote-tracking branch 'origin/shipping-costs'"
This reverts commit acc239cd1c, reversing
changes made to b0e0bdcfad.
2015-03-10 16:43:02 +00:00
Mike Jolley acc239cd1c Merge remote-tracking branch 'origin/shipping-costs' 2015-03-10 16:33:55 +00:00
Mike Jolley b0e0bdcfad Do not enforce rating in admin
Closes #7679
2015-03-10 11:01:59 +00:00
Tamara Zuk 4e36efe3af Missing argument on `woocommerce_product_is_on_sale` grouped product filter
Avoids a “missing argument” warning
2015-03-09 17:28:37 -04:00
Barry Kooij b5d64ba932 Decimal Precision can now be set in all orders API calls.
Fixes #7652
2015-03-09 19:07:02 +01:00
Barry Kooij 44d8bee22c Use round instead of number_format 2015-03-09 18:10:49 +01:00
Barry Kooij 650e17c971 Merge branch 'master' of github.com:woothemes/woocommerce
Conflicts:
	readme.txt
2015-03-09 18:08:53 +01:00
Barry Kooij 245a2cf4e7 Added the option to not round the line total. 2015-03-09 18:06:31 +01:00
Mike Jolley 40f8ed5140 Merge remote-tracking branch 'origin/master'
Conflicts:
	readme.txt
2015-03-09 17:05:43 +00:00
Mike Jolley 457050ae9d Improved coupon percent calculation for fixed discounts.
Closes #7669
2015-03-09 17:05:09 +00:00
Barry Kooij 0bb4655da8 Merge branch 'master' of github.com:woothemes/woocommerce 2015-03-09 17:09:17 +01:00
Barry Kooij e99bcc7f77 API: reports/sales now also returns total refunds.
Fixes #7262
2015-03-09 17:09:07 +01:00
James Koster cafe0927f5 count styles in widgets. closes #7677
make category / layered nav list styles and markup consistent with core
post category widget.
2015-03-09 16:06:48 +00:00
Mike Jolley 4171a20e29 Order again with custom attributes.
Fixes #7601
2015-03-09 15:50:13 +00:00
Mike Jolley 01ee531136 Same as #7662 for backend 2015-03-09 13:48:47 +00:00
Mike Jolley 3fc7a0ae65 Allow wc_attribute_label to support product-level attribute names.
Closes #7662
2015-03-09 13:40:07 +00:00
Mike Jolley 5cbd02fef2 Improved message when variation attributes are missing.
Closes #7670
2015-03-09 13:14:05 +00:00
Barry Kooij ca6e9a7371 Merge branch 'master' of github.com:woothemes/woocommerce 2015-03-09 13:19:10 +01:00
Barry Kooij 9c430f5a6a Warn users about unmaintained PHP version on status page. 2015-03-09 13:18:54 +01:00
Mike Jolley 09bee8ccb2 woocommerce_format_content filter
Closes #7663
2015-03-09 11:47:05 +00:00
Mike Jolley 66e6c682ed Only run save_category_fields for product_cat taxonomy.
Closes #7665
2015-03-09 11:29:14 +00:00
Mike Jolley fa0be55b01 transient cache dashboard reports
Closes #7641
2015-03-09 11:07:49 +00:00
Mike Jolley 899952e478 woocommerce_get_breadcrumb filter in class
Closes #7644
2015-03-09 10:17:39 +00:00
Mike Jolley 1a51989420 Merge pull request #7648 from justinstern/master
Skip coupon notices if there's no message
2015-03-09 10:05:25 +00:00
Mike Jolley 1975d6dc13 Merge pull request #7656 from tivnet/patch-5
get_the_title( $shop_page ) instead of $shop_page->post_title
2015-03-09 10:02:22 +00:00
Mike Jolley 40c86a9e4a Merge pull request #7660 from shivapoudel/system-status
Tweaks for System status
2015-03-09 09:38:19 +00:00
Max Rice 7a4360eaf5 Catch Emogrifier Exceptions
Emogrifier throws various exceptions for invalid input, etc. that
currently are not caught anywhere, causing fatal errors or unexpected
behaviors in other plugins. This commit fixes that by catching all
exceptions and logging them.
2015-03-08 19:45:05 -04:00