Make WordPress Core


Ignore:
Timestamp:
03/05/2009 09:43:35 PM (15 years ago)
Author:
ryan
Message:

Fire nopriv actions from post and ajax handlers when user is not logged in.

File:
1 edited

Legend:

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

    r10719 r10720  
    3737            $x->send();
    3838    }
     39
     40    if ( !empty( $_POST['action']) )
     41        do_action( 'wp_ajax_nopriv_' . $_POST['action'] );
    3942
    4043    die('-1');
Note: See TracChangeset for help on using the changeset viewer.