mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 14:50:29 +00:00
Replace check_permissions() with ajax_user_can(). New method returns true/false to current_user_can(), which we then handle in admin ajax. see #15326.
git-svn-id: https://develop.svn.wordpress.org/trunk@16992 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -105,8 +105,8 @@ class WP_List_Table {
|
||||
* @since 3.1.0
|
||||
* @access public
|
||||
*/
|
||||
function check_permissions() {
|
||||
die( 'function WP_List_Table::check_permissions() must be over-ridden in a sub-class.' );
|
||||
function ajax_user_can() {
|
||||
die( 'function WP_List_Table::ajax_user_can() must be over-ridden in a sub-class.' );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user