Commit Graph

6161 Commits

Author SHA1 Message Date
Mike Jolley f6786ef6bf Convert back to forward slashes in getcwd closes #4112.
@tivnet, can you confirm? I don't have windows.
2013-11-18 11:20:39 +00:00
James Koster d25bdc821d meta formatting #3926 2013-11-15 16:38:21 +00:00
James Koster e44c75f2c5 mp6 #4042 2013-11-15 14:32:44 +00:00
Max Rice c1854b26b9 Implement GET /reports/sales endpoint
Part of #4055
2013-11-15 00:21:19 -05:00
James Koster 1ca24f492d mp6 bits #4042 2013-11-14 19:42:17 +00:00
Coen Jacobs 430666be2c Merge pull request #4117 from scottbasgaard/master
Ran 2.1 through the grinder and cleaned up various undefined variable notices.
2013-11-14 11:34:27 -08:00
Coen Jacobs faaebab2ff Always require braces (since yesterday ;) )
In order to comply to the new coding standards:
http://make.wordpress.org/core/2013/11/13/proposed-coding-standards-change-always-require-braces/
2013-11-14 20:31:08 +01:00
Gerhard 3607ecf285 Add button on tools page to create missing pages 2013-11-14 21:20:18 +02:00
Max Rice 5ab8e085ad Update /coupons/code endpoint
Part of #4055
2013-11-14 13:56:05 -05:00
Max Rice ec55e43c24 Update API index response
Part of #4055
2013-11-14 13:55:45 -05:00
Scott Basgaard 4bdfd78ac5 Avoid undefined variable notices when calculating totals and saving attributes via AJAX. 2013-11-14 19:40:15 +01:00
Scott Basgaard 9f7f36b232 Merge branch 'master' of github.com:woothemes/woocommerce
Conflicts:
	woocommerce-ajax.php
2013-11-14 19:37:34 +01:00
Max Rice 709f0da16f Improve response filters
Part of #4055
2013-11-14 12:48:20 -05:00
Max Rice 451bc07339 Tweak GET /order response
Part of #4055
2013-11-14 12:42:42 -05:00
Max Rice 674ea42012 Implement GET endpoint for products and reviews
Part of #4055
2013-11-14 12:40:35 -05:00
Mike Jolley 3793382775 Update POT files Closes #4109 2013-11-14 14:03:06 +00:00
Mike Jolley 221a9d7350 Merge pull request #4111 from tivnet/master
Incorrect "Robots: none" tag?
2013-11-14 05:53:12 -08:00
Gregory K eba9edb30b Incorrect "Robots: none" tag?
https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag
2013-11-14 07:40:33 -05:00
Mike Jolley 3d7df1bb85 Merge pull request #4108 from corsonr/master
Added Icelandic krona & Currency symbol
2013-11-14 04:28:31 -08:00
Mike Jolley 645ca3e834 WC_Ajax class for ajax events 2013-11-14 12:13:34 +00:00
Remi Corson 479153918e Fixed incorrect Icelandic currency code 2013-11-14 11:44:58 +01:00
Remi Corson 84e8716844 Added Icelandic krona & Currency symbol 2013-11-14 11:42:05 +01:00
Remi Corson 55ccb4d428 Added Icelandic krona currency & currency code 2013-11-14 11:39:59 +01:00
Mike Jolley d7ee32b18a Consistant naming with core 2013-11-14 09:48:41 +00:00
Scott Basgaard 947feea93f Check an attribute actually has terms before saving them via AJAX to avoid undefined notices. 2013-11-13 21:20:19 -05:00
Scott Basgaard 97fe6adaeb It's possible there are no attributes. Let's check first to avoid undefined notices. 2013-11-13 21:15:30 -05:00
Scott Basgaard 5b5704d196 More undefined checks to avoid PHP notices in widgets. 2013-11-13 21:11:00 -05:00
Scott Basgaard c36369010d When adding new widget instance, use isset() to make sure setting key exists and avoid notices/warnings. 2013-11-13 21:03:46 -05:00
Scott Basgaard eb91907db6 Make sure $matched is defined when calculating shipping totals and classes to avoid PHP variable undefined notices. 2013-11-13 20:53:31 -05:00
Scott Basgaard 8996af0f42 Avoid undefined variable for items when calculating totals on new order. 2013-11-13 20:48:36 -05:00
Scott Basgaard f76a5edea8 Display message when tools options have been saved. 2013-11-13 20:36:27 -05:00
thenbrent 9e80672143 Use new notice template for Shipping Updated
For #4034
2013-11-13 16:20:27 -08:00
thenbrent 3c625eba5f Use $messages variable for all notice templates 2013-11-13 16:19:59 -08:00
thenbrent a7a7a8ee08 fixup! Store all notices in 'wc_notices' array 2013-11-13 16:19:27 -08:00
thenbrent 41c1bd6b82 Use wc_print_notice() for checkout notices 2013-11-13 16:10:49 -08:00
thenbrent 8dcf86335c Introduce new wc_print_notice() function 2013-11-13 16:10:31 -08:00
thenbrent 3fa310969f Introduce new wc_get_notices() function
To replace the deprecated Woocommerce->get_messages() and
Woocommerce->get_errors() functions
2013-11-13 16:09:28 -08:00
thenbrent 376c2f26ce Store all notices in 'wc_notices' array
With 'error', 'success' & 'notice' array keys
2013-11-13 16:09:28 -08:00
thenbrent 41ba6578a0 Move notice templates into /notices/notice.php 2013-11-13 16:09:28 -08:00
Mike Jolley 02c47b2723 get_related wpdb query Closes #4086 2013-11-13 18:00:01 +00:00
Mike Jolley 2b57114a12 WC() > $woocommerce 2013-11-13 16:59:42 +00:00
Mike Jolley 197c0c76cc Only unset cookie if it exists #3513 2013-11-13 14:55:15 +00:00
Mike Jolley daea1e827c Merge pull request #4094 from robdvr/master
Ability to add custom input classes
2013-11-13 04:18:19 -08:00
Mike Jolley 044f92fe41 Merge pull request #4096 from scottbasgaard/master
Use $_product object instead of undefined $product_id for downloadable p...
2013-11-13 04:15:22 -08:00
Mike Jolley e9c38153e5 Merge pull request #4101 from franticpsyx/variation_is_visible
Fix invisible variations when get_price is filtered and set to (double) 0.
2013-11-13 04:15:04 -08:00
Mike Jolley 35fc728090 Login form hooks Closes #4059 2013-11-13 12:12:27 +00:00
Mike Jolley 2c25568e21 Filter for adding login erorrs #4059 2013-11-13 12:12:27 +00:00
Mike Jolley f1e6900359 Hooks before and after deleting order items #4059 2013-11-13 12:12:27 +00:00
Mike Jolley b116d7619d Ex tax calcs Closes #4100 2013-11-13 12:12:27 +00:00
Mike Jolley 814d21c20e Code standards 2013-11-13 12:12:27 +00:00