Everytime wordpress stats updates, I need to provide the API key. Is there someway to automate this?
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
|
This is why: http://plugins.trac.wordpress.org/browser/stats/tags/1.7.2/stats.php#L685 The deactivation hook deletes your database information. I'm guessing you're manually deactivating the plugin, updating, and then re-activating? If so, that runs the deactivation hook. Fortunately, that's not from the latest version. This is: http://plugins.trac.wordpress.org/browser/stats/tags/1.7.3/stats.php#L686 So that shouldn't happen anymore. By the way, you shouldn't think that this means you were doing anything wrong. They shouldn't be deleting information on deactivation, only on uninstall. Kind of strange that they were doing it at all... |
|||
|