Make WordPress Core

Changeset 58375


Ignore:
Timestamp:
06/10/2024 09:50:28 PM (5 weeks ago)
Author:
audrasjb
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/js/_enqueues/admin/common.js

    r57745 r58375  
    11701170
    11711171        // Toggle the "Select all" checkboxes depending if the other ones are all checked or not.
    1172         var unchecked = $(this).closest('tbody').find('tr.iedit').find(':checkbox').filter(':visible:enabled').not(':checked');
     1172        var unchecked = $(this).closest('tbody').find('tr').find(':checkbox').filter(':visible:enabled').not(':checked');
    11731173
    11741174        /**
Note: See TracChangeset for help on using the changeset viewer.