Commit Graph

5047 Commits

Author SHA1 Message Date
Vignesh 4eef4bf846 Class attribute added for Checkbox in settings
Noticed class attribute missed in checkbox of admin settings function, this class name will help for developer also, can you please consider this as my proposal?
2015-07-08 20:24:36 +05:30
Mike Jolley 38d0d0dcad trim invalid chars from sum 2015-07-08 11:02:20 +01:00
Mike Jolley d19a7d2c2e Shipping debug for all users 2015-07-08 11:02:20 +01:00
Claudio Sanches 2ec12a7985 Prevent errors when variation don't have sale price dates 2015-07-08 04:05:08 -03:00
Claudio Sanches 843a55a6b5 Admin ajax variations 2015-07-07 20:53:36 -03:00
Claudio Sanches c03ea5625d Fixed the delete all variable products action 2015-07-07 19:51:50 -03:00
Claudio Sanches 4f3fb07dc9 Added new styles for variable pagenav 2015-07-07 19:06:51 -03:00
Claudio Sanches bbe3cb5b1b Added bulk variation edit for increase and decrease prices 2015-07-07 17:35:21 -03:00
Claudio Sanches 8b681fddf7 Created bulk edit actions for variable sale schedule 2015-07-07 16:39:59 -03:00
Claudio Sanches e69d172f6c Fixed bulk variation edit and added cases to save regular and sales prices 2015-07-07 16:07:09 -03:00
Claudio Sanches 11ca22ef1a Created _wc_save_product_price() private function 2015-07-07 16:06:34 -03:00
Mike Jolley 85dcee63ae Flat rate shipping costs should ignore virtual items.
Closes #8506
2015-07-07 10:41:56 +01:00
Claudio Sanches 268a696918 Initial bulk edit variations actions 2015-07-06 22:50:35 -03:00
Claudio Sanches de01133142 Save only updated/edited variations and fixed the variations sync and product cache/transients 2015-07-06 19:07:01 -03:00
Claudio Sanches af0b786104 Improved relative path check #8503 2015-07-06 15:02:15 -03:00
Claudio Sanches e888294caa [2.3] Fixed download URL for relative paths, closes #8503 2015-07-06 15:00:04 -03:00
Claudio Sanches ffd63efbe2 Merge pull request #8513 from paulwilde/woocommerce-form-field
Refactor woocommerce_form_field to remove duplication.
2015-07-06 14:07:33 -03:00
Mike Jolley fd6fd817a2 Merge pull request #8516 from Sk-Shaikat/master
Refund deleted hook parameter fix
2015-07-06 18:57:39 +02:00
Claudio Sanches 47eb3c5deb Merge pull request #8523 from adnanoner/master
Add variable $order to action 'woocommerce_order_item_' . $item['type'] . '_html'
2015-07-06 13:52:35 -03:00
Mike Jolley 6676ed08fa 500 response on IPN fail
Closes #8519
2015-07-06 17:48:46 +01:00
adnanoner 725e3ee4e0 Add $order to action 'woocommerce_order_item_' . $item['type'] . '_html'
This comes in handy when you want change the line_items loop.
In my case I wanted to have a single line for each order items (per quantity) so I could edit the order and change the product for individual items. Would be appreciated if this could be merged.
2015-07-06 18:09:06 +02:00
Mike Jolley 270eb785da Merge pull request #8522 from shivapoudel/wp_json_encode
Encode pointers into json, with some sanity checks
2015-07-06 18:07:02 +02:00
Mike Jolley e908055f31 Only check changelog for woothemes plugin URI plugins
Closes #8520
2015-07-06 16:02:34 +01:00
Mike Jolley 439ce9eed2 Merge branch 'save-fields-refactor-8495'
Closes #8495
2015-07-06 15:31:43 +01:00
Mike Jolley 2440717f72 live -> interactive 2015-07-06 14:52:41 +01:00
Shiva Poudel 3d328c92c4 Method should be conditional_includes 2015-07-06 15:34:31 +05:45
Shiva Poudel ba2afde068 Encode pointers into json, with some sanity checks 2015-07-06 15:30:10 +05:45
Mike Jolley 792536bd8e Prevent white space in report
Closes #8499
2015-07-06 10:18:23 +01:00
Claudio Sanches ae18af8cc7 Added method to save variations via ajax 2015-07-06 01:50:20 -03:00
Claudio Sanches 2dc0ef3f86 Added method to set the pagenav fields when add and remove variations 2015-07-06 01:09:36 -03:00
Claudio Sanches c3b5ad2337 Refactored the link all variations, remove variation and add variation methods 2015-07-05 23:55:08 -03:00
Claudio Sanches ee437bb646 Improved the navigation and tested if variations have some edition 2015-07-05 22:31:56 -03:00
Claudio Sanches 3de8405cc9 Created variations ajax pagination 2015-07-05 22:00:38 -03:00
Claudio Sanches b16b026647 Load initial variations when click on variations tab 2015-07-05 20:19:45 -03:00
Mike Jolley 18c6a940f1 Merge branch 'onboarding'
Conflicts:
	assets/css/admin.css
	assets/css/select2.css
	assets/css/woocommerce-layout.css
	assets/css/woocommerce.css
	assets/js/admin/order-backbone-modal.min.js
	includes/admin/class-wc-admin-help.php
	includes/admin/class-wc-admin.php
	includes/admin/views/html-admin-page-status-report.php
	includes/admin/views/html-notice-install.php
	includes/admin/views/html-notice-template-check.php
	includes/admin/views/html-notice-theme-support.php
	includes/admin/views/html-notice-tracking.php
	includes/class-wc-install.php
	includes/class-wc-language-pack-upgrader.php

