Claudiu Lodromanean
62a823dadf
Merge pull request #19171 from woocommerce/update/19145
...
Improve store notice customizer handling
2018-03-01 10:54:11 -08:00
claudiulodro
8cf36aa0d2
New shortcode features for products block
2018-03-01 10:05:22 -08:00
danielshields
e2da7fd277
Fix the PayPal API URL
...
Assuming they changed the section title, as the permalink is now "create" vs "creating"
2018-03-01 12:30:38 -05:00
Mike Jolley
b4579bb502
Merge branch 'master' into update/16912
2018-03-01 16:38:04 +00:00
Caleb Burks
0568470bb8
Only show T&C's notice if there is a valid T&Cs page
2018-02-28 21:58:34 -05:00
Claudio Sanches
ffd7915d49
Make sure that option is an array
2018-02-28 16:46:52 -03:00
Claudio Sanches
de804dbe7b
Make sure that user saved mapping preferences are applied after all filters
2018-02-28 16:40:26 -03:00
Claudio Sanches
3ca1139cf9
Sanitize mapping before save
2018-02-28 16:36:35 -03:00
Claudio Sanches
8500000da7
Updated user option key
2018-02-28 16:04:20 -03:00
Rodrigo Primo
56cb3d2d4f
Check if download ID is valid before running query
2018-02-28 13:41:11 -03:00
Rodrigo Primo
0f79567d06
Merge branch 'master' into update/improve-get-downloads
2018-02-28 13:34:11 -03:00
Mike Jolley
b44183b4cb
Move jquery ui styles to assets
2018-02-28 13:02:41 +00:00
Boro Sitnikovski
1a1f62c952
Separate coupon custom logic into its own method
2018-02-28 13:42:52 +01:00
Boro Sitnikovski
b2e9fbb22d
Add filter to allow post processing on custom coupons
2018-02-28 13:41:18 +01:00
Mike Jolley
74f9e16ac3
Unbind on display
2018-02-28 11:58:04 +00:00
Boro Sitnikovski
328dad7659
Improve UI on Coupon amount in cart
2018-02-28 09:47:59 +01:00
Frédéric Demarle
ac199889f2
Fix fatal error in PHP < 5.5
2018-02-27 20:55:40 +01:00
Tiago Noronha
28b99e6970
Prevent full refresh when editing store notice and checkbox is off
2018-02-27 19:52:31 +00:00
claudiulodro
3e114799ca
Set is_tax true when on unsupported theme
2018-02-27 11:45:56 -08:00
Claudiu Lodromanean
5346f63abc
Merge pull request #19159 from woocommerce/fix/19124
...
Use subtotal for discounts in admin/orders
2018-02-27 11:27:01 -08:00
Mike Jolley
728e6dc58d
Merge pull request #19109 from woocommerce/fix/19083
...
wc_get_price_excluding_tax handling for woocommerce_adjust_non_base_location_prices
2018-02-27 19:20:20 +00:00
Mike Jolley
de5b60a7e6
Merge pull request #18817 from shivapoudel/feature/screen-option
...
Add support screen options for core list tables
2018-02-27 19:19:45 +00:00
Mike Jolley
f28a3dd35d
Merge pull request #19156 from woocommerce/fix/19120
...
Only trim strings in multiselect display options
2018-02-27 19:18:09 +00:00
Mike Jolley
c2c0aeefb8
Merge pull request #19002 from helgatheviking/exclude-products-from-coupon-validation
...
Exclude products from coupon validation
2018-02-27 19:14:22 +00:00
Mike Jolley
e4403b87ea
Merge pull request #19091 from woocommerce/update/18852
...
Include priceSpecification with valueAddedTaxIncluded
2018-02-27 19:13:10 +00:00
Mike Jolley
c389f4017e
Merge branch 'master' into update/19136
2018-02-27 19:11:52 +00:00
Mike Jolley
f3ab50d962
Merge pull request #19135 from Chouby/ajax_wp_die
...
Replace exit by calls to wp_die() in ajax responses
2018-02-27 19:09:41 +00:00
Mike Jolley
a6431c86d3
Use subtotals when applying discount logic to match cart.
2018-02-27 18:48:05 +00:00
Mike Jolley
cceec55714
Fix error in unit tests due to missing object check
2018-02-27 16:32:59 +00:00
claudiulodro
c8f418fd45
Only trim strings in multiselect display options
2018-02-27 07:50:33 -08:00
Mike Jolley
00ed016bf1
Implement selective_refresh for store notice
2018-02-27 12:46:36 +00:00
Mike Jolley
e1beda3eb0
Use relative scheme for ajax endpoint
2018-02-26 18:51:46 +00:00
Mike Jolley
fc9fe996d8
Add profile link to order screen
2018-02-26 18:19:03 +00:00
Frédéric Demarle
b2f59b0da5
Replace exit by calls to wp_die() in ajax responses
2018-02-26 18:27:25 +01:00
Mike Jolley
0784e9ede6
Merge pull request #19126 from obiPlabon/master
...
Fixed #19125 - added spinner markup
2018-02-26 16:08:01 +00:00
Caleb Burks
828141c407
CLI ID argument should come after parent ID args
2018-02-25 14:59:23 -05:00
Caleb Burks
e365d1e01a
Use correct arg when making rest request in cli
2018-02-25 14:18:22 -05:00
obiPlabon
5b8721519b
Fixed #19125 - added spinner markup
2018-02-25 17:33:29 +06:00
Hardip Parmar
632da6779e
fixed spelling for calculate.
2018-02-24 16:53:27 +05:30
Kathy Darling
d494daf3cd
Merge branch 'master' of github.com:woocommerce/woocommerce into exclude-products-from-coupon-validation
2018-02-23 22:09:06 -06:00
Claudio Sanches
9db8a434b5
Merge pull request #18082 from WPprodigy/remember-importer-mappings
...
Remember importer mappings
2018-02-23 11:05:24 -03:00
Mike Jolley
39c6c9c72c
wc_get_price_excluding_tax handling for woocommerce_adjust_non_base_location_prices
2018-02-23 11:53:05 +00:00
Mike Jolley
dc4212cc15
Merge pull request #19098 from woocommerce/fix/19095-coupon-empty-cost
...
Ensure coupon amount is not empty
2018-02-23 10:58:29 +00:00
Mike Jolley
bb497f213d
Merge pull request #19104 from woocommerce/fix/19102-exlude-page-1-from-shop-page-content-check
...
Include page 1 on shop archive content check
2018-02-23 10:56:27 +00:00
Gerhard Potgieter
c8642f0da7
PHPCS fixes
2018-02-23 10:16:22 +02:00
Gerhard Potgieter
c13dee6fb3
Add page 1 to check when displaying shop page content.
2018-02-23 10:14:59 +02:00
Shiva Poudel
e4bcc1d285
Rename the prefix for per page options
2018-02-23 10:03:56 +05:45
Shiva Poudel
c2c97855be
Merge branch 'master' into feature/screen-option
2018-02-23 09:49:19 +05:45
Caleb Burks
9ba4ae7ad7
Remove unnecessary conditional
2018-02-22 14:39:37 -05:00
Caleb Burks
ae0f5fc76d
Ensure coupon amount is not empty
2018-02-22 14:33:06 -05:00
Claudio Sanches
69044423d2
[REST API] Do not allow updating parent ID from variations after created
...
Closes #18933
2018-02-22 16:22:42 -03:00
Claudio Sanches
b64b2a8680
Fixed coding standards
2018-02-22 16:00:21 -03:00
Mike Jolley
964afd3882
Include priceSpecification with valueAddedTaxIncluded
...
Closes #18852
2018-02-22 16:34:54 +00:00
Mike Jolley
3353d80ecd
wc_get_loop_class; force columns to be a minimum of 1
2018-02-22 15:44:28 +00:00
Alex MacArthur
870338ee5d
Make compliant w/ coding standards, sanitize ID.
2018-02-22 07:01:49 -06:00
Alex MacArthur
08982af65c
Set to empty string in case invalid ID is passed.
2018-02-22 06:58:18 -06:00
Alex MacArthur
c87c5627bb
Add fallback support for passing user_login in password reset link.
2018-02-22 06:58:18 -06:00
Alex MacArthur
e01385d2b4
Remove user login from reset password link.
2018-02-22 06:58:18 -06:00
Mike Jolley
f49491809f
Merge pull request #19078 from woocommerce/fix/17606
...
Display name input on My Account page
2018-02-22 12:29:58 +00:00
Mike Jolley
23eccd4b14
Merge pull request #18957 from alexmacarthur/pii-downloads
...
Hash customer email address in download URLs.
2018-02-22 12:27:33 +00:00
Mike Jolley
304922087d
Merge pull request #18984 from woocommerce/update/18981
...
Made get_on_sale_products respect the setting to hide outofstock products
2018-02-22 12:23:57 +00:00
Mike Jolley
64c6dd9e8b
Merge pull request #18779 from jeffikus/master
...
Updates Flexslider to version 2.7.0
2018-02-22 12:23:32 +00:00
Mike Jolley
b93f719b36
Merge pull request #18624 from Chunkford/patch-4
...
Display zero value when using shipping classes
2018-02-22 12:22:58 +00:00
Mike Jolley
58796bf981
Merge pull request #18554 from woocommerce/fix/18545
...
Flat rate: remove currency symbols
2018-02-22 12:21:49 +00:00
Mike Jolley
69816b9854
Merge pull request #18538 from woocommerce/update/16366
...
Optimise saving of orders
2018-02-22 12:20:14 +00:00
Mike Jolley
380ee9a13f
Merge pull request #18536 from woocommerce/update/17908
...
Refactor woocommerce_wp_select so it could be used for a multiselect
2018-02-22 12:19:11 +00:00
Shiva Poudel
f1e2c0cf83
Merge remote-tracking branch 'upstream/master' into feature/screen-option
2018-02-22 09:52:59 +05:45
Claudio Sanches
0f797714f1
Tweaks on account display name
2018-02-21 21:52:45 -03:00
Claudio Sanches
c0e29d0cbe
Merge branch 'fix/17606' into add/17606
2018-02-21 21:34:38 -03:00
Claudio Sanches
fe83dfdba7
Merge branch 'master' into fix/18545
2018-02-21 19:15:45 -03:00
Alex MacArthur
bc41fb0ba9
Use wc_get_order(), handle failure in case WC_Order not returned.
2018-02-21 15:39:43 -06:00
Claudio Sanches
7da77237a2
Fixed coding standards
2018-02-21 18:19:38 -03:00
Claudio Sanches
2f6795a2c8
Fixed undefined index after running setup wizard two times on fresh install
2018-02-21 18:15:50 -03:00
Mike Jolley
03a1906706
Post image is enough
2018-02-21 17:21:02 +00:00
Mike Jolley
8d1408fa04
Add WP classes to image gallery
2018-02-21 17:21:02 +00:00
Mike Jolley
e614c9ce22
Merge pull request #19069 from woocommerce/fix/19064
...
Numeric check needs to come after formatting the decimal
2018-02-21 15:08:30 +00:00
Mike Jolley
700246345b
Numeric check needs to come after formatting the decimal
2018-02-21 14:02:44 +00:00
Alex MacArthur
931bf27511
Fix spacing, use hash_equals to verify uid.
2018-02-21 07:45:07 -06:00
Alex MacArthur
3e0e75ebc3
Fix spacing issues.
2018-02-21 07:34:56 -06:00
Alex MacArthur
00e71b304d
Hash customer email address in download URLs.
2018-02-21 07:34:56 -06:00
Claudio Sanches
f60cd7cca4
[REST API] Fixed products shipping_class_id type
2018-02-20 17:16:26 -03:00
Claudio Sanches
ef393b8405
Merge pull request #18918 from woocommerce/fix/order-item-meta-key-maxlength
...
Set maxlength for order item meta key
2018-02-20 16:52:35 -03:00
Claudio Sanches
cf934cf45f
Merge pull request #18961 from woocommerce/fix/18958-remove-hardcoded-wp-content
...
Remove hardcoded /wp-content check for downloads.
2018-02-20 16:17:27 -03:00
Claudio Sanches
c80372ad5c
Merge pull request #19027 from woocommerce/update/persistent-cart-filter
...
Added woocommerce_persistent_cart_enabled filter
2018-02-20 13:57:27 -03:00
Claudio Sanches
44c1de45eb
Merge pull request #19043 from woocommerce/fix/19032
...
Prevent shortcode [product_page] redirecting to the actual product's page after add to cart
2018-02-20 13:20:08 -03:00
Claudio Sanches
99a72a6929
Merge pull request #19044 from woocommerce/fix/19030
...
Make terms logic match for breadcrumb and widget
2018-02-20 13:18:11 -03:00
Mike Jolley
7a68cb9c12
Update regex
2018-02-20 16:04:42 +00:00
Mike Jolley
0cda2dba82
Convert more dollar entries for plain text emails
2018-02-20 16:04:42 +00:00
Mike Jolley
472e64270a
Check parent status when seeing if variation is purchasable.
2018-02-20 12:34:33 +00:00
Mike Jolley
5330d0b860
Make terms logic match for breadcrumb and widget
2018-02-20 11:49:06 +00:00
Mike Jolley
2a7b09cb52
Merge pull request #19037 from woocommerce/fix/19036-order-date
...
Show full date for future orders
2018-02-20 11:21:31 +00:00
Mike Jolley
c66d676680
Simplify date check
2018-02-20 11:21:00 +00:00
Mike Jolley
86132346df
remove action when rendering shortcode
2018-02-20 11:15:09 +00:00
Mike Jolley
adde0d6d29
Merge pull request #19042 from woocommerce/fix/shipping-zones-wizard-notice
...
Prevent shipping zones PHP notice during setup wizard
2018-02-20 10:40:54 +00:00
Caleb Burks
3469d47947
Prevent shipping zones PHP notice in wizard
2018-02-20 02:33:06 -05:00
Caleb Burks
634bee567e
Ensure item totals are not empty
2018-02-20 02:19:12 -05:00
Caleb Burks
3d7f674c54
Show full date for future orders
2018-02-19 21:25:03 -05:00
claudiulodro
af5cb5df93
Resolve merge conflicts
2018-02-19 10:45:06 -08:00
Mike Jolley
0df57524a7
Added woocommerce_persistent_cart_enabled filter
2018-02-19 16:36:26 +00:00
Mike Jolley
6f855c781f
Fix response/ajax handling for #18080
2018-02-19 14:56:30 +00:00
Mike Jolley
5fce9152bd
Merge pull request #18080 from WPprodigy/fix-stock-update-order-notes
...
Enhancements for stock updates
2018-02-19 14:51:05 +00:00
Mike Jolley
7c61f05bb1
Merge pull request #18620 from woocommerce/fix/get-downloads-order-by
...
Fix: properly set orderby and order when calling WC_Customer_Download_Data_Store::get_downloads()
2018-02-19 14:44:21 +00:00
Mike Jolley
0996264e7a
Merge pull request #18609 from woocommerce/fix/18608-add-missing-action-settings-save
...
Add missing action for settings pages that override save method
2018-02-19 14:43:58 +00:00
Mike Jolley
b6ae08a72a
Duplicate action
2018-02-19 14:43:28 +00:00
Mike Jolley
d5a1463e3e
Merge pull request #18595 from woocommerce/update/add-ext-object-cache-to-system-status
...
Display whether or not external object cache is enabled
2018-02-19 14:40:14 +00:00
Mike Jolley
5feed3e0cc
Merge branch 'master' into update/add-ext-object-cache-to-system-status
2018-02-19 14:39:31 +00:00
Mike Jolley
d26c20c0a9
Merge pull request #18831 from woocommerce/fix/list-of-wc-tables
...
Remove all WC tables when uninstalling the plugin
2018-02-19 14:31:19 +00:00
Claudio Sanches
2aa74a6f66
Merge pull request #19020 from woocommerce/fix/19015
...
Adds back get_item so you can get a single Webhook
2018-02-19 10:45:33 -03:00
Mike Jolley
f1a69688fa
Merge pull request #18982 from woocommerce/tweak/get-image-filter
...
Pass image to get_image_filter as well
2018-02-19 13:15:55 +00:00
Mike Jolley
594b3773cd
Merge pull request #19025 from woocommerce/fix/18999
...
Fix double slash and logout link nonce
2018-02-19 13:15:14 +00:00
Mike Jolley
17c28fc8f9
Prevent double slash
2018-02-19 13:14:07 +00:00
Mike Jolley
b3d051565f
code standards
2018-02-19 13:10:36 +00:00
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
e9bc9d3b1f
Indentation
2018-02-19 12:41:55 +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
Kathy Darling
caf03064ac
add getter for class' object property
2018-02-16 15:52:04 -06:00
Kathy Darling
8dc3d689c6
Follow up to #18971 . Pass cart/order items through a filter.
2018-02-16 15:51:35 -06: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
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
65278efd44
Allow modal to be wider and fix button wrapping
2018-02-15 12:46:47 +00:00
Mike Jolley
654e7db840
Use empty check for search
2018-02-14 18:09:47 +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
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
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
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