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:
parent
cc08068dba
commit
117be6ae19
|
@ -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' );
|
||||
|
|
|
@ -816,7 +816,6 @@ class WP_List_Table {
|
|||
* @access public
|
||||
*/
|
||||
function ajax_response() {
|
||||
$this->check_permissions();
|
||||
$this->prepare_items();
|
||||
|
||||
extract( $this->_args );
|
||||
|
|
Loading…
Reference in New Issue