Commit Graph

11541 Commits

Author SHA1 Message Date
Mike Jolley ad6c173757 WC_DISCOUNT_ROUNDING_MODE half down 2015-04-10 10:28:30 +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
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
shivapoudel 737638cd12 Slightly decrease the h1 font-size 2015-04-04 14:13:03 +05:45
shivapoudel e02b1db1b7 Break the outline only for focus state 2015-04-04 14:08:02 +05:45
shivapoudel 257381282c Refactor the styles for backbone modal header 2015-04-04 14:03:47 +05:45
shivapoudel 227c83a084 Use of <button> instead of <a> for modal-close
This was the clone of themes.php modal close button
2015-04-04 13:57:20 +05:45
shivapoudel 29f584ba98 Fix - Unusual slightly dark box on the backdrop of modal right side 2015-04-04 13:51:10 +05:45
shivapoudel 27f3042ef5 Utilize the border-box + content_h math logic 2015-04-04 13:43:29 +05:45
Claudio Sanches 2fb06e4c29 [API] Fixed the position type for attributes and images 2015-04-03 15:01:41 -03:00
Danny van Kooten 88f2e690bb Changing all inefficient selectors of $('body') to $(document.body), which is about 80% faster (and even more on mobile, see https://jsperf.com/jquery-body-vs-document-body-selector/2 ). 2015-04-03 14:21:47 +02:00
James Koster 5b1411c771 gallery img title/caption. closes #7857 2015-04-02 18:55:12 +01:00
Caleb Burks 3728f8b001 Enhanced Error Message
As pointed out by jnachtigall (https://github.com/woothemes/woocommerce/issues/7870), this could help customers who may have accidentally mis-typed the coupon.
2015-04-01 16:56:10 -07:00
James Koster 944723d7ac tel input #7827 2015-04-01 17:36:58 +01:00
James Koster b11f6753df Merge pull request #7868 from woothemes/select2-admin
select2 admin z-index
2015-04-01 16:31:55 +01:00
Nicola Mustone d2d2bf60b0 revert typecasting format 2015-04-01 17:28:51 +02:00
Mike Jolley 5bce366d40 Merge pull request #7749 from javorszky/download-filter
Adds filter to download permissions results
2015-04-01 16:27:07 +01:00
Nicola Mustone 765b1e2e7d wrong var 2015-04-01 15:35:53 +02:00
Nicola Mustone 85fd634861 fix scrutinizer issues 2015-04-01 15:33:56 +02:00
Mike Jolley c19f2e573e [2.3] Only automatically cancel orders created via checkout + allow post_parent to be set 2015-04-01 14:21:10 +01:00
James Koster 483680e716 z-index 2015-04-01 11:01:35 +01:00
Claudio Sanches a1e68cd879 Merge pull request #7858 from SiR-DanieL/patch-1
Typo in class-wc-webhooks.php
2015-03-31 12:28:22 -03:00
Nicola Mustone b6991d869a typo 2015-03-31 17:22:21 +02:00
Mike Jolley 06f2ac2f09 [2.3] Remove rounding from shipping cost to greater precision with taxes 2015-03-31 13:59:17 +01:00
Claudio Sanches e196ab49f4 Merge pull request #7856 from kilbot/master
Use wc_stock_amount format function in REST API orders output
2015-03-31 09:58:00 -03:00
Mike Jolley c410771de2 [2.3] Calculate taxes should save _line_tax_data 2015-03-31 13:21:10 +01:00
Mike Jolley 20850bc742 Fix last_month logic which breaks in feb 2015-03-31 13:13:16 +01:00
Mike Jolley b603bde738 [2.3] Respect show_in_admin_all_list 2015-03-31 13:13:16 +01:00
Paul Kilmurray c8d52c7c2d Use wc_stock_amount format function
This allows the REST API to honour the `woocommerce_stock_amount` filter, eg: for decimal quantity values
2015-03-31 18:36:27 +08:00
Claudio Sanches 634c198341 Merge pull request #7849 from franticpsyx/filter_typo
[2.3] Fix typo in email-order-items.php
2015-03-30 10:45:24 -03:00
Manos Psychogyiopoulos 3ac13562f5 typo 2015-03-30 16:15:23 +03:00
Gabor Javorszky e76749de03 Adds filter to download permissions results
The justification for this filter is that Subscriptions will be saving download permissions on the subscription itself, not the original order. This filter would allow us in the future to remove the entry for a file for the original order if the same file has a subscription associated with it.
2015-03-30 14:19:47 +02:00
Mike Jolley 36a916ff2f Merge pull request #7772 from SiR-DanieL/patch-7
Added REST API version in system status
2015-03-30 10:34:27 +01:00
Mike Jolley c6dae2b286 Merge pull request #7834 from SiR-DanieL/scrutinizer-issues
Small tweaks and style fixes
2015-03-30 10:33:27 +01:00
Mike Jolley 36b8c2c2b6 Merge pull request #7839 from pehaa/master
Fix for issue 7838
2015-03-30 10:29:01 +01:00