Commit Graph

16939 Commits

Author SHA1 Message Date
Mike Jolley dff1fc84de Merge pull request #11651 from rodrigoprimo/comment-type-index
Add an index to the field comment_type
2016-08-10 11:02:10 +01:00
Mike Jolley 1a4576b95c Merge branch 'pr/11661' 2016-08-10 10:36:58 +01:00
Mike Jolley 51f3efd5c4 Don't need both cases 2016-08-10 10:36:51 +01:00
Mike Jolley 1f3d3853a3 Merge pull request #11662 from woothemes/fix/customer-api-avatar-url
[2.6] Fix avatar_url Customer API response
2016-08-10 10:34:16 +01:00
Justin Shreve 486f7cc738 Correct the avatar_url Customer API response to use the correct email field. 2016-08-09 14:02:58 -07:00
Gregory Karpinsky b08d0bc1d2 woocommerce_taxonomy_archive_description
Check for `is_product_taxonomy()` to show the description on the product attribute archives.
2016-08-09 16:22:50 -04:00
Justin Shreve 3e05fbaeea Merge pull request #11647 from woothemes/add/system-status-tools-api
System Status Tools API
2016-08-09 10:16:39 -07:00
Justin Shreve 35cae38aa2 Fix issues from PR review: sanitize/escape fixes in wp-admin, remove modes. 2016-08-09 10:14:47 -07:00
Justin Shreve 72d665d464 Remove @todo 2016-08-09 09:51:30 -07:00
Justin Shreve b198e6d65b Add the ability to see and update system status modes (shipping debug, template debug, uninstall...) 2016-08-09 09:51:30 -07:00
Justin Shreve 9609998505 Add tools controller 2016-08-09 09:51:30 -07:00
Justin Shreve 9dbd365be8 First pass at system status tools. Fully functioning endpoints for listing tools, listing data about a specific tool, and executing a tool. 2016-08-09 09:51:30 -07:00
Mike Jolley dbdb628575 Merge pull request #11648 from belcherj/add/stylelint
Add stylelint to repository
2016-08-09 15:06:22 +01:00
Rodrigo Primo 7acf712e45 Check if there is a comment_type index before adding one
Adding this check to avoid a MySQL error when running the query if the index already exists.
2016-08-09 14:28:41 +02:00
Mike Jolley 7a2154a37a Merge branch 'WC-CRUD' 2016-08-09 11:18:43 +01:00
Mike Jolley f4b45001ec Merge conditonal 2016-08-09 11:17:47 +01:00
Mike Jolley b7dcd97572 Sanitize on set only 2016-08-09 11:16:54 +01:00
Mike Jolley 01a4c81094 Spacing 2016-08-09 11:16:13 +01:00
Mike Jolley 4ac4bcaa08 Merge branch 'master' into WC-CRUD
# Conflicts:
#	tests/unit-tests/cart/cart.php
2016-08-09 11:08:21 +01:00
Mike Jolley ddf90f6268 Merge pull request #11649 from woothemes/fix/batch-api-typo
Fix Error Typos/Make Errors Consistent
2016-08-09 10:19:10 +01:00
Rodrigo Primo 2e8f02f6a4 Add an index to the field comment_type
This index improves the response time of the query used by WC_Comments::wp_count_comments() to get the number of comments by type.
2016-08-09 10:00:51 +02:00
Justin Shreve 2d0aeec5c5 Fix customer batch error 2016-08-08 14:54:12 -07:00
Justin Shreve fe7e26d68d Error fixes:
* Typos
* Consistent edit error handles
* Consistent error messages
2016-08-08 14:52:46 -07:00
Jonathan (JB) Belcher 1f49528fea Add stylelint to repository 2016-08-08 15:32:39 -04:00
Mike Jolley ab721f2d4a Merge pull request #11643 from jobthomas/update-copy-help
Update copy help
2016-08-08 17:33:46 +01:00
Job f5e45d254e update woothemes > woocommerce
changes in the help tab