includes/shipping/international-delivery/class-wc-shipping-international
-delivery.php
2015-07-04 23:11:12 +01:00
Mike Jolley 1257343006 Added missing locales based on popularity (from tracker) 2015-07-04 22:35:23 +01:00
Mike Jolley 45d89438c7 Ensure cart item key is set 2015-07-04 15:25:08 +01:00
Mohaiminul Islam 653bb17414 Add new parameter on refund deleted hook
This hook parameter dose not helps to get order id when trigger in action due to delete that post. This should add '$order_id' as parameter
2015-07-04 15:22:19 +06:00
Mohaiminul Islam 64f2e2bed0 Refund deleted hook parameter fix
This hook parameter dose not trigger in action due to delete that post. This should set '$order_id' as parameter
2015-07-04 14:17:05 +06:00
Paul Wilde e62291963f Set featured image labels for product image. 2015-07-03 20:57:16 +01:00
Paul Wilde 5c5e6fb015 Refactor woocommerce_form_field so that the container, label and description are not repeated for every field type. 2015-07-03 20:37:47 +01:00
Claudio Sanches 3d59933d6b Created initial methods to load variations by ajax 2015-07-02 17:42:22 -03:00
Andrew Wikel 968586f2ed Update to reflect current PayPal menu structure
Just update instructions to be more accurate.
2015-07-01 14:53:16 -05:00
Mike Jolley 02464c62cf Revised HELP tabs
Added links to education partners (@jobthomas) and included WooCommerce
101 videos in context.
2015-07-01 15:22:43 +01:00
Mike Jolley f779166bd1 onboarding site links #7829 2015-07-01 13:38:24 +01:00
Mike Jolley 84f0b541ed Tweak wording and US states 2015-07-01 13:30:34 +01:00
Mike Jolley 7d1a016502 Adjust sales report to deal with partial shipping refunds and full refunds 2015-07-01 12:11:21 +01:00
Mike Jolley 99b96daf70 Wording for inc/ex prices 2015-06-30 14:06:36 +01:00
Mike Jolley 049c95e724 Filter all item data
Closes #8361
2015-06-30 13:40:32 +01:00
Mike Jolley dc00921ced Merge pull request #8486 from justinshreve/get-price-suffix-price-param
Add $price and $qty parameters to get_price_suffix
2015-06-30 12:59:43 +02:00
Justin Shreve eb85cd1682 Add $price and $qty to get_price_suffix so custom values can be passed into get_price_including_tax and get_price_excluding_tax 2015-06-29 19:24:48 +00:00
Justin Sainton 4d5d018a34 Deprecate PHP4 constructor usage in widgets. This is deprecated in upcoming PHP versions. 2015-06-29 11:46:03 -07:00
Claudio Sanches c13409150f Fixed tests for get_woocommerce_currencies()
@mikejolley
2015-06-29 15:13:42 -03:00
Gregory Karpinsky 9094bb0662 Do not FATAL on $product->has_file 2015-06-29 09:08:16 -04:00
Mike Jolley eae15e9d72 Merge pull request #8453 from corsonr/low_stock_email_tweak
Add product stock in low stock email notification
2015-06-29 12:22:29 +02:00
Remi Corson 66b6536054 no more brackets 2015-06-29 11:06:41 +02:00
Remi Corson a2a903d71a fixed string 2015-06-29 09:57:58 +02:00
Mike Jolley d0a41989c9 Merge pull request #8451 from slash1andy/patch-1
Changed "pending" to "processing"
2015-06-28 16:48:03 +02:00
roykho c208928b0e remove hardcoded tree type 2015-06-27 07:41:24 -07:00
Claudio Sanches 289e44e1db Merge pull request #8471 from vicky081/patch-1
Removed Commented Code
2015-06-27 09:13:52 -03:00
Gerhard 230301e6da Don't reveal username when login failed on valid email login 2015-06-26 14:15:31 +02:00
Claudio Sanches ec0783f382 Fixed deprecated woocommerce_lostpassword_url() and lost password url on myaccount/form-login.php
ref #8459
2015-06-25 15:17:06 -03:00
Claudio Sanches 22ac2f56bf Added Argentine currency and symbol 2015-06-25 12:58:58 -03:00
Vignesh 1241dcee69 Removed Commented Code 2015-06-25 21:24:05 +05:30
Remi Corson 67400956eb add product stock in low stock email notification 2015-06-25 10:09:12 +02:00
Andrew Wikel 6b5cf56b66 Changed "pending" to "processing"
reflects more accurate order statuses.
2015-06-24 15:57:28 -05:00
Claudio Sanches 6e114d4f3c Updated the docblock for deprecated vars in woocommerce_get_product_thumbnail(), closes #8441 2015-06-23 12:46:37 -03:00
Claudio Sanches 349fc2f665 [API] post__in filter for v2 2015-06-23 11:51:40 -03:00
Claudio Sanches e003b7803f Merge pull request #8440 from kilbot/patch-4
Add post__not_in filter for REST API requests
2015-06-23 11:50:36 -03:00
Claudio Sanches 9dc28be577 Support HTTP_X_HTTP_METHOD_OVERRIDE in API old versions 2015-06-23 11:49:19 -03:00
Paul Kilmurray 9b848fb1bd Add post__not_in filter for REST API requests
To match the `post__in` filter above
2015-06-23 20:48:19 +08:00
Paul Kilmurray a030ab52cb Allow HTTP method to be overwritten by HTTP_X_HTTP_METHOD_OVERRIDE
For the same reasons [outlined here](https://github.com/WP-API/WP-API/issues/964), ie: Backbone uses X-HTTP-Method-Override.
2015-06-23 20:42:39 +08:00
Mike Jolley 71f2c25da4 Calc totals should not calc tax if disabled 2015-06-23 13:29:38 +01:00
Mike Jolley 84bc6e1b1a Merge branch 'geolocate-cache'
Conflicts:
	includes/class-wc-customer.php

Closes #7939
2015-06-23 12:26:03 +01:00
Mike Jolley 14c88b49bc Tweak option labelling 2015-06-23 12:20:13 +01:00
Mike Jolley 00d574a929 get_taxable_address() should get postcode and city too.
@SiR-DanieL Can you check this?
2015-06-23 11:50:15 +01:00
Mike Jolley 1801f57a39 Fix for permalink structures containing index.php 2015-06-23 11:45:04 +01:00
Mike Jolley 817e5355fd Pass $item object, not item meta array
Closes #8419
2015-06-23 10:24:13 +01:00
Claudio Sanches b43abff674 Merge pull request #8415 from justinshreve/oauth-7928
Fix issues with our OAuth implementation, including nonconformance to spec. Closes #7928
2015-06-22 15:00:51 -03:00
Justin Shreve 819a4fae0d wp_endswith doesn't actually exist (its a wpcom/jetpackism) - update with a simple substr check 2015-06-22 17:58:50 +00:00
Claudio Sanches c92bc6d865 Merge pull request #8406 from justinshreve/api-basic-auth-8256
Implement full basic authentication & query string auth without mixing the two, closes #8256
2015-06-22 14:06:07 -03:00
adnanoner d07e567050 add $args to woocommerce_refund_created action hook
#8432
2015-06-22 17:54:45 +02:00
Mike Jolley 9adbdd4a2c Tweak URL generation before redirect 2015-06-22 15:30:42 +01:00
Mike Jolley eb4cbaf69f get_taxable_address does not need to handle geolocation_ajax any more 2015-06-22 15:30:34 +01:00
Mike Jolley 8dbd30e76b Merge branch 'add-email-notification-for-partial-refunds-issue-8278' 2015-06-22 15:01:17 +01:00
Mike Jolley 07cc12049d Merge remote-tracking branch 'origin/add-email-notification-for-partial-refunds-issue-8278' into add-email-notification-for-partial-refunds-issue-8278 2015-06-22 14:59:51 +01:00
Mike Jolley f988aae387 Use hashes and server side redirection 2015-06-22 14:55:15 +01:00
davidlenehan d7538559a8 Pulling customs refund email fields from wp_options
Pulling customs refund email fields from wp_options correctly now and
overriding the basic lookup for subject and heading.
2015-06-22 14:18:44 +01:00
davidlenehan a171407bcb Adding form fields for partial refund emails
This is not a working solution yet, looking for feedback on ho west to
implement this
2015-06-22 13:36:47 +01:00
davidlenehan 47c18b1947 Fixing issue where email settings were blank
Fixing issue where email strings were blank for refunded orders in
wp-admin > WooCommerce > Settings > emails
2015-06-22 11:14:19 +01:00
Mike Jolley 5937a08696 Fix cat dropdown URL
Because a filter is not a fix :)

