Commit Graph

298 Commits

Author SHA1 Message Date
Mike Jolley 479e4b5f89 Merge pull request #3827 from pmgarman/master
wp_insert_post should have true as $wp_error parameter
2013-09-25 00:02:52 -07:00
Brent Shepherd bbcc2441a4 Add new 'woocommerce_pre_payment_complete' action
And an action to fire when order status != pending|on-hold|failed
2013-09-24 19:54:04 -07:00
Patrick Garman 1292a9f51a wp_insert_post should have true as $wp_error parameter
Add `true` as $wp_error parameter for wp_insert_post, otherwise it returns zero instead of a WP_Error object and the checkout process is not stopped.

@mikejolley - the messages from WP_Error are not displayed or logged, making debugging this difficult. Maybe we should check WP_DEBUG and display the message if it is set to true? either that or actually use the logger in WooCommerce for the first time?
2013-09-24 16:08:32 -05:00
Mike Jolley 66adf51e67 Filterable get_base_postcode and _city methods used for base taxes. Closes #3810 2013-09-24 16:56:55 +01:00
Mike Jolley de9bc28b43 Prevent variable products without variations from being posted and show error in admin. Closes #3763 2013-09-24 16:37:51 +01:00
Mike Jolley b5a798c9af Fix variation saving and notices 2013-09-24 16:21:12 +01:00
Mike Jolley 51ee4ee2d8 Allow access to admin-post Closes #3814 2013-09-24 15:21:40 +01:00
Mike Jolley c58d5d5ea4 is_in_stock uses notify_no_stock_amount option. Closes #3446. 2013-09-24 13:31:15 +01:00
Mike Jolley 9a98be6a15 WOOCOMMERCE_DELIMITER constant. Closes #3476. 2013-09-24 12:24:26 +01:00
Mike Jolley a5d71a8113 Fix for submitting comments 2013-09-24 11:48:42 +01:00
Remi Corson 493f3bffe3 Added Russian Rubles to PayPal valid currencies list 2013-09-24 12:41:23 +02:00
Mike Jolley 31c34f6552 Wrong checked var 2013-09-24 10:06:41 +01:00
Illimar Tambek 64c09cabd7 Add array to woocommerce_downloadable_file_permission_format 2013-09-24 11:10:46 +03:00
Mike Jolley 7fb49c4b68 Round price adjustments. Closes #3797. 2013-09-23 16:22:25 +01:00
Mike Jolley ef1d565f55 standard should be blank. Closes #3799.
@coenjacobs .15
2013-09-23 16:16:33 +01:00
Mike Jolley 622715ec36 Option for itemized vs grouped taxes. Closes #3453. 2013-09-23 16:10:09 +01:00
Mike Jolley 06ef44c9df Pass args to variation forms from cart page. Closes #3568 2013-09-23 15:47:47 +01:00
Mike Jolley 5954619e02 Set session when removing last item. Closes #3739 2013-09-23 14:01:17 +01:00
Mike Jolley 97b1e176d2 Merge branch 'downloadable-files-2.1'
Conflicts:
	assets/css/admin.css
