Commit Graph

26685 Commits

Author SHA1 Message Date
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
Mike Jolley ebb246d9d3 wc_get_gallery_image_html helper function 2018-02-13 11:16:42 +00:00
Mike Jolley 9499b63e01 Register gallery_thumbnail size 2018-02-13 11:16:42 +00:00
Gerhard Potgieter 794272a732 Do not auto generate images on setting changes or theme switches. Introduce a regenerate button under tools. Only resize images on the fly when using the customizer to preview changes. 2018-02-13 09:55:50 +02:00
Shiva Poudel a283da9a53 Since already initialized on load no need of this 2018-02-13 08:31:11 +05:45
Caleb Burks ea9f799ec6 Remove strlen() condition
Did some tests, substr() is actually faster than the strlen() check.
2018-02-12 17:39:33 -05:00
Claudiu Lodromanean c9bbbf7c5a
Merge pull request #18944 from suifengtec/master
fix: show Maximum size with the size unit on the importer screen
2018-02-12 11:26:55 -08:00
Claudiu Lodromanean 86790b43da
Merge pull request #18941 from woocommerce/update/18929
Allow changing the default product category
2018-02-12 10:07:09 -08:00
Claudiu Lodromanean b5e0450ef3
Merge pull request #18939 from woocommerce/fix/18923
Set status after order is created/updated.
2018-02-12 10:02:50 -08:00
Claudiu Lodromanean 2abe05342a
Merge pull request #18935 from woocommerce/fix/order-column-copy-text
If selecting text, don't link to order on row click.
2018-02-12 09:29:55 -08:00
Claudiu Lodromanean c98e0ac43b
Merge pull request #18934 from woocommerce/update/18932
Remove isle of man state
2018-02-12 09:18:13 -08:00
Claudiu Lodromanean cfbd60e6d2
Merge pull request #18909 from woocommerce/fix/email-order-details-version
Email order details template version
2018-02-12 08:51:23 -08:00
Claudiu Lodromanean 334b543c77
Merge pull request #18908 from woocommerce/fix/18864
Set woocommerce_hide_invisible_variations to true.
2018-02-12 08:50:54 -08:00
Claudiu Lodromanean 3fd4c365b1
Merge pull request #18905 from woocommerce/fix/18891
Use verbose page rules when shop is in the URL, including shop base with category
2018-02-12 08:46:41 -08:00
Claudiu Lodromanean 4085e68aee
Merge pull request #18904 from woocommerce/fix/18900
Tweak mobile view of order preview
2018-02-12 08:42:58 -08:00
suifengtec 6aab570544 fix: show Maximum size with the size unit on the importer screen 2018-02-12 23:18:24 +08:00
Mike Jolley 2c45696498 Add a 'make default' button to change the default product category 2018-02-12 13:17:47 +00:00
Mike Jolley e903027c2f
Merge pull request #18895 from woocommerce/fix/remove-attribute-type-column
Remove "Type" column on attributes table by default.
2018-02-12 12:14:54 +00:00
Mike Jolley d5d4f4199e
Merge pull request #18917 from shivapoudel/fix-status
Fix - Help tip for webhook status
2018-02-12 12:09:03 +00:00
Mike Jolley e02c2773dc
Merge pull request #18936 from tareq1988/fix-zone-doc
Shipping zone documentation help link was printing wrong
2018-02-12 12:06:12 +00:00
Mike Jolley bdd4898946 Set status after order is created/updated. 2018-02-12 11:56:48 +00:00
Tareq Hasan b5ea65b604 Shipping zone documentation help link was printing wrong 2018-02-12 17:17:23 +06:00
Mike Jolley 20a7cc392b If selecting text, don't link to order on row click. 2018-02-12 11:07:04 +00:00
Mike Jolley da32586251 Remove isle of man state
Fixes #18932
2018-02-12 10:34:40 +00:00
Shiva Poudel 6bad005c5b Delete user meta data on uninstall 2018-02-11 16:25:30 +05:45
Caleb Burks 1ce5a034bd Minify 2018-02-10 18:56:09 -05:00
Caleb Burks 19e3126e54 Add additional wizard next steps 2018-02-10 18:51:25 -05:00
Caleb Burks 0b228c4fda Add ability to go back to prev steps during setup 2018-02-10 18:28:07 -05:00
Shiva Poudel 3ea8629b6e Check admin referer instead of nonce, just like webhooks
CC @claudiosanches
2018-02-10 13:03:22 +05:45
Shiva Poudel 5e7b0e2925 Tweaks and PHPCS fixes 2018-02-10 12:23:33 +05:45
Shiva Poudel 939d8043ec PHPCS fix 2018-02-10 10:41:06 +05:45
Shiva Poudel 25d77e3ddc Use of title for description so screen option will not show for it 2018-02-10 10:17:02 +05:45
Shiva Poudel 14da53001f Tweak - No items found text 2018-02-10 10:14:06 +05:45
Shiva Poudel c35fb04455 Seperate the {create|edit}-key isset check, as it won't work 2018-02-10 10:07:06 +05:45
Caleb Burks 4f447ea48d Sanitize order item meta key w/ max characters 2018-02-09 22:52:36 -05:00
Caleb Burks c278bffa78 Set maxlength for order item meta key 2018-02-09 22:33:35 -05:00
Caleb Burks 221b4672d9 Use wc_has_custom_attribute_types() 2018-02-09 17:31:56 -05:00
Shiva Poudel 71495cef69 Fix - Help tip for webhook status 2018-02-10 02:33:00 +05:45
Mike Jolley 7dd880ca57 Email order details template version
This template had a change but was not bumped.
2018-02-09 16:52:02 +00:00