private function _shouldProceedValidation(array $aUnmodified)
{
if ('auto-draft' === $aUnmodified['post_status']) {
return false;
}
if (defined('DOING_AUTOSAVE') && DOING_AUTOSAVE) {
return false;
}
if (!isset($_POST[$this->oProp->sMetaBoxID])) {
return false;
}
if (!wp_verify_nonce($_POST[$this->oProp->sMetaBoxID], $this->oProp->sMetaBoxID)) {
return false;
}
if (!in_array($aUnmodified['post_type'], $this->oProp->aPostTypes)) {
return false;
}
return current_user_can($this->oProp->sCapability, $aUnmodified['ID']);
}