Make WordPress Core

Changeset 37147


Ignore:
Timestamp:
03/30/2016 06:55:58 PM (10 years ago)
Author:
jorbin
Message:

Remove Debugging code introduced in [37146]

File:
1 edited

Legend:

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

    r37146 r37147  
    27532753
    27542754        if ( ! $post = get_post( (int) $_REQUEST['post_id'] ) )
    2755                 wp_send_json_error(111);
     2755                wp_send_json_error();
    27562756
    27572757        if ( ! current_user_can( 'read_post', $post->ID ) )
    2758                 wp_send_json_error(222);
     2758                wp_send_json_error();
    27592759
    27602760        // Really just pre-loading the cache here.
    27612761        if ( ! $revisions = wp_get_post_revisions( $post->ID, array( 'check_enabled' => false ) ) )
    2762                 wp_send_json_error(333);
     2762                wp_send_json_error();
    27632763
    27642764        $return = array();
Note: See TracChangeset for help on using the changeset viewer.