Commit Graph

4555 Commits

Author SHA1 Message Date
Roy Ho 00439232ec
Update assets/js/admin/quick-edit.js
Co-authored-by: jonathansadowski <jonathansadowski@users.noreply.github.com>
2021-07-30 17:19:29 +01:00
roykho eb66b032dc
Revert the use of prop here as we want to remove the attribute completely closes #30282 2021-07-28 10:56:55 -07:00
Martin Winkel 1085ac2539 [#30185] Use of deprecated function wp.passwordStrength.userInputBlacklist 2021-06-30 23:00:28 +02:00
Néstor Soriano 1f1f331432
Merge pull request #30081 from woocommerce/frosso/wcs-extensions-bannes-updates
chore: copy changes on WCS banner
2021-06-28 16:52:44 +02:00
Vedanshu Jain d1f5784fa4
Merge pull request #30108 from helgatheviking/issues/30107-enhanced-select-sortable
Issues/30107 enhanced select sortable
2021-06-25 18:17:50 +05:30
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