WooThemes Helpdesk > WooCommerce Helpdesk
2016-08-08 15:37:30 +02:00
Job 44ab9bde0d Merge remote-tracking branch 'woothemes/master' 2016-08-08 15:31:55 +02:00
Mike Jolley cfe28c9b25 Made WC_Logger pluggable via wc_get_logger function.
Closes #11474
2016-08-08 13:59:23 +01:00
Mike Jolley 87443763d8 Hook in the no products found template
Closes #11257

cc @jameskoster
2016-08-08 13:43:42 +01:00
Mike Jolley 40d395c16c Merge pull request #11629 from woothemes/price-inc-tax-hell-11626
Prices including taxes and what gets stored/presented.
2016-08-08 12:17:36 +01:00
Mike Jolley 48f52af35d Merge pull request #11632 from nathanielks/patch-1
Update class-wc-form-handler.php
2016-08-08 12:16:19 +01:00
Mike Jolley 5eaee825f1 Ensure page_object is valid
Closes #11641
2016-08-08 12:14:41 +01:00
Mike Jolley 4a8db96c91 [2.6][api] ID needs to be capitalized
Sorting won’t work with lowercase id

Fixes #11635

@claudiosmweb
2016-08-08 12:10:29 +01:00
Mike Jolley 61e2969b83 [2.6][API] Fix coupon description field
fixes #11633
2016-08-08 11:27:07 +01:00
Mike Jolley 92f7244c63 Merge pull request #11636 from kilbot/master
initialize $tax_rates variable
2016-08-08 10:37:01 +01:00
Paul Kilmurray 4484877481 initialize $tax_rates variable
There are situations where the $tax_rates may not be initialized in the conditional, which in turn throws an error later in the function.
2016-08-08 10:36:04 +07:00
Nathaniel 92b28baeb4 Update class-wc-form-handler.php
As a user, I would expect to be returned to the Edit Address page as opposed to the My Account page.
2016-08-06 11:54:44 -07:00
James Koster 122bcd5f9a Remove unnecessary `!important`s in css and explain ones that are necessary. closes #11415 2016-08-05 15:48:16 +01:00
Mike Jolley 3f93886cb9 Merge pull request #11628 from JeroenSormani/patch-1
Focus on modal, enable esc-close + init tooltips
2016-08-05 15:45:18 +01:00
Mike Jolley 1c592b3872 Merge pull request #11208 from woothemes/orders-crud-classes
Orders crud classes
2016-08-05 15:44:15 +01:00
Mike Jolley 0b04ee195c Over sanitization 2016-08-05 15:43:12 +01:00
Mike Jolley 63fb1304fd Readme 2016-08-05 15:07:14 +01:00
Mike Jolley c346a1b711 Merge pull request #11540 from woothemes/tax-rate-auto-ordering
Automatic Tax Rate Sorting
2016-08-05 15:06:03 +01:00
James Koster 8708273401 review meta template tidy up. closes #11417
* Adds class for ‘comment awaiting approval’ message
* Replaces ‘comment’ for ‘review’ in aforementioned message
* Adds class for author
* Adds class for review date
* Adds new-style class for verification notice
* Wraps dash in a span with new-style class
* Removes unnecessary colon
2016-08-05 14:41:02 +01:00
Mike Jolley 559e379faf Issues after audit 2016-08-05 14:23:01 +01:00
Mike Jolley 54256c4123 Round prices being saved to DB 2016-08-05 14:06:51 +01:00
Jeroen Sormani 052a277400 Focus on modal, enable esc-close + init tooltips
When opening the modal it doesn't allow you to close it with the ESC key unless you click on the modal first.
Focussing on the modal when its loaded resolves that.

Also adding tooltip initialisation so tooltips will show if they are present. I don't believe core is using tooltips in there right now, but I guess its useful for the future / 3rd party devs that may have a use for it (like me)
2016-08-05 14:15:38 +02:00
Mike Jolley 152134ed5e Add unit test for #11626 2016-08-05 12:11:35 +01:00
Mike Jolley ccad4d2df3 Merge pull request #11561 from woothemes/add/product-reviews-create-and-update
Add tests, create, update, delete, and batch to the Product Reviews API
2016-08-05 11:16:42 +01:00
Justin Shreve 59a68e11e3 Remove test for number of meta, since we don't delete extra meta bits anymore. The test for content is enough. 2016-08-04 13:17:53 -07:00