ID, '_pr_last_source_verified', true ); $velocity = get_post_meta( $post->ID, '_pr_verification_velocity', true ) ?: 'medium'; $status = get_post_meta( $post->ID, '_pr_verification_status', true ) ?: 'current'; $notes = get_post_meta( $post->ID, '_pr_verification_notes', true ) ?: ''; echo '
' . esc_html__( 'Last Verified', 'peptide-repo-core' ) . ':
';
echo '' . esc_html( $last_verified ?: '—' ) . '
' . esc_html__( 'Verification Velocity', 'peptide-repo-core' ) . ':
';
echo '
' . esc_html__( 'Status', 'peptide-repo-core' ) . ':
';
$badge_class = match( $status ) {
'due' => 'style="background:#ff9800;color:white;padding:4px 8px;border-radius:3px;"',
'overdue' => 'style="background:#f44336;color:white;padding:4px 8px;border-radius:3px;"',
default => 'style="background:#4caf50;color:white;padding:4px 8px;border-radius:3px;"',
};
echo '' . esc_html( ucfirst( $status ) ) . '
' . esc_html__( 'Verification Notes', 'peptide-repo-core' ) . ':
';
printf(
'',
esc_textarea( $notes )
);
echo '