mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Introduce WP_List_Table::check_permissions() and WP_List_Table::prepare_items(). Fixes #14596; See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15496 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2656,9 +2656,12 @@ function wp_nonce_ays( $action ) {
|
||||
* @param string|array $args Optional arguements to control behaviour.
|
||||
*/
|
||||
function wp_die( $message, $title = '', $args = array() ) {
|
||||
if ( defined( 'DOING_AJAX' ) && DOING_AJAX )
|
||||
die('-1');
|
||||
|
||||
if ( function_exists( 'apply_filters' ) ) {
|
||||
$function = apply_filters( 'wp_die_handler', '_default_wp_die_handler');
|
||||
}else {
|
||||
} else {
|
||||
$function = '_default_wp_die_handler';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user