{"action":"created","issue":{"url":"https://api.github.com/repos/iseulde/wp-front-end-editor/issues/230","labels_url":"https://api.github.com/repos/iseulde/wp-front-end-editor/issues/230/labels{/name}","comments_url":"https://api.github.com/repos/iseulde/wp-front-end-editor/issues/230/comments","events_url":"https://api.github.com/repos/iseulde/wp-front-end-editor/issues/230/events","html_url":"https://github.com/iseulde/wp-front-end-editor/pull/230","id":60798684,"number":230,"title":"Prevent fatal error","user":{"login":"christianwach","id":726936,"avatar_url":"https://avatars.githubusercontent.com/u/726936?v=3","gravatar_id":"","url":"https://api.github.com/users/christianwach","html_url":"https://github.com/christianwach","followers_url":"https://api.github.com/users/christianwach/followers","following_url":"https://api.github.com/users/christianwach/following{/other_user}","gists_url":"https://api.github.com/users/christianwach/gists{/gist_id}","starred_url":"https://api.github.com/users/christianwach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christianwach/subscriptions","organizations_url":"https://api.github.com/users/christianwach/orgs","repos_url":"https://api.github.com/users/christianwach/repos","events_url":"https://api.github.com/users/christianwach/events{/privacy}","received_events_url":"https://api.github.com/users/christianwach/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-12T10:32:28Z","updated_at":"2016-01-20T17:27:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/iseulde/wp-front-end-editor/pulls/230","html_url":"https://github.com/iseulde/wp-front-end-editor/pull/230","diff_url":"https://github.com/iseulde/wp-front-end-editor/pull/230.diff","patch_url":"https://github.com/iseulde/wp-front-end-editor/pull/230.patch"},"body":"I have found that `get_sample_permalink()` is not always available and that WordPress Front-end Editor throws a fatal error when calling it. This PR solves the problem in the same manner it's solved elsewhere in WordPress Front-end Editor.\r\n\r\nReplaces #204 "},"comment":{"url":"https://api.github.com/repos/iseulde/wp-front-end-editor/issues/comments/173290515","html_url":"https://github.com/iseulde/wp-front-end-editor/pull/230#issuecomment-173290515","issue_url":"https://api.github.com/repos/iseulde/wp-front-end-editor/issues/230","id":173290515,"user":{"login":"iseulde","id":4710635,"avatar_url":"https://avatars.githubusercontent.com/u/4710635?v=3","gravatar_id":"","url":"https://api.github.com/users/iseulde","html_url":"https://github.com/iseulde","followers_url":"https://api.github.com/users/iseulde/followers","following_url":"https://api.github.com/users/iseulde/following{/other_user}","gists_url":"https://api.github.com/users/iseulde/gists{/gist_id}","starred_url":"https://api.github.com/users/iseulde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iseulde/subscriptions","organizations_url":"https://api.github.com/users/iseulde/orgs","repos_url":"https://api.github.com/users/iseulde/repos","events_url":"https://api.github.com/users/iseulde/events{/privacy}","received_events_url":"https://api.github.com/users/iseulde/received_events","type":"User","site_admin":false},"created_at":"2016-01-20T17:27:27Z","updated_at":"2016-01-20T17:27:27Z","body":"But I think the functionality that uses it is now gone so this can be removed."}}