post_author); if (!empty($post->post_password) && $_COOKIE['wp-postpass_'. COOKIEHASH] != $post->post_password) { die(); } } define('AWP_AJAXED', true); define('AWP_ID', $id); do_action('awp_ajax_type_'.addslashes($_REQUEST['type'])); }else{ _e('Invalid ID.','awp'); } ?>