2013-09-23 12:44:35 +01:00
Mike Jolley 71cb94ebfa Simpler tax rate check which Closes #3813
Could do with some more testing @ChromeOrange, and applying to .15 if
ok @coen
2013-09-23 12:44:15 +01:00
Mike Jolley 96a7a4b730 Restructure 'file_paths' to allow for names (Closes #3320) etc. For #2765.
@coenjacobs @justinstern @maxrice These are major changes - CC ing you
guys in to take a quick look through. I know some extensions such as
vouchers will be affected.
2013-09-20 17:01:09 +01:00
Coen Jacobs f0fe86a8ac Merge branch 'master' of https://github.com/woothemes/woocommerce 2013-09-20 15:51:50 +02:00
Coen Jacobs e035864c8a Check for existing array before using key. Closes #3807 2013-09-20 15:51:06 +02:00
Mike Jolley b93df4e706 Excl and incl. display options for prices, and suffix to add additonal info and prices. Closes #1506. 2013-09-19 16:31:54 +01:00
Mike Jolley 4ef07f6a66 Cleanup defaults. Closes #3778 2013-09-19 15:02:17 +01:00
Mike Jolley 512f2caac4 Merge pull request #3784 from karennaylor/master
add pattern matching to local delivery postcodes
2013-09-19 06:43:53 -07:00
Mike Jolley 3ee6e2fa22 Validate rules, instead of doing it by key. Closes #3792. 2013-09-19 14:39:53 +01:00
Mike Jolley 87d7fce7c3 Merge pull request #3800 from BFTrick/tweak-new-order-email-copy
Tweaking New Order Email Description
2013-09-19 04:35:07 -07:00
thenbrent fb548d145e Fix logic on coupon check 2013-09-18 17:02:56 -07:00
thenbrent 13e337b82d Fix coupon checks in cart 2013-09-18 16:49:29 -07:00
Patrick Rauland 885a95b21d *sigh* forgot a period in the new order description 2013-09-18 14:23:14 -05:00
Patrick Rauland af8919f1de tweaking new order email description 2013-09-18 14:18:40 -05:00
Dominic d06a15ea72 Add a template for view order shortcode
Instead of hard coding the HTML into the shortcode definition.
2013-09-16 14:57:10 -07:00
Mike Jolley 23c59a4d08 Merge pull request #3783 from greguly/patch-1
Fixes blank page error
2013-09-16 04:48:06 -07:00
Mike Jolley b377217d1b Compat with brands - filters should be prepended with filter_
@coenjacobs can this be applied to .15?
2013-09-16 12:43:16 +01:00
Karen Naylor 5c40d863e1 add pattern matching to local delivery postcodes 2013-09-14 16:08:17 +01:00
Gabriel Reguly a5f2b01219 Fixes blank page error
Fix to avoid blank page error, apparently prevents a memory exausted condition.

Error source: 
http://wordpress.org/support/topic/blank-page-after-return-form-cielo-buypage?replies=15

Some info:
http://stackoverflow.com/questions/8379829/domdocument-php-memory-leak

Another people using the same code: http://nathanstaines.com/articles/wordpress-word-count/

Cheers,
Gabriel
2013-09-14 00:42:03 -03:00
Mike Jolley edbe9b5fa2 Redirect to myaccount. Closes #3740
@coenjacobs .15
2013-09-13 16:37:26 +01:00
Mike Jolley 5f741819b9 Merge pull request #3757 from ragulka/address-hooks
Allow using custom address types
2013-09-13 08:03:55 -07:00
Mike Jolley 5b2ed3f243 Fix search_post_excerpt when quotes are searched. Closes #3767
@coenjacobs for .15 too
2013-09-13 15:14:19 +01:00
Mike Jolley f0d255ac9c Remove private methods from session handler. Closes #3759 2013-09-13 13:39:46 +01:00
Mike Jolley 759e74c860 Safari doesn't support the 'download' attribute. At least get it to open. Closes #3754 2013-09-13 13:38:36 +01:00
Mike Jolley 9f323af118 Fix paging total closes #3774 2013-09-13 12:28:20 +01:00
Mike Jolley 34478b3faf Merge pull request #3756 from ragulka/download-hooks
Add product download access grant/revoke hooks.
2013-09-13 04:20:56 -07:00
Mike Jolley e90efe1c28 Merge pull request #3776 from crazyscience/patch-1
Removed 'widget_text' from array of force_ssl filtered objects.
2013-09-13 04:11:11 -07:00
Mike Jolley 7cf3c67c76 Wrapper for wp_get_post_terms to handle parent sorting. Closes #3762. Closes #3758
@coenjacobs for .15
2013-09-13 12:07:58 +01:00
Mike Jolley 9e30ebbaa9 Merge pull request #3741 from ragulka/security-improvements
Frontend security improvements
2013-09-13 03:33:09 -07:00
Mike Jolley 7e01086ad3 Merge pull request #3679 from dimitrov-adrian/patch-6
Adding support for percentage factor of additional costs.
2013-09-13 03:20:17 -07:00
Mike Jolley 519c24a540 Merge pull request #3653 from pixeltrix/add-email-style-inline-filters
Add hooks for overriding default email inline styles
2013-09-13 03:15:55 -07:00
crazyscience feaf8ed0cb Removed 'widget_text' from array of force_ssl filtered objects.
Forcing SSL for all content in the text widget prevents adding links third party sites that do not support SSL. (ie. Partner sites). Furthermore, it's the assumed responsibility of the individual entering HTML into the text widget to ensure site security when referencing to outside sites.
2013-09-12 10:34:48 -07:00