Commit Graph

11577 Commits

Author SHA1 Message Date
Claudio Sanches 08c8fad1fc Fixed standards for #7842 2015-04-13 12:31:18 -03:00
Mike Jolley 9f65d2a1fc Added priorities for shipping methods to give more control over defaults.
Closes #7871
2015-04-13 15:32:57 +01:00
Claudio Sanches 14ed7137d2 Fixed subscription free trial period for simplify commerce 2015-04-13 10:46:11 -03:00
Mike Jolley 0a25580f15 Generic product loop method for shortcodes
#7260
2015-04-13 12:48:40 +01:00
Mike Jolley 80b6c6ca3f Merge pull request #7908 from SiR-DanieL/patch-2
Conditions improvement
2015-04-13 10:54:49 +01:00
Mike Jolley f9d1da2081 Merge pull request #7854 from franticpsyx/mini_cart_item_class
Filterable mini cart item class for consistency with cart/order templates
2015-04-13 10:54:35 +01:00
Mike Jolley b82339a4cb Merge pull request #7925 from dominic-p/order-meta-undefined-key
Prevent notices if variation_id isn't set
2015-04-13 10:53:49 +01:00
Mike Jolley e6de50f556 Merge pull request #7842 from nathanielks/hotfix/coupon-meta-box-products-error
Check if product is object before adding to array.
2015-04-13 10:48:09 +01:00
Mike Jolley 259b8b3be7 Merge pull request #7933 from woothemes/price-filter-widget-pagination
Ensure $wp->request has a trailing slash to avoid pagination issues.
2015-04-13 09:38:18 +01:00
Mike Jolley ddb6c585bc Merge pull request #7862 from javorszky/download_perm
Add null date check for download permissions
2015-04-13 09:37:55 +01:00
Mike Jolley cd96ce9042 Merge pull request #7934 from ChromeOrange/master
Update class-wc-gateway-paypal-request.php
2015-04-13 09:35:41 +01:00
Andrew Benbow 196448dc0b Update class-wc-gateway-paypal-request.php 2015-04-11 16:14:27 +01:00
Mike Jolley ec4a61d6e2 Only run wc_page_endpoint_title on frontend
Closes #7881
2015-04-10 16:20:36 +01:00
Mike Jolley 7846513382 deprecate woocommerce_product_reviews_tab
Closes #7877
2015-04-10 16:07:33 +01:00
Andrew Benbow 45c76cd0cb Update class-wc-gateway-paypal-request.php 2015-04-10 15:47:28 +01:00
Mike Jolley 2e2ec824f0 Set field required class
Fixes #7859
2015-04-10 15:43:39 +01:00
Mike Jolley 36a49f87c2 Improve save_attributes ajax function to correctly save text attributes.
Closes #7832
2015-04-10 14:50:23 +01:00
Gerhard c18c873b99 Ensure $wp->request has a trailing slash to avoid pagination issues. 2015-04-10 15:34:09 +02:00
Mike Jolley 12dde04e16 wc_product_cat_class functions
Closes #7923
2015-04-10 13:17:30 +01:00
Mike Jolley 2d99e060a1 Merge branch 'discount-rounding-mode' 2015-04-10 11:06:53 +01:00
Mike Jolley 2ddd07b252 FIx fixed product discount 2015-04-10 10:55:40 +01:00
Mike Jolley 5b1ea0dea1 Remove comments 2015-04-10 10:44:13 +01:00
Mike Jolley 68194bf0ed Round discount totals 2015-04-10 10:28:46 +01:00
Mike Jolley ad6c173757 WC_DISCOUNT_ROUNDING_MODE half down 2015-04-10 10:28:30 +01:00
Mike Jolley ed6fe062a7 Merge pull request #7931 from woothemes/fix/api-check_permission
[2.3] Check for edit_post cap if the post type is revision
2015-04-10 10:14:19 +01:00
Barry Kooij 4650c2300a Simply deny all access to revisions 2015-04-10 11:03:45 +02:00
Barry Kooij 64c79ffe1e Check for edit_post cap if the post type is revision 2015-04-10 10:32:20 +02:00
Dominic be8e61161b Prevent notices if variation_id isn't set
It's a minor thing, but I have ran into circumstances where the `$item`
array doesn't have the `variation_id` set (namely after importing data
using another plugin). This tweak checks for the `variation_id` without
throwing a notice if the array key isn't defined.
2015-04-09 16:15:28 -07:00
Claudio Sanches 1253e75e79 Merge pull request #7919 from SiR-DanieL/patch-3
Added missing parenthesis
2015-04-09 12:49:11 -03:00
Nicola Mustone 8046aa58a2 missing {} 2015-04-09 16:34:33 +02:00
James Koster 56b1699e14 placeholder. closes #7885 2015-04-09 15:17:59 +01:00
James Koster aad06e7f1c [2.3] cart totals hooked into action 2015-04-09 15:15:37 +01:00
Mike Jolley 1f3365f206 Prevent infinite recursion by calling get_cart_from_session once
Closes #7852

