Fix the comments "river." issue 9. props garyc40. see #16262
git-svn-id: http://svn.automattic.com/wordpress/trunk@17344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -81,7 +81,7 @@ class WP_List_Table {
|
||||
$args = wp_parse_args( $args, array(
|
||||
'plural' => '',
|
||||
'singular' => '',
|
||||
'ajax' => true
|
||||
'ajax' => false
|
||||
) );
|
||||
|
||||
$screen = get_current_screen();
|
||||
@@ -93,10 +93,10 @@ class WP_List_Table {
|
||||
|
||||
$this->_args = $args;
|
||||
|
||||
// if ( $args['ajax'] ) {
|
||||
// wp_enqueue_script( 'list-table' );
|
||||
// add_action( 'admin_footer', array( &$this, '_js_vars' ) );
|
||||
// }
|
||||
if ( $args['ajax'] ) {
|
||||
// wp_enqueue_script( 'list-table' );
|
||||
add_action( 'admin_footer', array( &$this, '_js_vars' ) );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user