Christopher Allford
19bdc1c35b
Merge pull request #30074 from woocommerce/fix/jquery-trim-migration
...
Update former uses of jQuery.trim to work properly with non-string types
2021-06-09 15:43:33 -07:00
Jonathan Sadowski
2715b745d7
Update for coding standards
2021-06-09 16:23:26 -05:00
Jonathan Sadowski
4d32ef0dac
Fix issue with jQuery migration and editing addresses in wp-admin
2021-06-09 16:06:18 -05:00
Jonathan Sadowski
b157fe8eac
Restore inadvertant removal of semicolon in select2
2021-06-09 13:03:25 -05:00
Jonathan Sadowski
67a5a969b4
Fix a typo in params.term comparison
2021-06-09 12:59:35 -05:00
Jonathan Sadowski
2fad2d7116
Update former uses of jQuery.trim to work properly with non-string types
2021-06-09 12:50:03 -05:00
roykho
2e106f64cf
Use prop function to set attributes closes #29709
2021-05-24 12:55:15 -07:00
roykho
7dd2be207e
Fix regression of using jQuery ON when bind should be used ref #28822
2021-05-21 08:08:33 -07:00
Vedanshu Jain
90b50f11f3
Merge pull request #29843 from woocommerce/add/wc-pay-ad-banner
...
Add support for WooCommerce Payments ad banner on extensions screen's "Featured" section
2021-05-13 16:56:55 +05:30
And Finally
de331ad893
Addressing feedback. Removed `!important` from `.addons-button-expandable` rule. Renamed `geowhitelist` and `geoblacklist` to `geo_allow_list` and `geo_block_list`.
2021-05-12 09:41:31 +01:00
And Finally
e4d3b157ff
Changed block name and CSS classnames to the more generic "promotion block".
2021-05-06 22:12:07 +01:00
And Finally
f1a69cb4af
Added comment to new `output_ad_block` method. Removed differences introduced by PhpStorm autoformat.
2021-05-06 15:16:49 +01:00
And Finally
3fa233872c
Added `output_ad_block` method to `WC_Admin_Addons` and CSS rules to render a WooCommerce Payments ad banner at the top of the "Featured" section of the WC Core addons page, `wp-admin/admin.php?page=wc-addons§ion=_featured`. This is to fulfil the requirements of WooCommerce.com issue https://github.com/Automattic/woocommerce.com/issues/9860 .
...
We output the block if
- The user has permissions to install plugins.
- Their location is in one of the countries identified in a `geowhitelist`.
- WooCommerce Payments is not already active.
2021-05-06 12:55:30 +01:00
Jonathan Sadowski
4e8629e8c8
Update cart-fragments.js to remove deprecated jQuery bind function
2021-04-28 16:26:32 -05:00
Jonathan Sadowski
9e89ac8b95
Correct bind usage in product import and export (bind wasn't targeting jQuery object; was native JS bind)
2021-04-28 16:26:32 -05:00
roykho
37736799d6
Update deprecated jQuery functions in includes folder
2021-04-28 16:26:32 -05:00
roykho
6a1e3eb85c
Revert load function
2021-04-28 16:26:31 -05:00
roykho
1215f1965e
Update deprecated jQuery functions for wc-product-import.js
2021-04-28 16:26:31 -05:00
roykho
f4745ed022
Update deprecated jQuery functions for wc-product-export.js
2021-04-28 16:26:31 -05:00
roykho
1710a84948
Fixed removeAttribute replacements
2021-04-28 16:26:31 -05:00
roykho
a98b27bd54
Update deprecated jQuery functions for meta-boxes-product.js
2021-04-28 16:26:31 -05:00
roykho
6522893277
Update deprecated jQuery functions for meta-boxes-product.js
2021-04-28 16:26:31 -05:00
roykho
38cabd27fd
Update deprecated jQuery functions for meta-boxes-product-variation.js
2021-04-28 16:26:31 -05:00
roykho
796d4f51ac
Update deprecated jQuery functions for meta-boxes-order.js
2021-04-28 16:26:31 -05:00
roykho
e0940ef78d
Update deprecated jQuery functions for jquery.tiptip.js
2021-04-28 16:26:31 -05:00
roykho
38e448a427
Update deprecated jQuery functions for jquery.cookie.js
2021-04-28 16:26:31 -05:00
Jonathan Sadowski
581e402f09
Update selectWoo.js to trigger blur instead of using deprecated blur method for jQuery3 compat
2021-04-28 16:26:31 -05:00
Jonathan Sadowski
09da77eb18
Update wc-setup.js to set required prop to false instead of removing attribute for jQuery3 compat
2021-04-28 16:26:31 -05:00
Jonathan Sadowski
1f7f12c4ab
Update selectWoo.js to use String.prototype.trim instead of jQuery.trim
2021-04-28 16:26:31 -05:00
Jonathan Sadowski
6f1a1b2492
Update select2.js to use String.prototype.trim instead of jQuery.trim
2021-04-28 16:26:31 -05:00
Jonathan Sadowski
8026131767
Update select2.full.js to use String.prototype.trim instead of jQuery.trim
2021-04-28 16:26:31 -05:00
Jonathan Sadowski
a7d6e60334
Update selectWoo.js to use typeof check instead of jQuery.isFunction() for jQuery 3 compatibility
2021-04-28 16:26:31 -05:00
Jonathan Sadowski
56dbdedfb2
Update select2.js to use typeof check instead of jQuery.isFunction() for jQuery 3 compatibility
2021-04-28 16:26:30 -05:00
Jonathan Sadowski
2e0c538e8f
Update select2.full.js to use typeof check instead of jQuery.isFunction() for jQuery 3 compatibility
2021-04-28 16:26:30 -05:00
Jonathan Sadowski
8a2702d0cd
Update selectWoo.js to use Array.isArray instead of jQuery.isArray for jQuery 3 compat
2021-04-28 16:26:30 -05:00
Jonathan Sadowski
944d5c06c1
Update select2.js to use Array.isArray instead of jQuery.isArray for jQuery 3 compat
2021-04-28 16:26:30 -05:00
Jonathan Sadowski
e62ea96a3e
Update select2.full.js to use Array.isArray instead of jQuery.isArray for jQuery 3 compat
2021-04-28 16:26:30 -05:00
Jonathan Sadowski
fc93c2474d
Update select2.full.js to use off() instead of unbind() for jQuery 3 compat
2021-04-28 16:26:30 -05:00
Jonathan Sadowski
89e9e2932d
Update select2.full.js to use on() instead of bind() for jQuery 3 compat
2021-04-28 16:26:30 -05:00
Jonathan Sadowski
2e4c7d93c2
Update selectWoo.js to use trigger('focus') instead of focus() for jQuery 3 compat
2021-04-28 16:26:30 -05:00
Jonathan Sadowski
ce12a2a895
Update select2.full.js to use trigger('focus') instead of focus() for jQuery 3 compat
2021-04-28 16:26:28 -05:00
Jonathan Sadowski
a09e82e4b6
Update select2.full.js to use trigger('focus') instead of focus() for jQuery 3 compat
2021-04-28 16:24:40 -05:00
Jonathan Sadowski
c9b1012095
Update stupidtable.js to resolve jQuery data change in jQuery 3
2021-04-28 16:22:00 -05:00
Jonathan Sadowski
a95f084d9f
Update woocommerce.js to resolve jQuery data change in jQuery 3
2021-04-28 16:22:00 -05:00
Jonathan Sadowski
f685cda40d
Update wc-orders.js to resolve jQuery data change in jQuery 3
2021-04-28 16:22:00 -05:00
Jonathan Sadowski
8f013a9c9a
Update system-status.js to resolve jQuery data change in jQuery 3
2021-04-28 16:22:00 -05:00
Jonathan Sadowski
24b787b2da
Update settings.js to resolve jQuery data change in jQuery 3
2021-04-28 16:22:00 -05:00
Jonathan Sadowski
7be2388e06
Update jquery-ui-touch=punch.js to remove deprecated jQuery bind and unbind functions
2021-04-28 16:22:00 -05:00
Jonathan Sadowski
a61bd3c99d
Update price-slider.js to remove deprecated jQuery bind function
2021-04-28 16:22:00 -05:00
Jonathan Sadowski
294b257710
Update cart-fragments.js to remove deprecated jQuery bind function
2021-04-28 16:22:00 -05:00