Don't apply checkboxes to invisible comments.Props mdawaffe. fixes #7433 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8492 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
319051a7fa
commit
3437da6843
@ -1,5 +1,5 @@
|
||||
function checkAll(jQ) { // use attr( checked, fn )
|
||||
jQuery(jQ).find( 'tbody :checkbox' ).attr( 'checked', function() {
|
||||
jQuery(jQ).find( 'tbody:visible :checkbox' ).attr( 'checked', function() {
|
||||
return jQuery(this).attr( 'checked' ) ? '' : 'checked';
|
||||
} );
|
||||
}
|
||||
|
@ -125,7 +125,7 @@ function wp_default_scripts( &$scripts ) {
|
||||
'pending' => __('%i% pending') // must look like: "# blah blah"
|
||||
) );
|
||||
$scripts->add( 'admin-users', '/wp-admin/js/users.js', array('wp-lists'), '20070823' );
|
||||
$scripts->add( 'admin-forms', '/wp-admin/js/forms.js', array('jquery'), '20080401');
|
||||
$scripts->add( 'admin-forms', '/wp-admin/js/forms.js', array('jquery'), '20080729');
|
||||
$scripts->add( 'xfn', '/wp-admin/js/xfn.js', false, '3517' );
|
||||
$scripts->add( 'upload', '/wp-admin/js/upload.js', array('jquery'), '20070518' );
|
||||
$scripts->add( 'postbox', '/wp-admin/js/postbox.js', array('jquery'), '20080128' );
|
||||
|
Loading…
Reference in New Issue
Block a user