From 0b04f6afc570189d3c83c7e740815aeeaeb481fe Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 8 Feb 2012 17:05:40 +0000 Subject: [PATCH] Tabs, not spaces. Props PeteMall. git-svn-id: https://develop.svn.wordpress.org/trunk@19874 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/admin-ajax.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/admin-ajax.php b/wp-admin/admin-ajax.php index cca17b8093..0627e3148a 100644 --- a/wp-admin/admin-ajax.php +++ b/wp-admin/admin-ajax.php @@ -18,7 +18,7 @@ define( 'WP_ADMIN', true ); // Require an action parameter if ( empty( $_REQUEST['action'] ) ) - die( '0' ); + die( '0' ); /** Load WordPress Bootstrap */ require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' ); @@ -58,9 +58,9 @@ if ( ! empty( $_POST['action'] ) && in_array( $_POST['action'], $core_actions_po add_action( 'wp_ajax_nopriv_autosave', 'wp_ajax_nopriv_autosave', 1 ); if ( is_user_logged_in() ) - do_action( 'wp_ajax_' . $_REQUEST['action'], $_REQUEST['action'] ); // Authenticated actions + do_action( 'wp_ajax_' . $_REQUEST['action'], $_REQUEST['action'] ); // Authenticated actions else - do_action( 'wp_ajax_nopriv_' . $_REQUEST['action'], $_REQUEST['action'] ); // Non-admin actions + do_action( 'wp_ajax_nopriv_' . $_REQUEST['action'], $_REQUEST['action'] ); // Non-admin actions // Default status die( '0' );