We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I activate a pass' license key, I expect the license key to be added to the edd_pass_licenses option data, per the code:
edd_pass_licenses
easy-digital-downloads/includes/class-edd-license-handler.php
Lines 251 to 255 in 16b95fd
When I activate a license, the $license variable for the array key is not defined. During activation, the class property for the license is not set, so we need to use the key that's being evaluated/saved to the database.
$license
PHP Version: 7.4 EDD Version (or branch): master WordPress Version: 5.8
The text was updated successfully, but these errors were encountered:
Use correct license key for pass data during activation
4ed9e8e
#8961
robincornett
Successfully merging a pull request may close this issue.
Bug Report
Expected behavior
When I activate a pass' license key, I expect the license key to be added to the
edd_pass_licenses
option data, per the code:easy-digital-downloads/includes/class-edd-license-handler.php
Lines 251 to 255 in 16b95fd
Actual behavior
When I activate a license, the
$license
variable for the array key is not defined. During activation, the class property for the license is not set, so we need to use the key that's being evaluated/saved to the database.Steps to reproduce the behavior
edd_pass_licenses
data in the database. The pass ID and timestamp will be saved, but without the license key.Information (if a specific version is affected):
PHP Version: 7.4
EDD Version (or branch): master
WordPress Version: 5.8
The text was updated successfully, but these errors were encountered: