Commit Graph

30751 Commits

Author SHA1 Message Date
Mike Jolley edb378fcea Tweak test (test_wc_format_coupon_code) now the format function matches titles 2019-03-06 11:53:20 +00:00
Mike Jolley ea27a3e889 Merge branch 'master' into fix/22937 2019-03-06 11:46:37 +00:00
Mike Jolley 557530e43a Use wc_format_coupon_code when handling posted values 2019-03-06 11:44:54 +00:00
Mike Jolley e8aecdb824 Use wc_format_coupon_code when handling posted values
wc_clean and other functions strip characters - using wc_format_coupon_code keeps it consistent with post_title formatting.
2019-03-06 11:44:27 +00:00
Mike Jolley 96efb7a93b Use wc_sanitize_coupon_code 2019-03-06 11:42:07 +00:00
Mike Jolley 315b79c5ac phpcs 2019-03-06 11:41:58 +00:00
Mike Jolley 39bb476db2 Introduce wc_sanitize_coupon_code 2019-03-06 11:41:52 +00:00
Mike Jolley cb9edfc9f9
Merge pull request #22751 from woocommerce/fix/21544
Fix cart widget in Safari when using browser back button
2019-03-06 11:40:23 +00:00
Mike Jolley b33554a4bf Update troubleshooting link 2019-03-06 09:45:57 +00:00
haszari f944da3eac refresh products list suggestion colspan when screen options change 2019-03-06 14:44:58 +13:00
haszari d0fd15ea8c Ensure product list suggestion works with different screen options
- calculate product-table suggestion colspan using number of columns
- was previously hard-coded
2019-03-06 14:08:14 +13:00
haszari 37cff0c7ca fix jshint issue (const => var) + minify marketplace-suggestions 2019-03-06 13:57:18 +13:00
Paul Sealock e6b0194cc7
Merge pull request #22913 from woocommerce/add/tracks-ready-next-step
OBW: track a users next step
2019-03-06 11:56:02 +13:00
Joshua Flowers 795b571147 Add scripts to wc setup footer 2019-03-06 11:55:19 +13:00
haszari 1ed027bb09 snooze suggestions in product list (for 24 hours) after a suggestion is dismissed 2019-03-06 10:50:22 +13:00
Mike Jolley 16a0a3e27e Update from master 2019-03-05 19:03:01 +00:00
Mike Jolley cc6ca5bdbd Add deprecated 2019-03-05 19:00:37 +00:00
Mike Jolley 8cb385e3db Cleanup/test 2019-03-05 18:23:51 +00:00
Mike Jolley d9d458ce07 Clear cache in tests 2019-03-05 18:19:50 +00:00
Mike Jolley aba2f4713c Clear caches in api 2019-03-05 18:16:05 +00:00
Mike Jolley 0e943a38d7 Fix wc_get_attribute 2019-03-05 17:02:58 +00:00
Mike Jolley a42bdf94d0 avoid query in wc_attribute_orderby 2019-03-05 16:53:58 +00:00
Mike Jolley d03f5d4373 Index by ID and cache 2019-03-05 16:49:45 +00:00
Mike Jolley ed6c02b8ec wc_get_attribute caching 2019-03-05 16:21:10 +00:00
Mike Jolley 9452616a7f wc_get_attribute_taxonomy_labels with cache 2019-03-05 16:19:00 +00:00
Mike Jolley abc3b6ca47 Use cache helper for invalidation 2019-03-05 16:16:46 +00:00
Mike Jolley b2a136bfb8 wc_get_attribute_taxonomy_ids function, with cache 2019-03-05 16:10:31 +00:00
Mike Jolley 46bdad07e9 Array init code was wrong 2019-03-05 14:51:58 +00:00
Mike Jolley 1adf9bd69d Handle enter/space keyboard events 2019-03-05 14:23:28 +00:00
Mike Jolley a04d23ae88 Order checkboxes last 2019-03-05 14:23:17 +00:00
Mike Jolley a5e72cfc02 Re-order elements and add tabindex 2019-03-05 14:22:59 +00:00
Mike Jolley 2c2891c17a
Merge pull request #22925 from woocommerce/fix/22896
Remove structured data from archives and include some recommended fields on single product pages
2019-03-05 14:02:07 +00:00
Mike Jolley add1765234 Inline docs 2019-03-05 13:49:02 +00:00
Mike Jolley 6d5f5be164 sync_rating_count before average in deprecated method 2019-03-05 13:47:56 +00:00
Mike Jolley f707eeda3e Update from master 2019-03-05 13:31:14 +00:00
Mike Jolley a49d4a04a1 Update throws tags 2019-03-05 13:05:55 +00:00
Mike Jolley ac6763d0d0
Merge pull request #22820 from woocommerce/fix/22496
Make 'refund amount' read-only
2019-03-05 12:56:59 +00:00
Mike Jolley 2d394a2b26
Merge pull request #22888 from woocommerce/fix/22870
Add precision to tax in discount class
2019-03-05 12:54:11 +00:00
Gerhard e36ffaa6f0 Use correct meta key _stock for updating lookup table stock. 2019-03-05 14:38:22 +02:00
Gerhard 5ce0ea762a Missed PHPCS fix 2019-03-05 14:33:10 +02:00
Gerhard Potgieter 5a6cc36fce
Merge branch 'master' into experiment/product-sorting-index 2019-03-05 14:04:11 +02:00
Gerhard 0b6e8351d6 PHPCS fixes 2019-03-05 13:59:42 +02:00
Mike Jolley c60f137994
Merge pull request #22910 from woocommerce/refactor/post-data-methods
Tidy up post-data deprecated methods
2019-03-05 11:51:15 +00:00
Mike Jolley c8199afd9b
Merge pull request #22932 from woocommerce/renovate/eslint-5.x
Update dependency eslint to v5.15.1
2019-03-05 11:45:36 +00:00
Mike Jolley 6447d2344d
Merge pull request #22931 from woocommerce/renovate/autoprefixer-9.x
Update dependency autoprefixer to v9.4.10
2019-03-05 11:45:23 +00:00
Mike Jolley 545cbbb79c Check for required fields or bail 2019-03-05 11:44:26 +00:00
Mike Jolley bf11dbf76f If there is no url on last breadcrumb trail, use current url
Fixes #22923
2019-03-05 11:38:53 +00:00
Renovate Bot 686727ada1
Update dependency eslint to v5.15.1 2019-03-05 03:12:39 +00:00
Renovate Bot ab5a3ca519
Update dependency autoprefixer to v9.4.10 2019-03-05 01:40:21 +00:00
Jeff Stieler 7caba832f6
Refactor Tracks classes to remove singletons and static methods. (#22930) 2019-03-04 17:30:01 -07:00