{"id":2587112,"date":"2012-02-22T15:15:51","date_gmt":"2012-02-22T15:15:51","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/plugin-wp-piwik-as-simple-plugin-with-multisite-fills-auth-with-last-used-token\/"},"modified":"2016-08-20T05:11:46","modified_gmt":"2016-08-20T05:11:46","slug":"plugin-wp-piwik-as-simple-plugin-with-multisite-fills-auth-with-last-used-token","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/plugin-wp-piwik-as-simple-plugin-with-multisite-fills-auth-with-last-used-token\/","title":{"rendered":"[Plugin: WP-Piwik] As simple plugin with multisite &#8211; fills auth with last used token"},"content":{"rendered":"<p>I noticed if I activate the plugin on a new or pre-existing site, the token and server URL field are automatically filled in with the most recent one saved on any other site.<\/p>\n<p>This is using the plugin on a network install as a simple site plugin not as a multisite network plugin.<\/p>\n<p>As I have dug deeper, it seems the settings are stored only once in the DB under wp-piwik_global-settings in wp_sitemeta table. Each new site overwrites this and there doesn&#8217;t seem to be per blog\/site storage. Presume normally it is stored in wp_XX_options in a multisite?<\/p>\n<p>Seems odd that no one could store details to allow any other piwik install and need to use a single auth token for the whole network?<\/p>\n<p>Is this by design or is it a problem in the plugin or my install?<\/p>\n<p>https:\/\/wordpress.org\/extend\/plugins\/wp-piwik\/<\/p>\n","protected":false},"template":"","class_list":["post-2587112","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/2587112","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/2587112\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=2587112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}