summaryrefslogtreecommitdiffstatshomepage
path: root/src/js/_enqueues/admin/common.js
diff options
context:
space:
mode:
authorJb Audras <audrasjb@git.wordpress.org>2024-06-10 21:50:28 +0000
committerJb Audras <audrasjb@git.wordpress.org>2024-06-10 21:50:28 +0000
commit8c859cdd91afda537cbaa5fe81bfd420b191d6a0 (patch)
treeb100a3cca28cd9631511d2c5ff761ad1b99e8407 /src/js/_enqueues/admin/common.js
parente193d337de2ae8f3b41511bceb79f30e99e118b8 (diff)
downloadwordpress-8c859cdd91afda537cbaa5fe81bfd420b191d6a0.tar.gz
wordpress-8c859cdd91afda537cbaa5fe81bfd420b191d6a0.zip
Quick/Bulk Edit: Remove the `iedit` class from the row selector in `common.js`.
This changeset fixes an issue where the "Bulk select" option was getting selected when only a single user, comment, media, or plugin was selected. Follow-up to [57745]. Props haritpanchal, swissspidy, sabernhardt, faisal03, sumitbagthariya16, mohitdadhich10. Fixes #61168. git-svn-id: https://develop.svn.wordpress.org/trunk@58375 602fd350-edb4-49c9-b593-d223f7449a82
Diffstat (limited to 'src/js/_enqueues/admin/common.js')
-rw-r--r--src/js/_enqueues/admin/common.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/_enqueues/admin/common.js b/src/js/_enqueues/admin/common.js
index af6cedc281..73e7e9caf1 100644
--- a/src/js/_enqueues/admin/common.js
+++ b/src/js/_enqueues/admin/common.js
@@ -1169,7 +1169,7 @@ $( function() {
lastClicked = this;
// Toggle the "Select all" checkboxes depending if the other ones are all checked or not.
- var unchecked = $(this).closest('tbody').find('tr.iedit').find(':checkbox').filter(':visible:enabled').not(':checked');
+ var unchecked = $(this).closest('tbody').find('tr').find(':checkbox').filter(':visible:enabled').not(':checked');
/**
* Determines if all checkboxes are checked.