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