When installing a non-FAIR plugin there is no expanded did string attached to the slug. This results in an issue in set_slug_to_hashed() as there is a missing array key.
Detailed Description
As above, a non-FAIR plugin installed via the Add Plugins page results in an error for a missing array key in set_slug_to_hashed()
Dependencies check failed: ( ! ) Warning: Undefined array key 1 in /Users/afragen/Documents/github/fair-plugin/inc/packages/admin/namespace.php on line 292
Expected Behavior
No errors
Current Behavior
Missing array key error when installing a dot org plugin.
Steps to Reproduce
- Go to Add Plugins
- Try to install a dot org plugin
- Error as above noted and Activate button doesn't load
Context (Environment)
Possible Solution
See PR #328
When installing a non-FAIR plugin there is no expanded did string attached to the slug. This results in an issue in
set_slug_to_hashed()as there is a missing array key.Detailed Description
As above, a non-FAIR plugin installed via the Add Plugins page results in an error for a missing array key in
set_slug_to_hashed()Expected Behavior
No errors
Current Behavior
Missing array key error when installing a dot org plugin.
Steps to Reproduce
Context (Environment)
Possible Solution
See PR #328