gocodebox / lifterlms-helper

Update, install, and beta test LifterLMS and LifterLMS add-ons
0 stars 2 forks source link

Remove empty keys during activation. #38

Closed pondermatic closed 2 years ago

pondermatic commented 2 years ago

Description

Fixed an issue where adding new license keys with an end-of-line symbol after the last key would result in an invalid license key error.

This started out as a fix for the LLMS_Helper_Test_Keys::test_activate_keys_sanitize_and_parse() test on Windows and evolved.

How has this been tested?

Manually and with unit tests.

Types of changes

Bug fix (non-breaking change which fixes an issue).

Checklist: