Commit Graph

9484 Commits

Author SHA1 Message Date
Illimar Tambek cfe15e1e33 Add `id` attribute to woocommerce_form_field args
This change allows developers to supply their own id attribute
when using the `woocommerce_form_field` template function.
The default ID is the escaped key, keeping the default behaviour.
2014-09-10 11:34:37 +03:00
Tamara Zuk 3418895ced Trigger event on order items save 2014-09-10 00:17:12 -04:00
James Collins 1e251d36b6 Fix query error when saving tax rates
Fixes #6202
2014-09-10 09:47:09 +08:00
Max Rice 55d3ba0d9d Fix warnings with WC_Order::get_item_total()
When calling WC_Order::get_item_total() for a fee, $item[‘qty’] is not
set which causes a notice and warning.
2014-09-09 21:23:46 -04:00
Ninos Ego cc6cf6a881 Template breadcrumb - only remove last seperator
We should use ``rtrim()`` instead of ``trim()``, because otherwise
(depending to the $delimiter/$before/$after) it's possible to remove
also something from the beginning of the $parents variable.
2014-09-10 01:09:40 +02:00
Ninos Ego 46b786c14f Merge remote-tracking branch 'upstream/master' 2014-09-10 01:00:18 +02:00
claudiosmweb 2f1533ff94 created the wc_get_order_status_label() function 2014-09-09 14:14:10 -03:00
claudiosmweb c85a71dcee fixed the order status label 2014-09-09 14:00:37 -03:00
Mike Jolley c7dcd316a8 Merge pull request #6190 from maxrice/change-rest-api-docs-link
Update API docs to Apiary
2014-09-09 10:19:41 +01:00
Max Rice 6ccc10b891 Update API docs to Apiary 2014-09-08 18:09:10 -04:00
claudiosmweb 7f73587165 fixed the admin .pot file 2014-09-08 12:44:23 -03:00
Mike Jolley 27a20dd80e Docblock changes 2014-09-08 16:35:40 +01:00
claudiosmweb e2766e2a62 updated .pot files for WC 2.2 RC 2014-09-08 12:23:56 -03:00
Mike Jolley a187d29242 Update support links and read me versions/text 2014-09-08 16:19:25 +01:00
claudiosmweb 4a302aaba2 fixed the language pack upgrader docblocks 2014-09-08 12:11:47 -03:00
claudiosmweb 8f4e28b0be fixed the language pack upgrader to works well with WP 4.0, closes #6183 2014-09-08 12:08:24 -03:00
Mike Jolley 7ecd0009d0 Remove .org support link 2014-09-08 15:40:44 +01:00
Mike Jolley 3fb4deaa2b Prevent woocommerce_apply_base_tax_for_local_pickup breaking tax on virtual orders 2014-09-08 14:48:18 +01:00
Mike Jolley 0af94c135b Fix refund qty amounts
Fixes #6186
2014-09-08 13:07:12 +01:00
Mike Jolley ebed8dbc85 Correction to last commit to deal with tax arrays 2014-09-08 12:45:32 +01:00
Mike Jolley a588442cbb Format refund amounts as decimals
Fixes #6187
2014-09-08 12:42:30 +01:00
Mike Jolley 177dc3bb51 Tested upto 2014-09-08 12:18:15 +01:00
Mike Jolley c4ef86d44e scrutinizer patches 2014-09-08 00:37:55 +01:00
Mike Jolley bdd289f5f9 Coveralls 2014-09-08 00:04:02 +01:00
Mike Jolley 73f481291f Merge pull request #6185 from maxrice/webhooks-fix
Fix webhook delivery request header format
2014-09-08 00:03:12 +01:00
Mike Jolley 801dddf64e Merge pull request #6176 from maxrice/moar-unit-tests
MOAR unit tests
2014-09-08 00:03:03 +01:00
Mike Jolley 67e9b7b05f Merge pull request #6184 from maxrice/master
Use retina-friendly travis badge
2014-09-07 21:16:09 +01:00
Max Rice 7aa031c56a Fix webhook delivery request header format 2014-09-07 16:10:30 -04:00
Max Rice 2487698fcd Use retina-friendly travis badge 2014-09-07 15:48:26 -04:00
Max Rice ba47272599 update tests readme 2014-09-07 15:18:16 -04:00
Max Rice 6f532a93c4 Add coveralls.io for tracking test coverage 2014-09-07 14:53:33 -04:00
Max Rice 90ebdc2a26 Add scrutinizer config 2014-09-07 14:50:09 -04:00
Max Rice 7bd27712c5 Set WC specific values for tests config 2014-09-06 00:49:02 -04:00
Jim Greenleaf 31d863fe73 fix tests to work with any host 2014-09-06 00:47:22 -04:00
Max Rice 5ac9253808 Add separate phpunit config for travis 2014-09-05 19:37:16 -04:00
Max Rice 8a6097be79 Fix typo 2014-09-05 19:36:43 -04:00
Max Rice ac5076ad8e Fix failing tests in PHP 5.2 2014-09-05 19:21:31 -04:00
Max Rice f70c00ed24 Formatting functions tweaks 2014-09-05 14:35:18 -04:00
Max Rice bcf7d173f7 Add unit tests for formatting functions 2014-09-05 14:35:02 -04:00
Max Rice 0fbba35c9d Add factory for webhook unit tests 2014-09-05 14:34:51 -04:00
Mike Jolley 7a3ea7dc4e Merge pull request #6175 from aMoniker/test_uri_fix
fix tests to work with any host
2014-09-05 17:57:36 +01:00
Jim Greenleaf ea60d80e5b fix tests to work with any host 2014-09-05 11:17:53 -04:00
Mike Jolley 5f51745ac9 Merge pull request #6172 from barrykooij/fix/6168
Password protected posts are not hidden from catalog by default anymore, visibility can be set via the 'Catalog visibility' option.
2014-09-05 16:08:54 +01:00
Barry Kooij f9c1b17d27 Password protected posts are not hidden from catalog by default anymore, visibility can be set via the 'Catalog visibility' option.
Fixes #6168
2014-09-05 12:23:34 +02:00
Mike Jolley 9775170eff Merge pull request #6169 from axistools/makepot
Makepot now Supports PoEdit Header
2014-09-05 10:12:35 +01:00
Mike Jolley ad78caf955 Merge pull request #6171 from maxrice/fix-simplify-js-load
Don't load simplify javascript when simplify gateway isn't available
2014-09-05 10:04:51 +01:00
Mike Jolley b03536de0f Merge pull request #6167 from BFTrick/iss-6166
Fix for 6166
2014-09-05 10:01:50 +01:00
Max Rice 81b50b6bd6 Notice functions tweaks 2014-09-05 02:37:12 -04:00
Max Rice 0e4a4ef787 Add unit tests for notice functions 2014-09-05 02:36:46 -04:00
Max Rice c1b4d16b9d Add unit tests for coupon functions 2014-09-05 02:36:35 -04:00