Commit Graph

984 Commits

Author SHA1 Message Date
Mike Jolley 247f0ac064 Merge pull request #4344 from claudiosmweb/improved-reviews-admin
Improvements in editing the reviews rating
2013-12-23 05:32:54 -08:00
Mike Jolley d9637c4b80 Merge pull request #4305 from helgatheviking/feature/min_max_args
add $min_or_max and $display params to variation pricing functions
2013-12-23 05:31:53 -08:00
Mike Jolley e51da54240 Merge pull request #4330 from kloon/tweak_file_title_download_permissions
Tweak file title download permissions
2013-12-23 05:30:54 -08:00
Mike Jolley e3b5df7ce2 Merge pull request #4388 from niravmehta/master
Expiry date calculation based on order completion date
2013-12-23 05:22:25 -08:00
Mike Jolley 17f79f651d Merge pull request #4386 from justinstern/master
Downloadable File Fixes/Tweaks
2013-12-23 05:20:36 -08:00
Mike Jolley cc8bd649ec Merge pull request #4401 from toddlahman/master
Revert back to ob_end_clean to fix errors
2013-12-23 05:13:17 -08:00
Max Rice 7b4ff1ee82 Fix HTTP_X_FORWARDED_HOST notice 2013-12-20 14:03:55 -05:00
toddlahman 32af9d4440 Revert back to ob_end_clean to fix errors
ob_clean does not turn off output buffering as ob_end_clean does. On
some hosts ob_clean results in an error like: transfer closed with 3
bytes remaining to read. ob_end_clean fixes this.
2013-12-19 01:14:39 -08:00
Ratnakar 0faf26cbd2 Expiry date calculation based on order completion date 2013-12-17 10:37:19 +05:30
Justin Stern ae91c698f2 Downloadable File Fixes/Tweaks
* Hooked up new downloadable product permissions function to
completed/processing actions
* WC_Product::get_files() is used rather than the underlying
_downloadable_files meta directly
* $this is passed to downloadable product filters in WC_Product in place
of $this->id which doesn't does not afford you the particular variation
when a product variation is being used.
2013-12-16 18:27:57 -05:00
Mike Jolley 3bd2d0d456 Credit card form actions - start and end 2013-12-14 12:03:32 +00:00
thenbrent 8ad3326016 Only allow a fee to be added once 2013-12-13 13:10:25 -08:00
James Koster dbf1b15001 replace a few missed →'s. closes #4350 2013-12-12 13:42:29 +00:00
Coen Jacobs b5a4a9e602 Removed duplicate description key. Closes #4357 2013-12-12 14:36:13 +01:00
Coen Jacobs 7fede7e6e5 Merge pull request #4334 from splashingpixels/master
syntax error missing semicolon on product grouped class
2013-12-12 01:44:31 -08:00
Coen Jacobs e9ed514d8e Merge pull request #4329 from kloon/tweak_rest_api_add_wc_version
Add WooCommerce version to API index route
2013-12-12 01:32:55 -08:00
Coen Jacobs 7a254a3586 Merge pull request #4331 from kloon/fix_cod_thankyou_warning
Fix warning on Thank You page with COD, closes #4320
2013-12-12 01:31:34 -08:00
Coen Jacobs 6a194f02e2 Merge pull request #4340 from maxrice/rest-api-warning-fixes
Fix warning when accessing coupons created in pre-2.1 installs
2013-12-12 01:30:00 -08:00
Coen Jacobs 00e7174149 Merge pull request #4342 from claudiosmweb/fix_4337
fix #4337
2013-12-12 01:29:36 -08:00
Coen Jacobs 2ddb0491c2 Merge pull request #4343 from claudiosmweb/patch-1
Fix #4338 and #4339
2013-12-12 01:27:18 -08:00
Lee Willis bf5095d67d MP6 is dead. Long live the WP admin theme 2013-12-12 07:21:28 +00:00
claudiosmweb 8344bbc2b4 removed "Trying to get property of non-object..." error on the edit review/comment page. 2013-12-10 23:48:03 -02:00
claudiosmweb 963b16d9c4 fixed standards 2013-12-10 23:43:12 -02:00
claudiosmweb 3a3a0c10ec fixed reviews metabox visibility 2013-12-10 23:42:31 -02:00
claudiosmweb f7f3c79fa0 fixed braces standards 2013-12-10 23:17:44 -02:00
claudiosmweb e07e89b0de removed not useful global variables 2013-12-10 23:17:22 -02:00
claudiosmweb ec9091b444 fixes #4339 2013-12-10 22:41:27 -02:00
claudiosmweb 86b01ca004 fixes #4338 2013-12-10 22:40:41 -02:00
claudiosmweb d0d5e56022 fixed space standards 2013-12-10 22:39:51 -02:00
claudiosmweb 04534fe82b fixed braces standards 2013-12-10 22:36:56 -02:00
claudiosmweb 48aa2af8ef fix #4337 2013-12-10 22:31:03 -02:00
Max Rice 2b0a75cbd6 Fix warning when accessing coupons created in pre-2.1 installs 2013-12-10 17:31:41 -05:00
splashingpixels 8a6848bdd3 syntax error missing semicolon on product grouped class 2013-12-10 09:38:36 -08:00
Gerhard 0f47ed8df9 Fix warning on Thank You page with COD, closes #4320 2013-12-10 13:06:22 +02:00
Gerhard 4fa98e0610 Change filecount variable 2013-12-10 12:50:48 +02:00
Gerhard 9b27b485b6 Show file title instead of count if set 2013-12-10 12:49:27 +02:00
Gerhard a5acde8bbd Add WooCommerce version to API index route 2013-12-10 12:24:53 +02:00
Coen Jacobs dbeeac710d Merge pull request #4304 from shoheitanaka/patch-2
Update class-wc-admin-assets.php because spell mistake
2013-12-09 06:35:46 -08:00
Coen Jacobs b16d3e3170 Merge pull request #4321 from kloon/fix_cat_walker_strict_warnings
Fix strict warnings for cat walker class, closes #4319
2013-12-09 06:34:31 -08:00
Coen Jacobs 962269cdbd Merge pull request #4318 from maxrice/rest-api-tweaks
REST API Tweaks
2013-12-09 06:34:04 -08:00
Coen Jacobs 31b18d24e8 Merge pull request #4317 from NikV/master
Some braces for the new WordPress standard
2013-12-09 06:21:26 -08:00
Coen Jacobs 64c68b8c38 Merge pull request #4301 from kloon/fix_rest_api_oauth_subfolder_install
Fix issue where oAuth signature is wrong when running site from a subfolder
2013-12-09 02:27:18 -08:00
James Koster c22ebcc7ae twentyfourteen compat. closes #4272 2013-12-09 09:55:11 +00:00
Gerhard 7db46f581f Fix strict warnings for cat walker class, closes #4319 2013-12-09 10:07:24 +02:00
Max Rice 8389ff23e5 Fix duplicate "Link:" content with pagination link headers 2013-12-08 17:38:27 -05:00
Max Rice 1a9933cd88 Fix authentication error message typos 2013-12-08 17:37:55 -05:00
Max Rice 898adbb32d Change money_format to currency_format for API index 2013-12-08 17:37:30 -05:00
Nik-v a005e3e71f Some braces for the new WordPress standard
Simple braces being added
2013-12-08 16:08:46 -06:00
Kathy Darling 6544d6b8f9 add $min_or_max and $display params to variation pricing functions 2013-12-07 10:11:23 +01:00
Shohei Tanaka 93944c56e1 Update class-wc-admin-assets.php because spell mistake
I found spell mistake.
#109 monitary to #109 monetary
2013-12-07 18:10:36 +09:00
Gerhard 8e2bc1cebc remove harded api reference, use WooCommerce_api_url instead 2013-12-06 16:57:44 +02:00
Gerhard 5b27f37c23 Fix issue where oAuth signature is wrong when running site from a subfolder #4055 2013-12-06 15:07:42 +02:00
Mike Jolley 27d40dd46f Fix term reordering Closes #4294 2013-12-05 16:07:44 +00:00
Mike Jolley 5239bf7b46 get_form_fields method Closes #4275
@coenjacobs please review. I believe its cleaner this way.
2013-12-05 15:57:01 +00:00
Mike Jolley 8910042a99 Don't load some classes during ajax events Closes #4282 2013-12-05 15:34:37 +00:00
Mike Jolley f3fe51e3a3 Merge pull request #4293 from pauloiankoski/patch-1
Add "rand" option to orderby
2013-12-05 06:42:45 -08:00
Mike Jolley 27d2c87583 Tidyup 2013-12-05 13:16:52 +00:00
Mike Jolley 153c367ef4 Missing icons #4287 2013-12-05 13:16:52 +00:00
pauloiankoski 09d50a04c8 Add "rand" option to orderby 2013-12-05 10:53:22 -02:00
Coen Jacobs 1f5f163916 Added option to hide Returning customer message. Closes #4220 2013-12-05 10:43:46 +01:00
Coen Jacobs b8409ba7b0 Merge pull request #4291 from BFTrick/flat-rate-shipping-message
Adding Default Shipping Price to Tooltips
2013-12-05 00:37:26 -08:00
Coen Jacobs bcf025694e Updated docblocks for #4292 2013-12-05 09:36:46 +01:00
Brent Shepherd f7df434399 Remove $from param on get_price_html_from_text()
As it's not used at all.
2013-12-04 17:46:12 -08:00
Patrick Rauland 01c1afae59 Adding default shipping price to tooltips 2013-12-04 16:20:30 -06:00
Mike Jolley 00ff09e3a2 sort sale price 2013-12-04 12:45:23 +00:00
Mike Jolley 4826a574a0 wp_redirects 2013-12-04 12:20:18 +00:00
Mike Jolley 9e5c0fbf67 Get rid of "FROM" - display a price range, localisable. Closes #4222 2013-12-04 12:08:14 +00:00
Mike Jolley 4ce57489a7 Esnure cron is scheduled for midnight Closes #4267 2013-12-03 15:50:00 +00:00
Mike Jolley 553b273fc6 Merge pull request #4214 from toddlahman/master
escape download handler URLs
2013-12-03 07:32:47 -08:00
Mike Jolley 1ec8b82f69 Prevent error if variation doesn't exist. 2013-12-03 14:54:13 +00:00
Coen Jacobs a8444eb567 Fixed faulty double return 2013-12-03 15:11:01 +01:00
Mike Jolley 53b56250f4 Clean up cancel_order and filter cancelable order status Closes #4257 2013-12-03 14:07:15 +00:00
Coen Jacobs 61a783886d Suggested code changes in #4266 2013-12-03 15:03:25 +01:00
Gregory K f937c36250 Inconsistent return types: TODOs 2013-12-03 14:53:49 +01:00
Mike Jolley 273ae46758 Move sample tax rates Closes #4264 2013-12-03 13:45:10 +00:00
Mike Jolley 293c998a1d Set price slider min to min price. Closes #4183 2013-12-03 13:39:02 +00:00
Mike Jolley 418a8785b0 woocommerce_checkout_customer_userdata filter Closes #4235 2013-12-03 12:27:53 +00:00
Mike Jolley af34b43ee6 Tweaks for #4239 2013-12-03 12:14:12 +00:00
Mike Jolley d7d6ddbc84 Merge pull request #4240 from Spreeuw/master
Allow custom checkout fields to be localized
2013-12-03 04:08:09 -08:00
Mike Jolley a071d90368 Merge pull request #4255 from BFTrick/billing-state-desc-typo
Fixing County Typo
2013-12-02 06:59:19 -08:00
Coen Jacobs 52f22aaea4 Thumbnail upload buttons shouldn't be submit type. Closes #4263 2013-12-02 13:10:32 +01:00
Coen Jacobs 41171efd57 Deprecated versions of void functions shouldn't return 2013-12-02 13:01:11 +01:00
Coen Jacobs 3e6acf7aab Code changes for #4252 2013-12-02 12:34:27 +01:00
Mike Jolley e9234e8d63 Removed a stray var dump and added braces 2013-12-02 11:09:33 +00:00
Patrick Rauland 263d2116de fixing county typo 2013-11-29 18:26:42 -06:00
Gregory K 7b38c7300b Inconsistent return types: mostly TODOs, some fixes 2013-11-29 13:50:31 -05:00
Coen Jacobs 676330de2a More code styling and return value optimisations 2013-11-29 10:33:24 +01:00
Coen Jacobs 1cb8aa1724 Code styling fixes and return values for #4244 2013-11-29 10:15:58 +01:00
Gregory K 43ca01badc PhpDocs and TODO comments 2013-11-28 12:59:09 -05:00
Mike Jolley 06e047f6c3 Merge pull request #4243 from tivnet/master
PhpDocs and TODO comments
2013-11-28 09:24:10 -08:00
Mike Jolley e0779b0f06 Global templates make more sense than shop templates, and re-use quantity inputs for cart and single products Closes #4210 2013-11-28 17:23:45 +00:00
Gregory K cdbe5950f0 PhpDocs and TODO comments 2013-11-28 11:49:30 -05:00
Mike Jolley 4a5c965728 Merge pull request #4241 from ragulka/master
Fix: customer should be able to pay for a new order
2013-11-28 07:30:03 -08:00
Illimar Tambek b22adaebfc Fix: customer should be able to pay for a new order 2013-11-28 17:22:05 +02:00
Mike Jolley dde1f55120 Support deprecated hook Closes #4230 2013-11-28 15:20:02 +00:00
Mike Jolley ad84044537 More deprecated functions 2013-11-28 15:09:16 +00:00
Ewout Fernhout bfa4ce53ff Allow custom checkout fields to be localized 2013-11-28 15:46:08 +01:00
Coen Jacobs aef599b6a7 Merge pull request #4237 from kloon/refactor_inline_js
Refactor inline js
2013-11-28 05:12:40 -08:00
Coen Jacobs 5291f2eec6 Code changes as suggested in #4238 2013-11-28 14:12:08 +01:00
Gregory K cac9d12bf9 PhpDocs 2013-11-28 07:54:19 -05:00
Gerhard 903af259e0 refactor inline product images js 2013-11-28 14:37:44 +02:00
Coen Jacobs dbb9b6fc68 Removed duplicate country_dropdown_options() echo. Closes #4228 2013-11-28 13:24:23 +01:00
Coen Jacobs 5f2443b331 Merge pull request #4229 from tivnet/master
PhpDocs: most of @return void fixed
2013-11-28 04:21:44 -08:00
Gerhard 238becb050 Refactor order notes inline js 2013-11-28 14:03:29 +02:00
Mike Jolley bc98a8dc9f Deprecate functions should return 2013-11-28 11:16:00 +00:00
toddlahman 52fd9a0502 esc_url applied to readfile home_url()
This should fix it.

Thank you Mike for the info on esc_html.
2013-11-27 15:51:56 -08:00
Gregory K fc0df9fa59 typo 2013-11-27 13:23:46 -05:00
Gregory K dd5a2fb334 PhpDocs 2013-11-27 13:20:31 -05:00
Mike Jolley 6db8ac6f6f Made error counts work with new notices api Closes #4201 2013-11-27 16:15:53 +00:00
Mike Jolley 417651d579 Check for valid post type/products when setting up data 2013-11-27 16:03:54 +00:00
Mike Jolley 2bd40b29b2 Humanize order number/status string Closes #4225 2013-11-27 15:53:57 +00:00
Mike Jolley 3da2afdcef Isset rather than empty, so states work when allowed countries are set. Closes #4223 2013-11-27 15:38:52 +00:00
Mike Jolley ca57f2acdc Contact first and last name and query them when searching Closes #4174 2013-11-27 15:33:09 +00:00
Mike Jolley 73887cf274 Fix default status of variation fields Closes #4205 2013-11-27 14:58:01 +00:00
Mike Jolley a7b81eed8a Merge pull request #4213 from kloon/fix_optimize_downloadable_products_dropdown
Make downloadable product dropdown ajaxy, as per #4211
2013-11-27 06:32:32 -08:00
Mike Jolley ec480e8233 Merge pull request #4224 from mihaigrigori/master
Explicit currency for order prices
2013-11-27 06:28:34 -08:00
Mike Jolley c05e369b43 Merge pull request #4215 from scottbasgaard/master
"Order again" doesn't work. Proposed pass at fix.
2013-11-27 06:27:39 -08:00
Gerhard 06020f4bd5 Move all download permissions inline js to meta-boxes.js 2013-11-27 16:03:04 +02:00
Gerhard a1ad556fb9 Clear selection after adding download permissions 2013-11-27 15:29:42 +02:00
mihaigrigori b19fb1ee09 Explicit currency for order prices
Set the currency for the order prices to be the order's currency instead
of the shop's currency. When these are different, the order emails are
misleading.

Related to https://github.com/woothemes/woocommerce/pull/4143
2013-11-27 11:15:20 +02:00
Coen Jacobs 19688ad9ef Fixed several @return void clauses. There are more. No code changes in this commit, only PhpDocs
Closes #4216
2013-11-27 10:03:47 +01:00
Scott Basgaard 538e704bba Merge branch 'master' of github.com:woothemes/woocommerce 2013-11-27 03:44:52 +01:00
toddlahman c6fd37f2df esc_url_raw to readfile home_url() 2013-11-26 13:55:10 -08:00
Patrick Rauland 9ac8b406c5 removing postcode for Bolivia 2013-11-26 15:41:54 -06:00
Scott Basgaard 2885da4581 "Order again" doesn't work. Proposed pass at fix. 2013-11-26 17:48:39 +01:00
Mike Jolley 2cf95fc1eb Merge pull request #4207 from emzo/product-short-description-metabox
[2.1-beta-1] Remove second row of formatting buttons in product short description visual editor.
2013-11-26 08:25:21 -08:00
toddlahman 6bed7bff94 escape download handler URLs 2013-11-26 07:27:46 -08:00
Gerhard 6300e65582 Make downloadable product dropdown ajaxy, as per #4211 2013-11-26 15:54:34 +02:00
Ryan McCue ff6f2e070e Use correct variable for OAuth parameter check 2013-11-26 11:19:00 +10:00
Emyr Thomas 4af19400b6 Remove the second row of formatting buttons in the TinyMCE editor for the
product short description meta box.
2013-11-25 21:53:40 +00:00
Mike Jolley 5e9a84f26c Fix ajax class functions and includes 2013-11-25 15:47:52 +00:00
Coen Jacobs ac34f94321 Merge pull request #4199 from tivnet/master
PhpDocs fixes
2013-11-25 07:45:08 -08:00
Coen Jacobs 173f341631 Moved cart related output functions to right file 2013-11-25 16:17:18 +01:00
Gregory K 5caf292456 PhpDoc fix in class-wc-cart 2013-11-25 10:06:06 -05:00
Gregory K ec5f2c3501 PhpDoc fixes in class-wc-coupon 2013-11-25 10:00:54 -05:00
Coen Jacobs 848dfd8bd0 Deprecate woocommerce_paying_customer the other way around 2013-11-25 15:51:14 +01:00
Coen Jacobs c800d83182 Merge pull request #4197 from tivnet/master
Corrected some PhpDocs in class-wc-cart
2013-11-25 06:43:38 -08:00
Coen Jacobs 4afbd0b556 Merge branch 'function-call-refactor'
Conflicts:
	includes/admin/post-types/meta-boxes/class-wc-meta-box-order-data.php
	includes/shortcodes/class-wc-shortcode-cart.php
	includes/wc-template-functions.php
2013-11-25 15:42:26 +01:00
Mike Jolley d96661f45b Reverted template function names for @jameskoster's sanity 2013-11-25 14:35:10 +00:00
Mike Jolley b774e84e29 Revert "Replaced templates functions"
This reverts commit 4ce301a080.
2013-11-25 14:16:26 +00:00
Coen Jacobs 47ae00be28 Page functions woocommerce to wc refactor 2013-11-25 15:07:22 +01:00
Mike Jolley 51ba9c393f WC globals 2013-11-25 14:01:38 +00:00
Mike Jolley 3408965b8a Product functions 2013-11-25 14:01:38 +00:00
Mike Jolley 4ce301a080 Replaced templates functions 2013-11-25 14:01:37 +00:00
Mike Jolley 3973beae5d woocommerce_ functions to wc_ - replaced attribute functions 2013-11-25 14:01:37 +00:00
Coen Jacobs f7df17db1c Order functions woocommerce to wc refactor 2013-11-25 14:54:52 +01:00
Coen Jacobs c1a439eb99 Formatting functions woocommerce to wc refactor 2013-11-25 14:34:21 +01:00
Coen Jacobs 1663eafb68 Customer functions woocommerce to wc refactor 2013-11-25 13:52:53 +01:00
Coen Jacobs aaa14894ca Core functions woocommerce to wc refactor 2013-11-25 13:45:04 +01:00
Coen Jacobs b0e3802b5b Refactor cart functions in core 2013-11-25 13:44:32 +01:00
Gregory K f2e34496d0 Corrected some PhpDocs in class-wc-cart 2013-11-25 07:40:16 -05:00
Coen Jacobs cb4e239655 Cart functions woocommerce to wc refactor 2013-11-25 13:23:39 +01:00
Coen Jacobs aa4d9d5914 Better order for admin settings tabs 2013-11-25 12:06:42 +01:00
James Koster cf64302063 woocommerce status dashboard widget #4042 2013-11-25 10:40:05 +00:00
Coen Jacobs 6377a2af6e esc_attr instead of esc_url for textarea placeholder
Closes #4195
2013-11-25 10:41:37 +01:00
Coen Jacobs effc108af4 Merge pull request #4192 from maxrice/http-x-forwarded-host
Allow forwarded hosts for forced SSL
2013-11-25 00:44:41 -08:00
Coen Jacobs 2f3ed733fb Merge pull request #4182 from thenbrent/is-purchasable-check
Check products are purchasable when restoring cart
2013-11-25 00:39:16 -08:00
Coen Jacobs 084ac253f9 Merge pull request #4181 from kloon/fix_order_item_meta_ajax
Fix ajax calls for adding and deleting order item meta from the backend.
2013-11-25 00:38:50 -08:00
Coen Jacobs 65a1ed1b98 Fixed typo as merged in #4190 2013-11-25 09:38:03 +01:00
Coen Jacobs 8978f75f36 Remove safety net for calling WC_Product directly #4194 2013-11-25 09:25:45 +01:00
Coen Jacobs 7b63c6ce49 Remove parameters from function as well #4194 2013-11-25 09:19:24 +01:00
Coen Jacobs 73215ba4e2 Remove 2.0 tax deprecated arguments #4194 2013-11-25 09:17:44 +01:00
Coen Jacobs 6acfff9879 Fixed field matching in setting up variations 2013-11-25 09:05:27 +01:00
Andrew Benbow 0f29761268 Bracing 2013-11-25 09:02:51 +01:00
Max Rice 72316d0b5f Allow forwarded hosts for forced SSL 2013-11-24 22:39:23 -05:00
Coen Jacobs 8054316fa6 Merge pull request #4185 from maxrice/rest-api-fixes-issue-4055
Various fixes for REST API
2013-11-24 12:58:25 -08:00
Coen Jacobs e9691eed7f Merge pull request #4184 from maxrice/api-order-status-update-issue-4161
Implement order status update endpoint
2013-11-24 12:58:15 -08:00
Andrew Benbow 2d03022b76 Brace all the things 2013-11-24 10:24:12 +00:00
Max Rice c00e2d0f8c Add total customers count to sales report
Part of #4055
2013-11-23 17:27:24 -05:00
Max Rice 017e7cee1d Add permissions for count endpoints 2013-11-23 17:11:16 -05:00
Max Rice 2af47c6699 Fix incorrect total results number for pagination headers 2013-11-23 16:37:28 -05:00
Max Rice 0be58b3390 Normalize response data types
Part of #4055
2013-11-23 16:36:56 -05:00
Max Rice 20fb7e771f Add total sales property to products response 2013-11-23 15:17:14 -05:00
Max Rice 3bc8fae631 Remove PUT/DELETE endpoints
Will be implemented in 2.2

