WordPress.org

Make WordPress Core

Changeset 15606


Ignore:
Timestamp:
09/10/10 17:02:55 (4 years ago)
Author:
nacin
Message:

Don't try to load WP in admin-ajax if we have no action to take.

File:
1 edited

Legend:

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

    r15564 r15606  
    1515define('WP_ADMIN', true); 
    1616 
    17 require_once('../wp-load.php'); 
    18  
    1917if ( ! isset( $_REQUEST['action'] ) ) 
    2018    die('-1'); 
     19 
     20require_once('../wp-load.php'); 
    2121 
    2222require_once('./includes/admin.php'); 
Note: See TracChangeset for help on using the changeset viewer.