{"action":"closed","issue":{"url":"https://api.github.com/repos/graphpaperpress/Sell-Media/issues/777","repository_url":"https://api.github.com/repos/graphpaperpress/Sell-Media","labels_url":"https://api.github.com/repos/graphpaperpress/Sell-Media/issues/777/labels{/name}","comments_url":"https://api.github.com/repos/graphpaperpress/Sell-Media/issues/777/comments","events_url":"https://api.github.com/repos/graphpaperpress/Sell-Media/issues/777/events","html_url":"https://github.com/graphpaperpress/Sell-Media/issues/777","id":166626925,"number":777,"title":"Thanks shortcode - setcookie causing headers already sent warning ","user":{"login":"thadallender","id":302884,"avatar_url":"https://avatars.githubusercontent.com/u/302884?v=3","gravatar_id":"","url":"https://api.github.com/users/thadallender","html_url":"https://github.com/thadallender","followers_url":"https://api.github.com/users/thadallender/followers","following_url":"https://api.github.com/users/thadallender/following{/other_user}","gists_url":"https://api.github.com/users/thadallender/gists{/gist_id}","starred_url":"https://api.github.com/users/thadallender/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thadallender/subscriptions","organizations_url":"https://api.github.com/users/thadallender/orgs","repos_url":"https://api.github.com/users/thadallender/repos","events_url":"https://api.github.com/users/thadallender/events{/privacy}","received_events_url":"https://api.github.com/users/thadallender/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-20T16:38:53Z","updated_at":"2016-07-21T13:34:28Z","closed_at":"2016-07-21T13:34:28Z","body":"setcookie function in the sell_media_thanks page shortcode is causing a warning. This is because shortcodes don't sent headers at all, so the cookie isn't updated.\r\n\r\nWe should move this function into the IPN callback from PayPal and out of the thanks shortcode. \r\n\r\nWarning Message:\r\n\r\nheaders already sent by (output started at /var/www/testing.graphpaperpress.com/htdocs/wp-includes/class.wp-styles.php:127) in /var/www/testing.graphpaperpress.com/htdocs/wp-content/plugins/sell-media/inc/shortcodes.php on line 54"}}
{"actor":{"display_login":"thadallender"}}