Part of #4055
2013-11-23 15:01:53 -05:00
Max Rice a0cb0cbb4e Remove schema link 2013-11-23 14:41:21 -05:00
Max Rice 3f07b8be77 Specify 2 decimal places for woocommerce_format_decimal()
Part of #4055
2013-11-23 14:40:31 -05:00
Max Rice 5bb8c9daef Fix permissions typo
Part of #4055
2013-11-23 14:32:22 -05:00
Max Rice 1ce5a71f3d Load admin profile class when editing a user 2013-11-23 13:41:10 -05:00
Max Rice 38be2ee7a4 Perform core authentication at 0 priority
Makes it easier for plugins to override the core API authentication

Part of #4055
2013-11-23 13:28:26 -05:00
Max Rice a4b3860376 Add action for plugins to load other API resources
Part of #4055
2013-11-23 13:27:47 -05:00
Max Rice deac0be31b Implement order status update endpoint
Closes #4161
2013-11-23 12:59:21 -05:00
thenbrent 1ce5500b06 Add WC_Cart::get_cart_for_session() 2013-11-22 15:30:24 -08:00
thenbrent bb14495064 Check products are purchasable when restoring cart
If WC_Product::is_purchasable() is only called when adding a product to the cart,
it's possible to purchase products that aren't purchasable (but were when they were
added to the cart).
2013-11-22 15:14:08 -08:00
Gerhard bac3c81296 Fix ajax calls for adding and deleting order item meta from the backend. 2013-11-22 15:16:38 +02:00
Max Rice d7c77d1ab7 API: Add XML generation
This commit completes the XML response handler and adjusts the output
format for all resources to include a top-level property that encloses
the response. This is more consistent with the multi-resource (e.g. GET
/orders) response.

