{"action":"created","issue":{"url":"https://api.github.com/repos/Kenshino/HelpHub/issues/50","repository_url":"https://api.github.com/repos/Kenshino/HelpHub","labels_url":"https://api.github.com/repos/Kenshino/HelpHub/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/Kenshino/HelpHub/issues/50/comments","events_url":"https://api.github.com/repos/Kenshino/HelpHub/issues/50/events","html_url":"https://github.com/Kenshino/HelpHub/issues/50","id":186551297,"number":50,"title":"Functionality: Automatic linking for hooks (filters/actions)","user":{"login":"Aternus","id":1684891,"avatar_url":"https://avatars.githubusercontent.com/u/1684891?v=3","gravatar_id":"","url":"https://api.github.com/users/Aternus","html_url":"https://github.com/Aternus","followers_url":"https://api.github.com/users/Aternus/followers","following_url":"https://api.github.com/users/Aternus/following{/other_user}","gists_url":"https://api.github.com/users/Aternus/gists{/gist_id}","starred_url":"https://api.github.com/users/Aternus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aternus/subscriptions","organizations_url":"https://api.github.com/users/Aternus/orgs","repos_url":"https://api.github.com/users/Aternus/repos","events_url":"https://api.github.com/users/Aternus/events{/privacy}","received_events_url":"https://api.github.com/users/Aternus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-11-01T14:43:08Z","updated_at":"2016-11-27T10:13:40Z","closed_at":null,"body":"**Overview:**\r\nAdd ability to reference the correct hook by using a shortcode.\r\n\r\n**Workflow:**\r\n1. User adds [filter name=\"the_title\"] or [action name=\"do_shortcode\"]\r\n2. The system will look for a hook name in the reference database\r\n3. If successful, a link will be created to the reference\r\n4. If not successful, the name of the filter will be displayed with a red underline (marking missing content)\r\n\r\n**Implementation:**\r\nShould be pretty straight forward.\r\n\r\nWhat do you think? Improvements?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Kenshino/HelpHub/issues/comments/263113769","html_url":"https://github.com/Kenshino/HelpHub/issues/50#issuecomment-263113769","issue_url":"https://api.github.com/repos/Kenshino/HelpHub/issues/50","id":263113769,"user":{"login":"Aternus","id":1684891,"avatar_url":"https://avatars.githubusercontent.com/u/1684891?v=3","gravatar_id":"","url":"https://api.github.com/users/Aternus","html_url":"https://github.com/Aternus","followers_url":"https://api.github.com/users/Aternus/followers","following_url":"https://api.github.com/users/Aternus/following{/other_user}","gists_url":"https://api.github.com/users/Aternus/gists{/gist_id}","starred_url":"https://api.github.com/users/Aternus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aternus/subscriptions","organizations_url":"https://api.github.com/users/Aternus/orgs","repos_url":"https://api.github.com/users/Aternus/repos","events_url":"https://api.github.com/users/Aternus/events{/privacy}","received_events_url":"https://api.github.com/users/Aternus/received_events","type":"User","site_admin":false},"created_at":"2016-11-27T10:13:40Z","updated_at":"2016-11-27T10:13:40Z","body":"If I'm understanding you correctly, we need a way to verify the integrity of the link and notify the author if it is broken.\r\n\r\nThis can be done by limiting scope of the call to is_admin() and displaying it on the front end with a red underline (similar to what we currently have in Codex).\r\n\r\nThis will also ensure that all links are validated when someone looks at a page.\r\n\r\nWhat about adding a transient that has a 48 hour life-span that will prevent unnecessary calls?\r\n\r\nA totally different approach would be to use \"Broken Links Checker\" for this functionality and ignore it completely inside the shortcode.\r\n\r\n**This is a draft. Feedback is welcome!**"}}
{"actor":{"display_login":"Aternus"}}