From 8789f1109cd52a55c6bd023892b6e2f8d51acdb9 Mon Sep 17 00:00:00 2001 From: Aaron Jorbin Date: Wed, 30 Mar 2016 18:55:58 +0000 Subject: [PATCH] Remove Debugging code introduced in [37146] git-svn-id: https://develop.svn.wordpress.org/branches/4.4@37147 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/ajax-actions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/includes/ajax-actions.php b/src/wp-admin/includes/ajax-actions.php index 253ba5113a..3de7a1de11 100644 --- a/src/wp-admin/includes/ajax-actions.php +++ b/src/wp-admin/includes/ajax-actions.php @@ -2752,14 +2752,14 @@ function wp_ajax_get_revision_diffs() { require ABSPATH . 'wp-admin/includes/revision.php'; if ( ! $post = get_post( (int) $_REQUEST['post_id'] ) ) - wp_send_json_error(111); + wp_send_json_error(); if ( ! current_user_can( 'read_post', $post->ID ) ) - wp_send_json_error(222); + wp_send_json_error(); // Really just pre-loading the cache here. if ( ! $revisions = wp_get_post_revisions( $post->ID, array( 'check_enabled' => false ) ) ) - wp_send_json_error(333); + wp_send_json_error(); $return = array(); @set_time_limit( 0 );