Post locks: don't check hidden checkboxes on bulk select/deselect, props dh-shredder, see #23312

git-svn-id: https://develop.svn.wordpress.org/trunk@23485 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2013-02-25 21:24:19 +00:00
parent 6a59a28f12
commit c8586336d1

View File

@ -307,7 +307,7 @@ $(document).ready( function() {
$(this).closest( 'table' ).children( 'tbody' ).filter(':visible')
.children().children('.check-column').find(':checkbox')
.prop('checked', function() {
if ( $(this).closest('tr').is(':hidden') )
if ( $(this).is(':hidden') )
return false;
if ( toggle )
return $(this).prop( 'checked' );