{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/jetpack/issues/2890","labels_url":"https://api.github.com/repos/Automattic/jetpack/issues/2890/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/jetpack/issues/2890/comments","events_url":"https://api.github.com/repos/Automattic/jetpack/issues/2890/events","html_url":"https://github.com/Automattic/jetpack/issues/2890","id":113159680,"number":2890,"title":"Testimonials: Still Active After Disabling Custom Content Type Module","user":{"login":"philiparthurmoore","id":28684,"avatar_url":"https://avatars.githubusercontent.com/u/28684?v=3","gravatar_id":"","url":"https://api.github.com/users/philiparthurmoore","html_url":"https://github.com/philiparthurmoore","followers_url":"https://api.github.com/users/philiparthurmoore/followers","following_url":"https://api.github.com/users/philiparthurmoore/following{/other_user}","gists_url":"https://api.github.com/users/philiparthurmoore/gists{/gist_id}","starred_url":"https://api.github.com/users/philiparthurmoore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philiparthurmoore/subscriptions","organizations_url":"https://api.github.com/users/philiparthurmoore/orgs","repos_url":"https://api.github.com/users/philiparthurmoore/repos","events_url":"https://api.github.com/users/philiparthurmoore/events{/privacy}","received_events_url":"https://api.github.com/users/philiparthurmoore/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Automattic/jetpack/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/Automattic/jetpack/labels/Custom%20Content%20Types","name":"Custom Content Types","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Automattic/jetpack/milestones/24","html_url":"https://github.com/Automattic/jetpack/milestones/3.8","labels_url":"https://api.github.com/repos/Automattic/jetpack/milestones/24/labels","id":1238559,"number":24,"title":"3.8","description":"","creator":{"login":"kraftbj","id":88897,"avatar_url":"https://avatars.githubusercontent.com/u/88897?v=3","gravatar_id":"","url":"https://api.github.com/users/kraftbj","html_url":"https://github.com/kraftbj","followers_url":"https://api.github.com/users/kraftbj/followers","following_url":"https://api.github.com/users/kraftbj/following{/other_user}","gists_url":"https://api.github.com/users/kraftbj/gists{/gist_id}","starred_url":"https://api.github.com/users/kraftbj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kraftbj/subscriptions","organizations_url":"https://api.github.com/users/kraftbj/orgs","repos_url":"https://api.github.com/users/kraftbj/repos","events_url":"https://api.github.com/users/kraftbj/events{/privacy}","received_events_url":"https://api.github.com/users/kraftbj/received_events","type":"User","site_admin":false},"open_issues":86,"closed_issues":113,"state":"open","created_at":"2015-08-03T15:09:41Z","updated_at":"2015-10-24T13:37:16Z","due_on":"2015-10-28T04:00:00Z","closed_at":null},"comments":2,"created_at":"2015-10-24T13:20:24Z","updated_at":"2015-10-24T22:44:02Z","closed_at":null,"body":"Steps to reproduce:\r\n\r\n1. Turn on Custom Content Types\r\n2. Turn on Testimonials under writing settings page.\r\n3. Add a Testimonial\r\n4. Turn off Custom Content Types\r\n5. Testimonials still show in the sidebar and there does not appear to be a way to get rid of it unless I turn Custom Content Types back on and disable Testimonials from the writing settings page, and then turn \r\nCustom Content Types back off.\r\n\r\nhttps://cloudup.com/cat4Lv_bBiS\r\n\r\nSuggested fix: make sure that Testimonials and Portfolios get turned off on module deactivation to avoid this confusion."},"comment":{"url":"https://api.github.com/repos/Automattic/jetpack/issues/comments/150863676","html_url":"https://github.com/Automattic/jetpack/issues/2890#issuecomment-150863676","issue_url":"https://api.github.com/repos/Automattic/jetpack/issues/2890","id":150863676,"user":{"login":"philiparthurmoore","id":28684,"avatar_url":"https://avatars.githubusercontent.com/u/28684?v=3","gravatar_id":"","url":"https://api.github.com/users/philiparthurmoore","html_url":"https://github.com/philiparthurmoore","followers_url":"https://api.github.com/users/philiparthurmoore/followers","following_url":"https://api.github.com/users/philiparthurmoore/following{/other_user}","gists_url":"https://api.github.com/users/philiparthurmoore/gists{/gist_id}","starred_url":"https://api.github.com/users/philiparthurmoore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philiparthurmoore/subscriptions","organizations_url":"https://api.github.com/users/philiparthurmoore/orgs","repos_url":"https://api.github.com/users/philiparthurmoore/repos","events_url":"https://api.github.com/users/philiparthurmoore/events{/privacy}","received_events_url":"https://api.github.com/users/philiparthurmoore/received_events","type":"User","site_admin":false},"created_at":"2015-10-24T22:44:01Z","updated_at":"2015-10-24T22:44:01Z","body":"> either that or check for module activation in addition to simply the setting. If both aren't true, then don't include the CPT.\r\n\r\nEven better."}}