A check was aded to prevent get_cart() usage before wp_loaded so all WC
components have a chance to load prior to the cart.

This should solve the edge-case recursion bug by first checking if the
woocommerce_cart_loaded_from_session action has already run. This is
triggered when loading the cart for the first time.
2015-04-09 12:49:20 +01:00
Mike Jolley 0cff7e57cd Run ajax events during template_redirect
Found cases where if you used get_posts during parse_query, you would
get infinite loops.
2015-04-09 12:47:37 +01:00
Mike Jolley a6692c4722 Clarify delete message
Closes #7917
2015-04-09 12:05:07 +01:00
Mike Jolley 33d94aaea4 [2.3] Use single logging method for paypal classes
Closes #7801
2015-04-09 12:00:42 +01:00
Mike Jolley c8c276d058 Show .org plugin version
Closes #7866 Fixes #7863
2015-04-09 11:26:56 +01:00
Claudio Sanches d8a62828a6 Merge pull request #7909 from SiR-DanieL/patch-3
Void return instead of string
2015-04-08 11:36:11 -03:00
Nicola Mustone c8687d35d8 methods don't return anything 2015-04-08 16:28:06 +02:00
Nicola Mustone 5e758bb8f9 conditions improvement 2015-04-08 14:34:50 +02:00
Barry Kooij 017c3b341e Merge pull request #7655 from SiR-DanieL/unit
Begin tests WC_Validation
2015-04-08 13:15:18 +02:00
Mike Jolley 37507ec451 Merge pull request #7654 from SiR-DanieL/patch-4
Fix documentation for unit tests
2015-04-08 12:12:53 +01:00
Mike Jolley 204c65ca6a Merge pull request #7836 from aelia-co/master
Added support for JOIN types in WC_Admin_Report
2015-04-08 12:11:04 +01:00
Mike Jolley 44a6952e16 Merge pull request #7331 from shivapoudel/bulk-message
Bulk message
2015-04-08 12:10:56 +01:00
Mike Jolley 50575c2355 Merge pull request #7872 from WPprodigy/patch-1
Enhanced Error Message
2015-04-08 11:55:24 +01:00
Mike Jolley 26e7a5c705 Merge pull request #7865 from SiR-DanieL/scrutinizer-issues
Fix scrutinizer issues
2015-04-08 11:53:44 +01:00
James Koster 8fa67a8441 tooltip style tweaks 2015-04-08 10:27:14 +01:00
James Koster cd20ce6789 variation images. closes #7844 2015-04-08 10:19:23 +01:00
James Koster f6346c705c Merge pull request #7889 from shivapoudel/tweak-backbone-modal
Tweak backbone modal
2015-04-08 10:02:42 +01:00
Barry Kooij 99f5aa0dfa Merge pull request #7879 from dannyvankooten/master
Changing all inefficient selectors of $('body') to $(document.body), whi...
2015-04-07 16:09:00 +02:00