Commit Graph

12197 Commits

Author SHA1 Message Date
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
nils-fredrik@maksimer.no 73cce9f15b Allow bulk updates / inserts of products according to #7915. 2015-04-09 22:48:51 +02: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 d4ff494a3f test wc_get_price_decimals, wc_get_price_decimal_separator, wc_get_price_thousand_separator 2015-04-09 17:35:35 +02:00
Nicola Mustone 58f86eddf9 test wc_sanitize_tooltip 2015-04-09 17:24:58 +02:00
Nicola Mustone bf1407a60d added filters to test_wc_placeholder_img 2015-04-09 17:14:59 +02:00
Nicola Mustone ce41820fbf test wc_placeholder_img 2015-04-09 17:10:00 +02:00
Nicola Mustone 68e36f625a test wc_delete_product_transients 2015-04-09 17:00:07 +02:00
Nicola Mustone b8850724d3 tests now check for empty arrays first 2015-04-09 16:56:45 +02:00
Nicola Mustone 5815b5f155 test wc_get_featured_product_ids 2015-04-09 16:50:28 +02:00
Nicola Mustone 2fa4333ad7 remove 0 values from featured array 2015-04-09 16:48:26 +02:00
Nicola Mustone 51c4019c76 test wc_get_product_ids_on_sale 2015-04-09 16:43:18 +02: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
Nicola Mustone 50abebac89 tests WC_Validation 2015-04-08 17:56:02 +02:00
Nicola Mustone bc2bbf07c5 test wc_get_log_file_path 2015-04-08 17:55:54 +02:00
Nicola Mustone 8c52135c26 test wc_get_log_file_path 2015-04-08 17:55:40 +02:00
Nicola Mustone 1f8e512b01 tests WC_Logger 2015-04-08 17:55:19 +02: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