From 7d4cabb1316b249404579ce24855f9ccadc35568 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 24 Feb 2017 23:09:51 +0000 Subject: [PATCH] Plugins: After [38703], adjust the selector for checkbox selection to account for nested tables. Props afercia, swissspidy, reldev. Fixes #39739. git-svn-id: https://develop.svn.wordpress.org/trunk@40118 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/js/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/js/common.js b/src/wp-admin/js/common.js index 867f111999..25bbb830e5 100644 --- a/src/wp-admin/js/common.js +++ b/src/wp-admin/js/common.js @@ -418,7 +418,7 @@ $document.ready( function() { screenMeta.init(); // This event needs to be delegated. Ticket #37973. - $body.on( 'click', 'tbody .check-column :checkbox', function( event ) { + $body.on( 'click', 'tbody > .check-column :checkbox', function( event ) { // Shift click to select a range of checkboxes. if ( 'undefined' == event.shiftKey ) { return true; } if ( event.shiftKey ) {