WordPress.org

Make WordPress Core

Changeset 19874


Ignore:
Timestamp:
02/08/12 17:05:40 (2 years ago)
Author:
nacin
Message:

Tabs, not spaces. Props PeteMall.

File:
1 edited

Legend:

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

    r19831 r19874  
    1919// Require an action parameter 
    2020if ( empty( $_REQUEST['action'] ) ) 
    21     die( '0' ); 
     21    die( '0' ); 
    2222 
    2323/** Load WordPress Bootstrap */ 
     
    5959 
    6060if ( is_user_logged_in() ) 
    61     do_action( 'wp_ajax_' . $_REQUEST['action'], $_REQUEST['action'] );        // Authenticated actions 
     61    do_action( 'wp_ajax_' . $_REQUEST['action'], $_REQUEST['action'] ); // Authenticated actions 
    6262else 
    63     do_action( 'wp_ajax_nopriv_' . $_REQUEST['action'], $_REQUEST['action'] ); // Non-admin actions 
     63    do_action( 'wp_ajax_nopriv_' . $_REQUEST['action'], $_REQUEST['action'] ); // Non-admin actions 
    6464 
    6565// Default status 
Note: See TracChangeset for help on using the changeset viewer.