As it stands right now, using the v3 WPVulnDB API, the API token needs to be defined in the site's wp-config.php. This is fine when working with a single WP site, however, I as a tech support rep in a hosting company I work with a lot of different sites on a daily basis. Having to edit the wp-config.php every time can quickly become tedious. Would it be possible to add the API token to the WP-CLI config, so that the same token can be used with all sites on a single server?
I think this is a good idea. I will bring this to our standup. Thanks for the suggestion @lolnutlolwut . If you would like to go ahead and try implementing it, PR are always welcome too.
Hello,
As it stands right now, using the v3 WPVulnDB API, the API token needs to be defined in the site's wp-config.php. This is fine when working with a single WP site, however, I as a tech support rep in a hosting company I work with a lot of different sites on a daily basis. Having to edit the wp-config.php every time can quickly become tedious. Would it be possible to add the API token to the WP-CLI config, so that the same token can be used with all sites on a single server?