{"action":"closed","issue":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-iOS/issues/59","repository_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-iOS","labels_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-iOS/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-iOS/issues/59/comments","events_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-iOS/issues/59/events","html_url":"https://github.com/wordpress-mobile/WordPress-Editor-iOS/issues/59","id":36390304,"number":59,"title":"Discard button deletes the entire post with local drafts","user":{"login":"astralbodies","id":373903,"avatar_url":"https://avatars.githubusercontent.com/u/373903?v=3","gravatar_id":"","url":"https://api.github.com/users/astralbodies","html_url":"https://github.com/astralbodies","followers_url":"https://api.github.com/users/astralbodies/followers","following_url":"https://api.github.com/users/astralbodies/following{/other_user}","gists_url":"https://api.github.com/users/astralbodies/gists{/gist_id}","starred_url":"https://api.github.com/users/astralbodies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astralbodies/subscriptions","organizations_url":"https://api.github.com/users/astralbodies/orgs","repos_url":"https://api.github.com/users/astralbodies/repos","events_url":"https://api.github.com/users/astralbodies/events{/privacy}","received_events_url":"https://api.github.com/users/astralbodies/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-iOS/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"diegoreymendez","id":1836005,"avatar_url":"https://avatars.githubusercontent.com/u/1836005?v=3","gravatar_id":"","url":"https://api.github.com/users/diegoreymendez","html_url":"https://github.com/diegoreymendez","followers_url":"https://api.github.com/users/diegoreymendez/followers","following_url":"https://api.github.com/users/diegoreymendez/following{/other_user}","gists_url":"https://api.github.com/users/diegoreymendez/gists{/gist_id}","starred_url":"https://api.github.com/users/diegoreymendez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diegoreymendez/subscriptions","organizations_url":"https://api.github.com/users/diegoreymendez/orgs","repos_url":"https://api.github.com/users/diegoreymendez/repos","events_url":"https://api.github.com/users/diegoreymendez/events{/privacy}","received_events_url":"https://api.github.com/users/diegoreymendez/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-iOS/milestones/1","html_url":"https://github.com/wordpress-mobile/WordPress-Editor-iOS/milestones/Future","labels_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-iOS/milestones/1/labels","id":740037,"number":1,"title":"Future","description":"To be planned for the future.","creator":{"login":"thianhlu","id":204184,"avatar_url":"https://avatars.githubusercontent.com/u/204184?v=3","gravatar_id":"","url":"https://api.github.com/users/thianhlu","html_url":"https://github.com/thianhlu","followers_url":"https://api.github.com/users/thianhlu/followers","following_url":"https://api.github.com/users/thianhlu/following{/other_user}","gists_url":"https://api.github.com/users/thianhlu/gists{/gist_id}","starred_url":"https://api.github.com/users/thianhlu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thianhlu/subscriptions","organizations_url":"https://api.github.com/users/thianhlu/orgs","repos_url":"https://api.github.com/users/thianhlu/repos","events_url":"https://api.github.com/users/thianhlu/events{/privacy}","received_events_url":"https://api.github.com/users/thianhlu/received_events","type":"User","site_admin":false},"open_issues":118,"closed_issues":71,"state":"open","created_at":"2014-08-01T17:53:40Z","updated_at":"2016-02-18T14:03:13Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2014-06-24T14:40:47Z","updated_at":"2016-02-18T14:03:14Z","closed_at":"2016-02-18T14:03:13Z","body":"Original issue: https://github.com/wordpress-mobile/WordPress-iOS/issues/202\n\nWhen editing a post, hit cancel to bring up the options \"Discard\" and \"Save Draft\". Hitting \"Discard\" doesn't actually discard the changes the user has made, it deletes the entire post. This only happens on local drafts, not on posts that are already live.\r\n\r\nI wonder if we should change the wording to either reflect this, or change the functionality to only discard the changes as the label suggests."}}