diff --git a/wp-admin/js/common.js b/wp-admin/js/common.js index 10ed2f2601..6eff51507d 100644 --- a/wp-admin/js/common.js +++ b/wp-admin/js/common.js @@ -203,7 +203,7 @@ jQuery(document).ready( function($) { $( 'thead :checkbox, tfoot :checkbox' ).click( function(e) { var c = $(this).attr('checked'); - $(this).parents( 'form:first' ).find( 'table .check-column :checkbox' ).attr( 'checked', function() { + $(this).parents( 'form:first' ).find( 'table tbody:visible, table thead:visible, table tfoot:visible').find( '.check-column :checkbox' ).attr( 'checked', function() { if ( e.shiftKey ) return $(this).attr( 'checked' ) ? '' : 'checked'; else if (c) diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php index a1854f65e0..37065c8b84 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -41,7 +41,7 @@ function wp_default_scripts( &$scripts ) { $scripts->base_url = $guessurl; $scripts->default_version = get_bloginfo( 'version' ); - $scripts->add( 'common', '/wp-admin/js/common.js', array('jquery', 'hoverIntent'), '20081120b' ); + $scripts->add( 'common', '/wp-admin/js/common.js', array('jquery', 'hoverIntent'), '20081126' ); $scripts->add( 'sack', '/wp-includes/js/tw-sack.js', false, '1.6.1' ); $scripts->add( 'quicktags', '/wp-includes/js/quicktags.js', false, '20081103' );