Closes #8412
2015-06-22 10:22:15 +01:00
Mike Jolley 0d6ec24a83 Merge branch 'pr/8413' 2015-06-22 10:14:31 +01:00
Mike Jolley e967c1e01c Tweak filters - move to format_string 2015-06-22 10:14:21 +01:00
fhugas e0c81c5fb8 Removed redundant strtolower()
Removed the redundant strtolower on line 43 in the private function get_file_name_from_class() which is only called from line 66 using a $class variable that is just strtolower()ed on line 65
2015-06-21 23:44:47 +02:00
Justin Shreve fcab013d53 $enc_type for http_build_query() is only available in PHP 5.4+
go back to a normalization approach
2015-06-19 23:03:45 +00:00
Justin Shreve 482303c0f9 Don't convert nested parameters to strings.
Switch to the native http_build_query instead of our own normalize function.
2015-06-19 16:11:17 +00:00
Justin Shreve 59bc17e0cb Check before building the current URL to see if a trailing slash should be appended or not, that way if a request includes one, the signature still matches. 2015-06-19 16:05:23 +00:00
Justin Shreve c43f9157c3 When generating the signature to compare, append a trailing &.
The OAuth spec (http://tools.ietf.org/html/rfc5849#section-3.4.2) states that a & character must be present, even if a token secret is not a part of the request.
2015-06-19 15:05:51 +00:00
Nicola Mustone c7e1540dea added filters for emails placeholders 2015-06-19 17:01:37 +02:00
Justin Shreve 9e2f0f55d8 Remove reauth endpoint. It's not going to work the way we want it to. If clients need to log out (like a browser), they can clear the sessions per browser. Also returns JSON error when auth is not returned correctly. 2015-06-19 13:42:10 +00:00