Commit Graph

7930 Commits

Author SHA1 Message Date
Mike Jolley 3d8f7963df Update abstract docblock 2014-04-25 12:33:14 +01:00
Mike Jolley 34db5d68b6 Don't sanitise rate ID - breaks utf8 chars
Fixes #5376
2014-04-25 12:31:58 +01:00
Mike Jolley d168686478 Added brackets 2014-04-25 12:31:58 +01:00
Mike Jolley cd4bf515b7 Merge pull request #5375 from claudiosmweb/4820-feature-translate-edit-address-slugs
Make possible to translate the edit-address endpoint slugs
2014-04-25 10:46:14 +01:00
Mike Jolley 02acbfa07e 1 filter rather than 2 Closes #5361 2014-04-25 10:43:30 +01:00
Mike Jolley 630eeb4945 Merge pull request #5373 from claudiosmweb/5237-feature-max-transaction-amount
Feature maximum transaction amount for payment gateways
2014-04-25 10:20:54 +01:00
Mike Jolley 0e1fcbda64 Abstract product constructor
Check for numeric $product, and expand the checking to see if its
passed a post object. Fixes #5341
2014-04-25 10:19:00 +01:00
Mike Jolley fa70e5a8e0 Merge pull request #5377 from mgmartel/decimal-validation-negative
Fix decimal validation JS in order admin
2014-04-25 09:41:58 +01:00
Mike Martel 6918602002 Updated minified woocommerce_admin JS 2014-04-25 09:29:21 +02:00
Mike Martel dc1271ce19 Cleanup indentation in woocommerce_admin.js
File mixed tabs and spaces. Converted all spaces to tabs.
2014-04-25 09:28:35 +02:00
Mike Martel 5b81c7f320 Allow negative amount in price field validation
The price field validation method in the admin js did not allow negative numbers, which are valid as eg. negative fees.
2014-04-25 09:28:35 +02:00
Mike Martel e0dc31620b Bind price and decimal input events to body in woocommerce_admin js
The event was bound to the element directly, causing problems when the elements was added after dom ready (through ajax). Now the decimal format check will always take place.
2014-04-25 09:28:35 +02:00
claudiosmweb 79a8986f06 added the possibility to translate the edit-address endpoint slugs, closes #4820 2014-04-24 18:18:41 -03:00
claudiosmweb fe467282cd improved the get_order_total() method 2014-04-24 15:49:41 -03:00
claudiosmweb d7e26d993c added method to check if order needs shipping in "pay for order" page 2014-04-24 15:33:14 -03:00
claudiosmweb 64a40c8657 removed not defined $wp variable in favor to get_query_var() function 2014-04-24 15:03:33 -03:00
claudiosmweb 4ac0b28537 updated the method to get the order id from "pay for order" page 2014-04-24 14:52:17 -03:00
claudiosmweb 47d14e9df3 updated the WC_Payment_Gateway class to set a maximum transaction amount, closes #5237 2014-04-24 14:39:20 -03:00
Mike Jolley 3d584bc09a Ignore variation stock if disabled globally Closes #5370 2014-04-24 16:44:01 +01:00
Mike Jolley 6efbf89cd3 [2.2] Hide COD for virtual orders (no shipping) Closes #5369 2014-04-24 16:37:31 +01:00
Mike Jolley 558a7bbe25 Recount true when recounting terms Fixes #5320 2014-04-24 16:09:03 +01:00
Mike Jolley 9c37d83f11 Let get_file get the first file if no ID is defined
#5296
2014-04-24 16:00:35 +01:00
Mike Jolley 5862bfb2fe Allow saving no downloads, if unset
#5296
2014-04-24 16:00:17 +01:00
Mike Jolley 9b873093eb Check has_file when sending order emails for downloadables
Fixes #5296
2014-04-24 16:00:01 +01:00
Mike Jolley a6a65a2a9d typecast $used_by to array in case its not set. Closes #5350 2014-04-24 15:26:38 +01:00
Mike Jolley da8015a49c Merge pull request #5338 from ragulka/thankyou-filters
Introduce `woocommerce_thankyou_order_received_text` filter
2014-04-24 15:21:50 +01:00
Mike Jolley 5d872918d6 Change the way order review data is appended to checkout to reduce likelihood of error
Fixes #5332
2014-04-24 15:08:38 +01:00
Mike Jolley bf0fafa17b If billing email is not set and user ID is set, use email
Fixes #5356
2014-04-24 14:45:57 +01:00
Mike Jolley a6a44a3959 URL decode when viewing order attributes to prevent taxonomies not being found
Closes #5315
2014-04-23 16:24:05 +01:00
Mike Jolley c09f710775 Merge pull request #5334 from ragulka/valid-order-statuses-improvements
Valid order statuses improvements
2014-04-23 15:07:15 +01:00
Mike Jolley 8c4f7dc8d1 Reverse calculator check Closes #5323 2014-04-23 14:30:45 +01:00
Mike Jolley 247bd15f68 Change label and add description Closes #4698 2014-04-23 14:24:20 +01:00
Mike Jolley e7898f8670 [2.2] Protect admins from shop managers
Closes #5322
2014-04-23 14:18:21 +01:00
Mike Jolley 45f1c8a40f Merge pull request #5359 from splashingpixels/feature-edit-password
added a check for current password on password change closes #5177
2014-04-23 11:39:01 +01:00
Mike Jolley 2592ad64d8 Print notices in view order template Closes #5348 2014-04-23 11:37:09 +01:00
Mike Jolley c24ca386cc Template cleanup 2014-04-23 11:37:05 +01:00
Mike Jolley 21033661ef Print notices in view order template Closes #5348 2014-04-23 11:35:52 +01:00
Mike Jolley 433b8c1d41 Template cleanup 2014-04-23 11:35:43 +01:00
Mike Jolley c92975f018 Merge pull request #5358 from maxrice/rest-api-report-fix
Clear cached API reports when deleting shop order transients
2014-04-23 11:24:02 +01:00
splashingpixels fde72164a4 added a check for current password on password change closes #5177 2014-04-22 12:01:57 -07:00
Max Rice f5d3d1d74f Clear cached API reports when deleting shop order transients 2014-04-22 15:01:08 -04:00
Mike Jolley cae3148d55 Merge pull request #5342 from tivnet/patch-2
Update class-wc-admin-cpt-product.php
2014-04-22 16:56:10 +01:00
Mike Jolley 53d10f8c7f Merge pull request #5344 from tivnet/patch-3
Docblock fix: wc_product_post_type_link
2014-04-22 16:49:56 +01:00
Mike Jolley 1cf3f3e73d Merge pull request #5319 from splashingpixels/passwords
removed wc_clean/sanitize_text_field not needed. handled by wp core func...
2014-04-22 16:46:40 +01:00
Mike Jolley dbe99502bb Merge pull request #5331 from corsonr/settings-tooltip
fixed incorrect "order received" endpoint tooltip
2014-04-22 16:34:50 +01:00
Mike Jolley 49f452928a Merge pull request #5330 from splashingpixels/downloads-order-my-account
fixed my account downloadables out of order
2014-04-22 16:34:27 +01:00
Mike Jolley 6572caa1a0 Merge pull request #5326 from christian-thomas/patch-1
Update class-wc-emails.php
2014-04-22 16:23:38 +01:00
Mike Jolley 5274599e11 Merge pull request #5325 from gedex/refactor_cpt-shop_order_custom_columns
Removes unused block and var.
2014-04-22 16:23:18 +01:00
Mike Jolley 534579f5ad Merge pull request #5327 from gedex/typo-fix
Typo fix.
2014-04-22 16:21:31 +01:00
Mike Jolley 9b58f80547 Merge pull request #5321 from claudiosmweb/fix-quick-edit-duplicate-sku
Prevent duplicate sku when edit product using quick edit
2014-04-22 16:18:02 +01:00