{"action":"created","issue":{"url":"https://api.github.com/repos/websharks/zencache/issues/675","repository_url":"https://api.github.com/repos/websharks/zencache","labels_url":"https://api.github.com/repos/websharks/zencache/issues/675/labels{/name}","comments_url":"https://api.github.com/repos/websharks/zencache/issues/675/comments","events_url":"https://api.github.com/repos/websharks/zencache/issues/675/events","html_url":"https://github.com/websharks/zencache/issues/675","id":135215353,"number":675,"title":"Bug: Settings Link in Multisite Network","user":{"login":"jaswsinc","id":1563559,"avatar_url":"https://avatars.githubusercontent.com/u/1563559?v=3","gravatar_id":"","url":"https://api.github.com/users/jaswsinc","html_url":"https://github.com/jaswsinc","followers_url":"https://api.github.com/users/jaswsinc/followers","following_url":"https://api.github.com/users/jaswsinc/following{/other_user}","gists_url":"https://api.github.com/users/jaswsinc/gists{/gist_id}","starred_url":"https://api.github.com/users/jaswsinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaswsinc/subscriptions","organizations_url":"https://api.github.com/users/jaswsinc/orgs","repos_url":"https://api.github.com/users/jaswsinc/repos","events_url":"https://api.github.com/users/jaswsinc/events{/privacy}","received_events_url":"https://api.github.com/users/jaswsinc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/websharks/zencache/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/websharks/zencache/labels/multisite","name":"multisite","color":"5319e7"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/websharks/zencache/milestones/25","html_url":"https://github.com/websharks/zencache/milestones/Next%20Release%20(Pro);%201st%20CC%20Notice","labels_url":"https://api.github.com/repos/websharks/zencache/milestones/25/labels","id":1468784,"number":25,"title":"Next Release (Pro); 1st CC Notice","description":"Release Candidate due February 15th, 2016","creator":{"login":"raamdev","id":53005,"avatar_url":"https://avatars.githubusercontent.com/u/53005?v=3","gravatar_id":"","url":"https://api.github.com/users/raamdev","html_url":"https://github.com/raamdev","followers_url":"https://api.github.com/users/raamdev/followers","following_url":"https://api.github.com/users/raamdev/following{/other_user}","gists_url":"https://api.github.com/users/raamdev/gists{/gist_id}","starred_url":"https://api.github.com/users/raamdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raamdev/subscriptions","organizations_url":"https://api.github.com/users/raamdev/orgs","repos_url":"https://api.github.com/users/raamdev/repos","events_url":"https://api.github.com/users/raamdev/events{/privacy}","received_events_url":"https://api.github.com/users/raamdev/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":6,"state":"open","created_at":"2015-12-21T01:30:45Z","updated_at":"2016-02-21T15:42:38Z","due_on":"2016-02-19T05:00:00Z","closed_at":null},"comments":3,"created_at":"2016-02-21T15:09:44Z","updated_at":"2016-02-21T15:42:38Z","closed_at":"2016-02-21T15:42:38Z","body":"\r\n![2016-02-21_06-07-11](https://cloud.githubusercontent.com/assets/1563559/13203302/9d7de2ae-d861-11e5-926e-1b6837d442a8.png)\r\n\r\n\r\nThe settings link leads to an error when viewing the list of active plugins on the Main Site in a Network installation. I actually was not expecting to find ZenCache listed there at all, so a solution to this problem might be to simply exclude those additional links whenever `is_multisite() && !is_network_admin()`\r\n\r\n## Steps to Reproduce\r\n\r\n- Install on a MS Network installation and network activate.\r\n- Visit the Dashboard for the Main Site (not the Network Admin).\r\n- View the list of active plugins from the Main Site.\r\n- Click the [Settings] link.\r\n\r\n## Expected Behavior\r\n\r\nThat it would take me to the Network admin panel.\r\n\r\n## Observed Behavior\r\n\r\nPermission denied, as a result of trying to load Settings on the Main Site instead of via the Network Admin panel."},"comment":{"url":"https://api.github.com/repos/websharks/zencache/issues/comments/186846234","html_url":"https://github.com/websharks/zencache/issues/675#issuecomment-186846234","issue_url":"https://api.github.com/repos/websharks/zencache/issues/675","id":186846234,"user":{"login":"raamdev","id":53005,"avatar_url":"https://avatars.githubusercontent.com/u/53005?v=3","gravatar_id":"","url":"https://api.github.com/users/raamdev","html_url":"https://github.com/raamdev","followers_url":"https://api.github.com/users/raamdev/followers","following_url":"https://api.github.com/users/raamdev/following{/other_user}","gists_url":"https://api.github.com/users/raamdev/gists{/gist_id}","starred_url":"https://api.github.com/users/raamdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raamdev/subscriptions","organizations_url":"https://api.github.com/users/raamdev/orgs","repos_url":"https://api.github.com/users/raamdev/repos","events_url":"https://api.github.com/users/raamdev/events{/privacy}","received_events_url":"https://api.github.com/users/raamdev/received_events","type":"User","site_admin":false},"created_at":"2016-02-21T15:42:38Z","updated_at":"2016-02-21T15:42:38Z","body":"Next Pro Release Changelog:\r\n\r\n- **Bug Fix (Multisite)**: Fixed a bug where when ZenCache was Network Activated the plugin settings link would show up in the plugins list for the Main Site and would lead to a 404 error. The settings link is now only shown when viewing the plugins list from the Network Admin. Props @jaswsinc. See [Issue #675](https://github.com/websharks/zencache/issues/675)."}}