Move check_permissions() out of ajax_response(). see #15326.

git-svn-id: http://svn.automattic.com/wordpress/trunk@16991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-12-16 08:48:16 +00:00
parent cc08068dba
commit 117be6ae19
2 changed files with 1 additions and 1 deletions

View File

@ -61,6 +61,7 @@ case 'fetch-list' :
if ( ! $wp_list_table )
die( '0' );
$wp_list_table->check_permissions();
$wp_list_table->ajax_response();
die( '0' );

View File

@ -816,7 +816,6 @@ class WP_List_Table {
* @access public
*/
function ajax_response() {
$this->check_permissions();
$this->prepare_items();
extract( $this->_args );