self::MAX_KEY_LENGTH ) { // phpcs:ignore WordPress.Security.EscapeOutput.ExceptionNotEscaped -- Not HTML output here; escaped where printed. throw new LicenseValidationException( __( 'A license key cannot be longer than 35 characters.', 'releasecart' ) ); } return $key; } }