Commit Graph

25901 Commits

Author SHA1 Message Date
Mike Jolley a7bff8f1aa
Merge pull request #19024 from woocommerce/pr/19003
Fix check for external resources
2018-02-19 13:07:53 +00:00
Mike Jolley 48e1894258 code standards 2018-02-19 13:06:04 +00:00
Mike Jolley 14c3d062f8
Merge pull request #19023 from woocommerce/fix/18995
Preview order modal: customer order note display
2018-02-19 12:43:13 +00:00
Mike Jolley e9bc9d3b1f Indentation 2018-02-19 12:41:55 +00:00
Mike Jolley dc1097650e Styling 2018-02-19 12:41:42 +00:00
Mike Jolley b15bc8f1f2 Fixes button disable state and save response handling
To test, save tax rates and see row is missing.

After patch the button is disabled until changes are made.

If you force button to be non-disabled via inspector and save, fields
will not be hidden.
2018-02-19 12:27:37 +00:00
Mike Jolley a7c1bab152 Prevent JS error is row is missing orders column
Closes #19017
2018-02-19 12:17:24 +00:00
Mike Jolley 68238938e4 Adds back get_item so you can get a single Webhook
Closes #19015
2018-02-19 11:56:57 +00:00
Patrick Mladensich 1b290eae6d
Fix check for external resource 2018-02-16 22:51:06 +01:00
Remi Corson ad240278bd Do not display H2 note if no note
This will make the note title not appear if no note is defined. However, some CSS styling is needed as padding was originally added via .wc-order-preview-address wichi was containing the note section.
2018-02-16 15:24:31 +01:00
Jonathan MacGregor c82297ca10
Update wc-account-functions.php 2018-02-16 13:19:50 +00:00
Jonathan MacGregor 29d53969c4 Logout from My Account Menu now appends the nonce 2018-02-16 13:10:17 +00:00
Remi Corson 94802c7a8b Fix #18995
Fixes #18995 by moving the note section outside the addresses container and unlink it from the shipping method conditional statement.
2018-02-16 12:12:15 +01:00
Caleb Burks c36b2f2fde Make sure terms page exists and isn’t trashed 2018-02-16 02:27:34 -05:00
Mike Jolley 49a74b95db Made get_on_sale_products respect the setting to hide outofstock products
Closes #18981
2018-02-15 16:35:29 +00:00
Boro Sitnikovski 927576edb2 Pass image to get_image_filter as well 2018-02-15 16:22:30 +01:00
Mike Jolley f3a524255a
Merge pull request #18980 from edwardkay/patch-1
Grammar fix to login button
2018-02-15 14:04:13 +00:00
Mike Jolley b2265818b9
Merge pull request #18979 from iconicwp/patch-4
Mini cart item link
2018-02-15 14:03:17 +00:00
Edward Kay cc6149d08a
Grammar fix to login button
Login is a noun, not a verb :) See https://www.quora.com/Which-is-correct-%E2%80%9Clogin%E2%80%9D-or-%E2%80%9Clog-in%E2%80%9D
2018-02-15 13:58:21 +00:00
Iconic 79fa19251e
Mini cart item link
This should account for the value of `$product_permalink`, not just whether the product is visible.
2018-02-15 13:31:40 +00:00
Mike Jolley 65278efd44 Allow modal to be wider and fix button wrapping 2018-02-15 12:46:47 +00:00
Mike Jolley 67c07a3314
Update ISSUE_TEMPLATE.md 2018-02-15 11:28:14 +00:00
Jonathan Belcher f64be6dc62
Delete Whitespace 2018-02-14 15:41:13 -05:00
Jonathan Belcher 8d757e3d3c
Deletes whitespace 2018-02-14 15:40:01 -05:00
Mike Jolley 654e7db840 Use empty check for search 2018-02-14 18:09:47 +00:00
Mike Jolley 1b03a80ecb
Merge pull request #18955 from woocommerce/update/3.3-image-handling
Image regeneration and thumbnail improvements
2018-02-14 17:35:53 +00:00
Mike Jolley d841cf3f27 Conditionally add messages in customiser 2018-02-14 17:25:52 +00:00
Mike Jolley 7ae0f6c274 Hide status button when disabled via filter 2018-02-14 17:00:43 +00:00
Mike Jolley ebc8ff0737 Fallback to closest match if size changes. 2018-02-14 13:43:52 +00:00
Mike Jolley 2f0e88f7ba Improved photon handling 2018-02-14 13:20:34 +00:00
Mike Jolley 66e65cf7bf Disable image regen if photon is being used. 2018-02-14 11:38:18 +00:00
Gerhard Potgieter f3974efb6b Fetch size dynamically 2018-02-14 11:35:16 +02:00
Gerhard Potgieter 0dce1a485c Remove hardcoded check, use dynamic values based on WP_CONTENT_DIR and ABSPATH 2018-02-14 11:29:44 +02:00
Gerhard Potgieter 1961076bf7 Update tools message for image reneneration. 2018-02-14 10:38:59 +02:00
Andrej Mernik 62e158835c
Update photoswipe.php
Remove comments. Theme developers can read the Photoswipe docs for modification ...
2018-02-14 07:48:12 +01:00
Mike Jolley fe1abb61e6 Fix flex box rules 2018-02-13 20:49:25 +00:00
Mike Jolley 0672afdc9f Log cancel event 2018-02-13 19:22:01 +00:00
Mike Jolley 1631c8a09f Cancel button text 2018-02-13 19:21:52 +00:00
Mike Jolley 280ca3757e wc_get_gallery_image_html checks 2018-02-13 19:18:13 +00:00
Mike Jolley 67bef92657 static function 2018-02-13 17:57:45 +00:00
Mike Jolley 154898dec2 make customizer preview temporary 2018-02-13 14:33:45 +00:00
Mike Jolley 52853e9c23 typo 2018-02-13 13:59:54 +00:00
Mike Jolley 755f535f69 Return, to avoid multiple resizes 2018-02-13 13:58:27 +00:00
Andrej Mernik 4e1fab4652
Convert HTML comments to PHP, remove empty lines
There are no benefits of exposing code comments to the public. The code was also made more compact.
2018-02-13 14:43:02 +01:00
Mike Jolley 9f9e4027e9 Thumbnail mapping 2018-02-13 12:51:55 +00:00
Mike Jolley e39b6950a8 Notice when regeneration is happening 2018-02-13 12:02:24 +00:00
Mike Jolley 3c7262112e Merge branch 'fix/18842-external-images-fix' into update/3.3-image-handling 2018-02-13 11:18:43 +00:00
Mike Jolley c29da59edf Merge branch 'fix/18842-external-images-fix' into update/3.3-image-handling 2018-02-13 11:17:43 +00:00
Mike Jolley 2b36b5f49f Main image should be larger. 2018-02-13 11:16:42 +00:00
Mike Jolley a55a4b9a88 Use helper function which has more filters and moves logic out of template file 2018-02-13 11:16:42 +00:00