{"action":"closed","issue":{"url":"https://api.github.com/repos/iseulde/wp-front-end-editor/issues/301","repository_url":"https://api.github.com/repos/iseulde/wp-front-end-editor","labels_url":"https://api.github.com/repos/iseulde/wp-front-end-editor/issues/301/labels{/name}","comments_url":"https://api.github.com/repos/iseulde/wp-front-end-editor/issues/301/comments","events_url":"https://api.github.com/repos/iseulde/wp-front-end-editor/issues/301/events","html_url":"https://github.com/iseulde/wp-front-end-editor/issues/301","id":172737482,"number":301,"title":"Undefined index: modified in /wp-content/plugins/wp-front-end-editor/class-fee.php on line 241","user":{"login":"limestreet","id":8863159,"avatar_url":"https://avatars.githubusercontent.com/u/8863159?v=3","gravatar_id":"","url":"https://api.github.com/users/limestreet","html_url":"https://github.com/limestreet","followers_url":"https://api.github.com/users/limestreet/followers","following_url":"https://api.github.com/users/limestreet/following{/other_user}","gists_url":"https://api.github.com/users/limestreet/gists{/gist_id}","starred_url":"https://api.github.com/users/limestreet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/limestreet/subscriptions","organizations_url":"https://api.github.com/users/limestreet/orgs","repos_url":"https://api.github.com/users/limestreet/repos","events_url":"https://api.github.com/users/limestreet/events{/privacy}","received_events_url":"https://api.github.com/users/limestreet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/iseulde/wp-front-end-editor/labels/Bug","name":"Bug","color":"b60205"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/iseulde/wp-front-end-editor/milestones/10","html_url":"https://github.com/iseulde/wp-front-end-editor/milestones/2.2.1","labels_url":"https://api.github.com/repos/iseulde/wp-front-end-editor/milestones/10/labels","id":1958674,"number":10,"title":"2.2.1","description":null,"creator":{"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},"open_issues":0,"closed_issues":1,"state":"open","created_at":"2016-08-23T18:19:15Z","updated_at":"2016-08-23T18:29:14Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-08-23T15:53:22Z","updated_at":"2016-08-23T18:29:14Z","closed_at":"2016-08-23T18:29:14Z","body":"There is PHP Notice - probably when there was no previous autosave:\r\n`Undefined index: modified in /wp-content/plugins/wp-front-end-editor/class-fee.php on line 241`\r\n\r\nOn line 241 there is:\r\n`'autosave' => strtotime($rest_autosave['modified']) > strtotime($rest_post['modified']) ? $rest_autosave : null,`\r\n\r\nto solve this issue I think it should be:\r\n\r\n`'autosave' => isset($rest_autosave['modified']) && strtotime($rest_autosave['modified']) > strtotime($rest_post['modified']) ? $rest_autosave : null,`"}}
{"actor":{"display_login":"iseulde"}}