{"action":"opened","issue":{"url":"https://api.github.com/repos/widoz/unprefix/issues/6","labels_url":"https://api.github.com/repos/widoz/unprefix/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/widoz/unprefix/issues/6/comments","events_url":"https://api.github.com/repos/widoz/unprefix/issues/6/events","html_url":"https://github.com/widoz/unprefix/issues/6","id":121476785,"number":6,"title":"unprefix_the_post_thumbnail","user":{"login":"widoz","id":1917784,"avatar_url":"https://avatars.githubusercontent.com/u/1917784?v=3","gravatar_id":"","url":"https://api.github.com/users/widoz","html_url":"https://github.com/widoz","followers_url":"https://api.github.com/users/widoz/followers","following_url":"https://api.github.com/users/widoz/following{/other_user}","gists_url":"https://api.github.com/users/widoz/gists{/gist_id}","starred_url":"https://api.github.com/users/widoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/widoz/subscriptions","organizations_url":"https://api.github.com/users/widoz/orgs","repos_url":"https://api.github.com/users/widoz/repos","events_url":"https://api.github.com/users/widoz/events{/privacy}","received_events_url":"https://api.github.com/users/widoz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-10T12:52:09Z","updated_at":"2015-12-10T12:52:09Z","closed_at":null,"body":"$has_link must be true by default.\r\n\r\nAlso, prevent to add link to the post thumbnail in singular post for the main query but allow custom queries on the same page to have the link.\r\n\r\n```php\r\nif ( $has_link && false === ( is_main_query() && is_singular() ) ) {\r\n    $_output .= '<a href=\"' . esc_url( get_permalink( $post ) ) . '\">';\r\n}\r\n```"}}