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:
markjaquith
2011-01-21 21:17:12 +00:00
parent acd8d41b65
commit 47c8008257
5 changed files with 35 additions and 18 deletions
+5 -5
View File
@@ -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' ) );
}
}
/**