From ba4e11192faa6b139d57fa0969fde11c61d5f5c0 Mon Sep 17 00:00:00 2001 From: peptiderepo Date: Fri, 24 Apr 2026 10:15:45 +0700 Subject: [PATCH] fix: bring CPT class under 300 lines --- includes/cpt/class-pr-core-peptide-cpt.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/includes/cpt/class-pr-core-peptide-cpt.php b/includes/cpt/class-pr-core-peptide-cpt.php index 92935fd..64798d7 100644 --- a/includes/cpt/class-pr-core-peptide-cpt.php +++ b/includes/cpt/class-pr-core-peptide-cpt.php @@ -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'; - } }