Commit Graph

18324 Commits

Author SHA1 Message Date
Mike Jolley b0ef92c30e Better conditional for travis 2016-12-07 19:48:35 +00:00
Mike Jolley 50dd4bb774 Another travis test 2016-12-07 19:44:46 +00:00
Mike Jolley 5139c811d6 Merge pull request #12533 from woocommerce/rest-api-4.7
[2.6] API Fixes for 4.7
2016-12-07 18:51:47 +00:00
Mike Jolley fcf0ab0ba5 Tweak travis code to reduce test times. 2016-12-07 18:44:18 +00:00
Mike Jolley 07932b4432 Merge pull request #12535 from woocommerce/fallbacks-for-endpoints
Fix lost password and account links
2016-12-07 18:18:40 +00:00
Mike Jolley e8d119c42c Feedback 2016-12-07 18:13:17 +00:00
Mike Jolley a2263d2760 Type should be checked by name not slug 2016-12-07 18:08:59 +00:00
Mike Jolley 1ad852443b Invalid type 2016-12-07 15:54:35 +00:00
Mike Jolley 045ce00390 Update README.md 2016-12-07 15:07:16 +00:00
Mike Jolley 6c1b43a54a Update README.md 2016-12-07 15:06:38 +00:00
Mike Jolley 7f234a0b63 Update array schema 2016-12-07 14:24:44 +00:00
Mike Jolley cce08e6225 Indenting 2016-12-07 14:06:04 +00:00
Mike Jolley a6a4650809 Fix theme test 2016-12-07 13:46:01 +00:00
Mike Jolley 9f85aa3869 Merge pull request #12489 from woocommerce/add/twenty-seventeen-support-new-method
Add/twenty seventeen support new method
2016-12-07 12:46:36 +00:00
Mike Jolley 6d908cfba2 Code cleanup and move class into subdirectory 2016-12-07 12:45:54 +00:00
Mike Jolley d4fbda1d68 Put back array for arrays of objects 2016-12-07 12:20:56 +00:00
Mike Jolley 9a9d133fc3 Use correct endpoint for lost password link 2016-12-07 12:07:10 +00:00
Mike Jolley fe9e89f3b7 wc_logout_url function 2016-12-07 12:04:44 +00:00
Mike Jolley 6a7ceab462 Fix tests by casting to array 2016-12-07 11:37:11 +00:00
Mike Jolley d9420e01d2 Fix themes_api fatal error 2016-12-07 11:37:00 +00:00
Mike Jolley ba62599da0 Use objects, rather than arrays in schema when properties are defined 2016-12-07 11:36:46 +00:00
Mike Jolley 7583965af2 Use wp_list_sort vs _usort_terms_by_ID
Fixes #12525
2016-12-07 10:21:03 +00:00
Mike Jolley d1f4177c97 Allow fail because WP notices in tests. 2016-12-06 16:57:35 +00:00
Mike Jolley 3f1368153a Merge pull request #12521 from woocommerce/plugins-url-assets-12477
Register scripts using plugins_url
2016-12-06 16:04:30 +00:00
James Koster 4daa5d133b Add a utility function to check the active theme.
And check active theme before loading integration class
2016-12-06 12:14:00 +00:00
Mike Jolley 31fbee2b07 ran grunt 2016-12-06 11:53:27 +00:00
Mike Jolley cb3b9fb02a Merge branch 'pr/12510' 2016-12-06 11:52:23 +00:00
Mike Jolley 201f89b19a Clean up template loader logic 2016-12-06 11:52:15 +00:00
Mike Jolley 0c2d070d72 Merge pull request #12475 from leogermani/patch-1
get_payment_method relies on a more generic DOM element
2016-12-06 11:18:58 +00:00
Mike Jolley ff05080208 Merge pull request #12462 from danielhuesken/fix_rest_setting_user_role
Set customer role for user if it not a customer on the current blog
2016-12-06 11:16:27 +00:00
Mike Jolley b4e255354f Merge pull request #12418 from bobbingwide/master
Fixes #12352 - cater for just one item selected in a multiselect list
2016-12-06 11:14:24 +00:00
Mike Jolley a32cc87c82 Merge pull request #12515 from Ramoonus/patch-10
travis-ci: test with php 7.1
2016-12-06 11:13:45 +00:00
Mike Jolley 070926f7e6 woocommerce_downloadable_file_hash filter
Closes #12444
2016-12-06 11:09:03 +00:00
Mike Jolley 44ee5f7ed3 Ensure products have different timestamps in tests. 2016-12-06 10:46:48 +00:00
Mike Jolley 84a930a607 Variations are returned newest to oldest in tests. Ensure dates differ. 2016-12-05 18:51:29 +00:00
Mike Jolley 7b739b9367 Register scripts using plugins_url 2016-12-05 18:34:30 +00:00
Mike Jolley 4bd05c7396 Combine 2 address loops 2016-12-05 16:08:51 +00:00
Mike Jolley 8e81526bfc Set menu order so products return in correct order for tests. 2016-12-05 15:43:08 +00:00
Mike Jolley 162aa986b6 Fix tests 2016-12-05 14:21:09 +00:00
Mike Jolley 4130ae0e1f Merge pull request #12520 from woocommerce/feedback-12495
2.7 CRUD Feedback
2016-12-05 13:47:58 +00:00
Mike Jolley ad7d8c14dc Do not suffix when ranges are used. 2016-12-05 13:44:21 +00:00
Mike Jolley 1f04cf9dc0 Comment on has_all_attributes_set 2016-12-05 13:15:25 +00:00
Mike Jolley 2780688a70 wc_get_price_html_from_text 2016-12-05 13:13:30 +00:00
Mike Jolley 3975054acd Reindex after clear. 2016-12-05 13:06:14 +00:00
Mike Jolley 4cd4e8b9f8 Remove register_form action to avoid outputting non-validated captchas
Closes #12500
2016-12-05 12:00:48 +00:00
Mike Jolley d2eeb32af5 Update README.md 2016-12-05 10:29:01 +00:00
Ramon van Belzen f97f2c603a travis-ci: test with php 7.1 2016-12-05 08:14:56 +01:00
Kalen Johnson 2d7e6e7206 Filter the template loader files
Over at Roots we've been working on implementing Laravel's Blade templating engine with the next release of the Sage theme. The filters for the template hierarchy coming in WP 4.7 are going to be very valuable. Looking to accomplish the same thing with 3rd party plugins as well.

A theme using a templating engine would still be able to filter the default templates such as `archive-product.php`, however keeping the functionality that including a `woocommerce.php` file would be nice to be able to use as well.

This PR I believe adds the ability to add a file similar to `woocommerce.php` while not allowing anyone to filter any of the extra functionality away from Woocommerce.
2016-12-03 10:16:18 -08:00
Mike Jolley ba56274662 Move get_price_suffix back to main class 2016-12-02 17:02:06 +00:00
Mike Jolley d67f17a789 Put get_availability functions back in main product classes. 2016-12-02 16:46:35 +00:00