Part of #4165
2013-11-22 03:41:32 -05:00
Coen Jacobs f8ef3444b0 Fixed undefined esc_atr function error 2013-11-21 14:28:09 +01:00
Scott Basgaard 922fa990a5 esc_attr() all the things. 2013-11-20 20:11:59 +01:00
Scott Basgaard de77ec07ea esc_url() all the things. 2013-11-20 19:54:01 +01:00
Mike Jolley 3acfc07684 Fix user search and sanitize search strings 2013-11-20 17:30:49 +00:00
Mike Jolley 43807a0488 Accessing currency wrong 2013-11-20 17:25:48 +00:00
Mike Jolley cc40557077 filter for cart fragment #4132 2013-11-20 16:31:28 +00:00
Mike Jolley 0dc0b9cbb0 Indenting fail. 2013-11-20 16:13:53 +00:00
Mike Jolley 7cb88db630 Merge pull request #4143 from mihaigrigori/master
Show order currency
2013-11-20 08:12:21 -08:00
Mike Jolley 03bda02144 Merge pull request #4147 from BFTrick/optimize-images
Optimizing Images
2013-11-20 06:35:26 -08:00
Mike Jolley b3480fc60e Merge pull request #4148 from scottbasgaard/master
Use remove_ordering_args() to remove order query filters instead of remo...
2013-11-20 06:35:03 -08:00
Mike Jolley 453942252e Merge pull request #4151 from toddlahman/master
wc_ delimiter to identify start of uniquid
2013-11-20 06:34:40 -08:00
Mike Jolley 4a06538125 Merge pull request #4153 from kloon/tweak_formatted_price_filter
Add formatted_woocommerce_price filter.
2013-11-20 06:33:53 -08:00
Gerhard 970ae40004 Remove function and use global woocommerce_timezone_string function instead 2013-11-20 16:16:04 +02:00
Gerhard 475e9abe83 Add formatted_woocommerce_price filter. 2013-11-20 10:40:29 +02:00
toddlahman 0c07663b26 wc_ delimiter to identify start of uniquid 2013-11-20 00:03:49 -08:00