{"action":"closed","issue":{"url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/1869","repository_url":"https://api.github.com/repos/Yoast/wordpress-seo","labels_url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/1869/labels{/name}","comments_url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/1869/comments","events_url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/1869/events","html_url":"https://github.com/Yoast/wordpress-seo/issues/1869","id":53570410,"number":1869,"title":"Check get_post_types calls","user":{"login":"jdevalk","id":487629,"avatar_url":"https://avatars.githubusercontent.com/u/487629?v=3","gravatar_id":"","url":"https://api.github.com/users/jdevalk","html_url":"https://github.com/jdevalk","followers_url":"https://api.github.com/users/jdevalk/followers","following_url":"https://api.github.com/users/jdevalk/following{/other_user}","gists_url":"https://api.github.com/users/jdevalk/gists{/gist_id}","starred_url":"https://api.github.com/users/jdevalk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdevalk/subscriptions","organizations_url":"https://api.github.com/users/jdevalk/orgs","repos_url":"https://api.github.com/users/jdevalk/repos","events_url":"https://api.github.com/users/jdevalk/events{/privacy}","received_events_url":"https://api.github.com/users/jdevalk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Yoast/wordpress-seo/labels/enhancement","name":"enhancement","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-06T22:13:40Z","updated_at":"2016-06-13T17:17:45Z","closed_at":"2016-06-13T17:17:45Z","body":"As discussed in #1861 and noted there by @jrfnl:\r\n\r\n> While we're on the subject, there's quite a few more places were the get_post_types() logic might need a thorough review.\r\n> In most cases we should probably check for publicly_queryable rather than public and maybe sometimes also for exclude_from_search.\r\n\r\n> Ref: http://codex.wordpress.org/Function_Reference/register_post_type#Arguments\r\n> Code which needs checking: https://github.com/Yoast/wordpress-seo/search?q=get_post_types"}}
{"actor":{"display_login":"Rarst"}}