Skip to content
New issue

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

Adding API token to WP-CLI config #34

Open
lolnutlolwut opened this issue Mar 12, 2019 · 1 comment
Open

Adding API token to WP-CLI config #34

lolnutlolwut opened this issue Mar 12, 2019 · 1 comment

Comments

@lolnutlolwut
Copy link

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?

@oscarssanchez
Copy link
Contributor

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.

Have a great day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants