fix: bring CPT class under 300 lines

This commit is contained in:
peptiderepo
2026-04-24 10:15:45 +07:00
parent 0f62abd6e9
commit ba4e11192f

View File

@@ -296,6 +296,4 @@ class PR_Core_Peptide_CPT {
*/
public static function sanitize_review_status( $value ): string {
$value = sanitize_text_field( (string) $value );
return in_array( $value, self::REVIEW_STATUSES, true ) ? $value : 'draft';
}
}