Make WordPress Core


Ignore:
Timestamp:
08/12/2010 11:21:05 PM (16 years ago)
Author:
scribu
Message:

Introduce WP_List_Table::check_permissions() and WP_List_Table::prepare_items(). Fixes #14596; See #14579

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r15491 r15496  
    26572657 */
    26582658function wp_die( $message, $title = '', $args = array() ) {
     2659        if ( defined( 'DOING_AJAX' ) && DOING_AJAX )
     2660                die('-1');
     2661
    26592662        if ( function_exists( 'apply_filters' ) ) {
    26602663                $function = apply_filters( 'wp_die_handler', '_default_wp_die_handler');
    2661         }else {
     2664        } else {
    26622665                $function = '_default_wp_die_handler';
    26632666        }
Note: See TracChangeset for help on using the changeset viewer.