Make WordPress Core

Changeset 37148


Ignore:
Timestamp:
03/30/2016 06:57:26 PM (8 years ago)
Author:
jorbin
Message:

Remove Debugging code introduced in [37145]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/ajax-actions.php

    r37145 r37148  
    27602760
    27612761    if ( ! $post = get_post( (int) $_REQUEST['post_id'] ) )
    2762         wp_send_json_error(111);
     2762        wp_send_json_error();
    27632763
    27642764    if ( ! current_user_can( 'read_post', $post->ID ) )
    2765         wp_send_json_error(222);
     2765        wp_send_json_error();
    27662766
    27672767    // Really just pre-loading the cache here.
    27682768    if ( ! $revisions = wp_get_post_revisions( $post->ID, array( 'check_enabled' => false ) ) )
    2769         wp_send_json_error(333);
     2769        wp_send_json_error();
    27702770
    27712771    $return = array();
Note: See TracChangeset for help on using the changeset viewer.