Deactivating a license that has already been deactivated via other means will produce an invalid UI state.
Step To Reproduce
Steps to reproduce the behavior:
Activate a License Key for a Gravity PDF extension at Forms -> Settings -> PDF -> License
Go to GravityPDF.com/account/, locate the license key under Licenses, and then deactivate your site
Back in WordPress, click the "Deactivate License" button, and you'll get an error about the license not being activated on the site
Expected behavior
At step 3, we should delete the license key from the database and now show the Deactivate License button any longer. The UI should be ready to accept a fresh license key to activate the plugin again.
Description
Deactivating a license that has already been deactivated via other means will produce an invalid UI state.
Step To Reproduce Steps to reproduce the behavior:
Expected behavior
At step 3, we should delete the license key from the database and now show the Deactivate License button any longer. The UI should be ready to accept a fresh license key to activate the plugin again.
Screenshots