Commit Graph

15145 Commits

Author SHA1 Message Date
Justin Shreve 97c0edf445 Start on tests for testing CRUD meta.
Includes Mock object for testing against the abstract WC_Data.
2016-03-14 11:12:47 -07:00
Justin Shreve f572a887e0 New Abstract WC_Data Class 2016-03-14 11:12:47 -07:00
Justin Shreve 353dc2d87e Merge pull request #10533 from justinshreve/payment-token-fixes
Fix Payment Token 'set default' methods.
2016-03-14 09:42:17 -07:00
Justin Shreve ea260254c1 Fix feedback. 2016-03-14 09:41:37 -07:00
Justin Shreve 5dbfc7ae16 Fix Payment Token 'set default' methods. Makes sure we are using the user ID of the payment token, and not the current user.
Also makes sure to properly unset other tokens when a new one is set as default. Finally, we make sure that a user is always set in our payment token tests (which was broken in some WP versions which alerted us to some broken tests).
2016-03-14 09:41:37 -07:00
Mike Jolley 3d3ce24d87 readme 2016-03-14 16:24:53 +00:00
Mike Jolley ee0798047e Merge branch 'wc-get-orders-10500' 2016-03-14 16:09:01 +00:00
Mike Jolley a588757d33 Feedback 2016-03-14 16:08:42 +00:00
Mike Jolley df75080858 woocommerce_product_categories_widget_product_terms_args filter
Closes #10555
2016-03-14 15:52:04 +00:00
Mike Jolley c573a5b75f Only add product line if product exists.
Fixes #10556
2016-03-14 15:40:58 +00:00
Mike Jolley 0516d63c3f Update download permission user and email when changed
Fixes #10543
2016-03-14 14:36:32 +00:00
Claudio Sanches 4e1a3d7a0c Introduces woocommerce_queued_js filter, closes #10553 2016-03-14 10:47:34 -03:00
Mike Jolley 1b54c00a63 POT 2016-03-14 12:26:30 +00:00
Mike Jolley 699e007659 Wrap export in quotes to preserve commas
Fixes #10541
2016-03-14 12:26:18 +00:00
Mike Jolley 4a8573c9f0 Trigger action when no results are found in a shortcode
Used to add custom content.

Closes #10552
2016-03-14 12:11:51 +00:00
Mike Jolley ac122f13b9 Add context to checkout error messages
Closes #10540
2016-03-14 11:54:16 +00:00
Mike Jolley ed36b1b576 Merge pull request #10547 from mikebronner/patch-1
Add tests for localStorage
2016-03-14 11:29:59 +00:00
Mike Jolley 571956d57d Ignore catalog visibility on products shortcode when specifying ids and skus 2016-03-14 10:49:11 +00:00
Mike Jolley 733b0c8c93 Lowercase includes %s string only 2016-03-14 10:41:48 +00:00
Mike Bronner de85e5be25 Add tests for localStorage
Some spiders will not error out on sessions storage, but will throw an exception on localstorage. For example, my site has been hit with the following almost on an hourly basis:

```
TypeError: Cannot call method 'setItem' of null
1
File https://maureentaylor.com/app/plugins/woocommerce/assets/js/frontend/cart-fragments.min.js line 1 in [anonymous]
```
2016-03-13 08:42:35 -07:00
Mike Jolley 71f32383f8 Comment and minify 2016-03-12 08:37:02 +00:00
Mike Jolley 5e88adc02a Remove drop index code - will patch WP core 2016-03-12 08:18:28 +00:00
Mike Jolley 7e712ee09a Tweak preserveComments and re-minify 2016-03-12 08:14:37 +00:00
Claudio Sanches 4d59c86c90 Changelog for 2.5.5 2016-03-11 18:45:47 -03:00
Claudio Sanches ede64f7aa9 Minify and POT 2016-03-11 14:42:34 -03:00
Claudio Sanches 335c4d9641 Updated grunt 2016-03-11 14:42:25 -03:00
Mike Jolley ac857999ff [2.5] Prevent notice when unsetting terms
Fixes #10536 @claudiosmweb
2016-03-11 13:12:31 +00:00
Mike Jolley 73fdfe595a [2.5] Prevent shortcode errors when non product ID is provided
Fixes #10534
2016-03-11 12:53:50 +00:00
Mike Jolley 86a0fff731 [2.5] Before updating with DBDELTA, drop existing indexes so they can be re-added without duplicate key errors. 2016-03-11 12:32:43 +00:00
James Koster 38a668e402 Ensures the update cart button is an appropriate width in handheld orientation 2016-03-11 11:28:55 +00:00
Claudio Sanches ad446d002e Fixed zeroclipboard fallback on firefox 2016-03-10 14:58:50 -03:00
Claudio Sanches 5fbd88489b Input type for api keys 2016-03-10 14:39:52 -03:00
Claudio Sanches e233eaa2c3 Fixed missing textdomain 2016-03-10 14:26:06 -03:00
Claudio Sanches 31005a1f72 Updated changelog 2016-03-10 14:25:39 -03:00
Mike Jolley d28183f267 Merge pull request #10531 from torrelasley/patch-1
Fixing Issue #10523 - Variations ID lookup by SKU
2016-03-10 12:52:54 +00:00
Mike Jolley 2d2c64d2ab Change heading and tab markup
Closes #10515
2016-03-10 12:52:20 +00:00
Torre Lasley e9c3a3614f Fixing Issue #10523 - Variations ID lookup by SKU
I copied the code from the bulk() function to look up the Variation ID by the Variation SKU if the Variation ID is missing.
2016-03-10 07:34:29 -05:00
Mike Jolley 29d35151a1 woocommerce_cod_process_payment_order_status filter
Closes #10522
2016-03-10 12:30:42 +00:00
Mike Jolley 726728071b [2.5] Hide shipping row when calculator is disabled, and shipping costs are hidden
Fixes #10519
2016-03-10 12:26:52 +00:00
Mike Jolley b4f4e3c7ab Merge pull request #10530 from ConfusedTA/patch-1
Add filter to output from json_search_customers
2016-03-10 12:21:27 +00:00
Mike Jolley 1cf4543137 Spanish postcode format
Closes #10529
2016-03-10 12:17:49 +00:00
ConfusedTA 8495d98275 Add filter to output from json_search_customers
Add filter to admin ajax customer search, to allow modification of search result output via plugin or theme.
2016-03-10 12:15:44 +00:00
Mike Jolley 9ce892bd39 Avoid title case. Clean up colon.
Closes #10524 (lol)
2016-03-10 11:39:32 +00:00
Mike Jolley 32acec8477 Load session handler and abstract together 2016-03-10 09:31:25 +00:00
Claudio Sanches 3296c8f242 Merge pull request #10526 from shivapoudel/remove-colons
Remove colon from tax settings page
2016-03-10 03:13:41 -03:00
Shiva Poudel d567d12b64 Remove colon from tax setting page 2016-03-10 11:32:33 +05:45
Claudio Sanches f9ff5ba49f Updated phpunit blacklist 2016-03-10 00:06:22 -03:00
Claudio Sanches 1aa796390a Minify 2016-03-10 00:02:50 -03:00
Claudio Sanches a27324c00c [2.5] Fixed PrettyPhoto embed under HTTPS, closes #10521 2016-03-10 00:02:17 -03:00
Claudio Sanches 11decde0ab Make sure that the attribute is a taxonomy before unset #10506 2016-03-09 17:17:21 -03:00