From 6ef54c2016931f978f92ee7e309d467b73d0f8ce Mon Sep 17 00:00:00 2001 From: nacin Date: Wed, 8 Feb 2012 17:05:40 +0000 Subject: [PATCH] Tabs, not spaces. Props PeteMall. git-svn-id: http://svn.automattic.com/wordpress/trunk@19874 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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' );