fix: bring CPT class under 300 lines
This commit is contained in:
@@ -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';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user