Commit Graph

12462 Commits

Author SHA1 Message Date
Mike Jolley f414ab99b4 Merge pull request #8375 from justinshreve/negative-refund-amount-8346
Prevent negative refund amounts (#8346)
2015-06-16 14:25:17 +01:00
Claudio Sanches 680605481f Merge pull request #8383 from woothemes/pages-cant-be-created-on-install-issue-8269
Allow trashed pages to be republished, closes #8269
2015-06-16 10:15:52 -03:00
Mike Jolley 93fbfe0bc3 Merge branch 'flat-rate-shipping-refactor' 2015-06-16 14:09:38 +01:00
Mike Jolley 583e1fc284 Typo closes #8381 2015-06-16 14:08:46 +01:00
Mike Jolley 71fc6c207e Free should only be used if costs set. If left blank, offer no rate
Closes #8380
2015-06-16 14:07:28 +01:00
davidlenehan 2fb7e0b52b Allow trashed pages to be republished
Expanding on @mehulkaklotar’s fix above. One issue is that is a deleted
store page has had its short code removed then it won’t be republished
and that page is still missing.

This fix catches pages that are in the trash but have no short code.
Those pages are now left in the trash and new page with the correct
short code is added in its place.

Fixes #8269
2015-06-16 12:31:15 +01:00
Mike Jolley 2347418c5b International shipping + legacy updater 2015-06-16 11:37:58 +01:00
Claudio Sanches ce2314d554 Merge pull request #8377 from justinshreve/order-item-meta-filter-8353
Add new filters around order meta (#8353)
2015-06-16 00:19:15 -03:00
Justin Shreve e832f1d132 Add some filters around order meta to enable filtering the output of meta/attribute information. 2015-06-15 22:16:44 +00:00
Justin Shreve b68244f3eb Prevent negative refunds in wc_create_refund by 0ing it out. 2015-06-15 20:20:31 +00:00
Justin Shreve 12a3a9d305 Return the 'Invalid refund amount' error for negative refunds. 2015-06-15 20:19:52 +00:00
Claudio Sanches ed20fd7921 Merge pull request #8372 from woothemes/add-empty-order-item-meta-issue8-339
Fixes issue with adding empty order item meta
2015-06-15 16:30:47 -03:00
Mike Jolley 1cd17e6e57 Merge pull request #8373 from justinshreve/tax-table-creation-8367
[2.3] Fix the tax_rate_locations location_type_code index to fit within 1000 bytes (#8367) @ChromeOrange if you want to test against user tickets :)
2015-06-15 19:09:33 +01:00
Justin Shreve 910bcc7100 Index only the prefix of location_code when creating the tax_rate_locations table
Otherwise we hit a max key limit of 1000 with utf8 (since multiple bytes are stored per characater).
2015-06-15 16:45:30 +00:00
davidlenehan 925b46967a Removing the use of mb_strlen as it is always installed as standard. 2015-06-15 17:06:02 +01:00
davidlenehan 791317cfcf Fixes issue with adding empty order item meta
The changes just check to make sure that either a meta key or meta
value has been entered before it saves. Otherwise it deletes the order
item meta row that has been added. The user must add something to the
order item meta row now or it won’t get saved.

Not sure if this is the cleanest way to fix this issue. I was expecting
to see the function wc_update_order_item_meta() but it is not used in
this case.
2015-06-15 16:22:53 +01:00
Mike Jolley 75b01c5201 [2.3] woocommerce_downloadable_file_allowed_mime_types filter
#8362
2015-06-15 15:37:34 +01:00
Mike Jolley b3a161a744 Fix upgrade logic for per item type 2015-06-15 15:32:51 +01:00
Mike Jolley de1d818d4c remove functions and eval 2015-06-15 15:24:59 +01:00
Mike Jolley 6f90640ba3 Upgrade logic and option fallbacks 2015-06-15 15:24:51 +01:00
Claudio Sanches b123dc87a3 Merge pull request #8363 from corsonr/debug_tools_class
Add debug tools classes
2015-06-15 11:16:45 -03:00
Mike Jolley 803714d088 BW compat for additional rates 2015-06-15 12:01:24 +01:00
Remi Corson 32a22b3337 replaced esc_attr by sanitize_html_class 2015-06-15 09:30:09 +02:00
Tamara Zuk 92c6d3d649 [2.3] Email settings save tweak
Allows emails to use a single common class as is done in Order Status
Manager
2015-06-13 10:15:58 -04:00
Remi Corson 61d7b156f4 added esc_attr 2015-06-12 21:59:51 +02:00
Mike Jolley d24461a9a5 Simplify flat rate shipping UI #8243 2015-06-12 16:19:43 +01:00
Mike Jolley af41e4bcd4 Eval Math Class 2015-06-12 14:27:50 +01:00
Remi Corson 40a56e2f9e Add debug tools classes 2015-06-12 15:07:01 +02:00
Mike Jolley 753a22734f Prevent Manage stock being forced on
Closes #8336
2015-06-12 11:22:54 +01:00
Mike Jolley 1398ac0feb Merge pull request #8331 from shivapoudel/nav-margin
Tweak nav tab margin for pretty messages
2015-06-12 11:09:45 +01:00
Mike Jolley 59d3fb5224 Merge pull request #8358 from justinshreve/colorpicker-integration
Implement the new color picker input and preview for integrations
2015-06-12 11:08:08 +01:00
Mike Jolley 05b2505c45 Revise links for @BFTrick 2015-06-11 16:18:01 +01:00
Justin Shreve 3dc0df16e0 Remove references to color_box in the CSS & JS now that it is no longer used. 2015-06-11 15:01:39 +00:00
Mike Jolley 12396f4296 Attempted bw compat by comparing sanitised text to real text 2015-06-11 15:42:18 +01:00
Claudio Sanches 6d3ea23fac Added woocommerce_add_to_cart_redirect to ajax cart button, closes #8349 2015-06-11 11:40:26 -03:00
Justin Shreve 133b9ce969 Implement the new color picker + preview for integrations as well. 2015-06-11 14:40:06 +00:00
Mike Jolley 89f7e15052 Save full version of text based attributes when dealing with variations 2015-06-11 14:43:02 +01:00
Mike Jolley 02ef083eaf wc_get_text_attributes function 2015-06-11 14:42:37 +01:00
Shiva Poudel 292ca3a764 Tweak docs button for small screen device 2015-06-11 18:52:41 +05:45
Shiva Poudel 3976b568e2 Merge remote-tracking branch 'upstream/onboarding' into nav-margin 2015-06-11 18:36:00 +05:45
Mike Jolley a3ed5efcd9 Merge pull request #8351 from MikeHansenMe/master
Fix broken password reset
2015-06-11 10:43:15 +01:00
Mike Jolley 2036e41e83 Minify #8356 2015-06-11 10:31:25 +01:00
Mike Jolley d50a2d4456 Merge pull request #8356 from justinshreve/color-picker-preview
Improve the color picker preview visibility by moving the preview to its own element (#8355)
2015-06-11 10:29:59 +01:00
Justin Shreve 99d198c148 Merge the preview and input boxes together visually 2015-06-11 07:54:45 +00:00
Justin Shreve 5f627cf850 Move the color preview to its own separate "preview box" rather then changing the color of the input div box. 2015-06-11 07:15:51 +00:00
Mike Hansen 819f22df29 Update wc-page-functions.php 2015-06-10 17:53:34 -06:00
Claudio Sanches 74f8e399d1 Merge pull request #8348 from aelia-co/master
Fixed class reference in PayPal IPN class
2015-06-10 19:01:58 -03:00
Diego Zanella 1faae5f4f5 Fixed reference in PayPal IPN class
* Using __CLASS__ in valid_response() prevents inheritance, as __CLASS__ is always resolved as the parent class. A descendant class would have to copy/paste the whole block of code for it to work correctly. Solution: replaced it with $this, as the valid_response() method is not static, and neither are any of the "payment_status_" methods.
2015-06-10 19:17:37 +01:00
Diego Zanella f44741540f Merge remote-tracking branch 'upstream/master' 2015-06-10 19:13:33 +01:00
Claudio Sanches 866a975517 Minify files for #8347 2015-06-10 14:50:13 -03:00