WordPress.org

Make WordPress Core

Changeset 19762


Ignore:
Timestamp:
01/26/12 21:21:30 (3 years ago)
Author:
nacin
Message:

Make 0 the default status for admin-ajax.php. props TobiasBg. fixes #15327.

File:
1 edited

Legend:

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

    r19739 r19762  
    1919// Require an action parameter 
    2020if ( empty( $_REQUEST['action'] ) ) 
    21     die( '-1' ); 
     21    die( '0' ); 
    2222 
    2323/** Load WordPress Bootstrap */ 
     
    6464 
    6565// Default status 
    66 die( '-1' ); 
     66die( '0' ); 
Note: See TracChangeset for help on using the changeset viewer.