Commit Graph

4600 Commits

Author SHA1 Message Date
Vedanshu Jain de9a0b176b
Merge pull request #30082 from woocommerce/frosso/remove-canada-post-extension-banner
chore: remove WCS canada post mentions
2021-06-25 15:38:29 +05:30
Christopher Allford 6f812b2689
Merge pull request #30096 from woocommerce/fix/30089
Revert previous jQuery migration changes as it is not needed here clo…
2021-06-21 10:34:33 -07:00
jonathansadowski b3894c47a4
Merge pull request #30111 from umhan35/patch-1
[twenty-twenty-one.scss] Use theme default font
2021-06-21 11:28:58 -05:00
Barry Hughes 4487b3fa9a
Merge pull request #30015 from sabbir1991/fix/29984
Fix JS console error when add new shipping zone button clicke | #29984
2021-06-18 15:08:51 -07:00
Zhao Han 7ec51cc240
[twenty-twenty-one.scss] Use theme default font 2021-06-15 21:45:57 -04:00
helgatheviking 1c45df120e Fix script error in enhanced select sorting. Use $(this) instead of $(self). Closes #30107. 2021-06-15 12:38:48 -06:00
Francesco 614e97e134
Update assets/css/admin.scss 2021-06-15 09:54:17 -05:00
frosso c988f25e1e justify content on images 2021-06-15 08:56:00 -05:00
roykho 665464c49b
Revert previous jQuery migration changes as it is not needed here closes #30089 2021-06-14 06:41:57 -07:00
frosso a4ad8c67da updates on the images 2021-06-10 14:34:42 -05:00
frosso 0883ccc26a also remove unused images 2021-06-10 13:11:26 -05:00
frosso e445918c8e chore: copy changes on WCS banner 2021-06-10 12:29:32 -05:00
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
Sabbir Ahmed 81fd117b70 redirect without removing the events handler 2021-06-07 22:43:33 +06:00
Sabbir Ahmed 4b33e5490f fix js console error when add new shipping zone button clicked 2021-06-01 12:05:05 +06: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&section=_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
Jonathan Sadowski f5b3556e14 Replace .data() call in checkout.js for jQuery 3 Compatibility 2021-04-28 16:22:00 -05:00
Jonathan Sadowski 15df81e2d9 Correct bind usage in product import and export (bind wasn't targeting jQuery object; was native JS bind) 2021-04-28 16:22:00 -05:00
roykho 6c804e31d7 Update deprecated hovers 2021-04-28 16:22:00 -05:00
roykho a75a3d7176 Update .focus and .toggleClass that were missed 2021-04-28 16:22:00 -05:00
roykho 84533ac38f Update deprecated jQuery functions for selectWoo.full.js 2021-04-28 16:22:00 -05:00
roykho b78aa4e00a Fix deprecated jQuery removeClass function 2021-04-28 16:22:00 -05:00
roykho 387e095a01 Update deprecated jQuery functions in includes folder 2021-04-28 16:21:59 -05:00
roykho 09aabeeb6f Revert load function 2021-04-28 16:21:59 -05:00
roykho 242949850d Update deprecated jQuery functions for tokenization-form.js 2021-04-28 16:21:59 -05:00
roykho 5de6a1ee95 Update deprecated jQuery functions for password-strength-meter.js 2021-04-28 16:21:59 -05:00
roykho a5409a8ca1 Update deprecated jQuery functions for country-select.js 2021-04-28 16:21:59 -05:00
roykho b23d218a37 Update deprecated jQuery functions for checkout.js 2021-04-28 16:21:59 -05:00
roykho 1e55db0e4d Update deprecated jQuery functions for address-i18n.js and cart-fragments.js 2021-04-28 16:21:59 -05:00
roykho 67ea396f7d Update deprecated jQuery functions for add-to-cart-variation.js 2021-04-28 16:21:59 -05:00
roykho 8cf743caee Update deprecated jQuery functions for add-payment-method.js 2021-04-28 16:21:59 -05:00
roykho 7f0f2c8320 Update deprecated jQuery functions for woocommerce_admin.js 2021-04-28 16:21:59 -05:00
roykho d2c3ae204f Update deprecated jQuery functions for wc-shipping-zone-methods.js 2021-04-28 16:21:59 -05:00
roykho d213e3d959 Update deprecated jQuery functions for wc-shipping-classes.js 2021-04-28 16:21:59 -05:00
roykho 15492c0942 Update deprecated jQuery functions for wc-setup.js 2021-04-28 16:21:59 -05:00
roykho 4ebce91559 Update deprecated jQuery functions for wc-product-import.js 2021-04-28 16:21:59 -05:00
roykho 78adef7f80 Update deprecated jQuery functions for wc-product-export.js 2021-04-28 16:21:59 -05:00
roykho eee6c96871 Update deprecated jQuery functions for wc-clipboard.js 2021-04-28 16:21:59 -05:00
roykho 76762a08f8 Update deprecated jQuery functions for users.js 2021-04-28 16:21:59 -05:00
roykho b924230b41 Update deprecated jQuery functions for system-status.js 2021-04-28 16:21:59 -05:00
roykho 142aad6a44 Update deprecated jQuery functions for settings.js 2021-04-28 16:21:58 -05:00
roykho d84eb2d6bb Update deprecated jQuery functions for settings-views-html-settings-tax.js 2021-04-28 16:21:58 -05:00
roykho 81d6e50bbd Update deprecated jQuery functions for quick-edit.js 2021-04-28 16:21:58 -05:00
roykho 58cfd4c0c2 Fixed removeAttribute replacements 2021-04-28 16:21:58 -05:00
roykho 4d0df8d341 Update deprecated jQuery functions for meta-boxes-product.js 2021-04-28 16:21:58 -05:00
roykho f59c7772e5 Update deprecated jQuery functions for meta-boxes-product.js 2021-04-28 16:21:58 -05:00
roykho afb9656561 Update deprecated jQuery functions for meta-boxes-product-variation.js 2021-04-28 16:21:58 -05:00
roykho 18797493b3 Update deprecated jQuery functions for meta-boxes-order.js 2021-04-28 16:21:58 -05:00
roykho 6e50fc0cf1 Update deprecated jQuery functions for meta-boxes-coupon.js 2021-04-28 16:21:58 -05:00
roykho 13a9dbb422 Update deprecated jQuery functions for backbone-modal.js 2021-04-28 16:21:58 -05:00
roykho 37f7ccc1f2 Update deprecated jQuery functions for api-keys.js 2021-04-28 16:21:58 -05:00
roykho 08aa9e32eb Update deprecated jQuery functions for jquery.blockui.js 2021-04-28 16:21:58 -05:00