{"action":"created","issue":{"url":"https://api.github.com/repos/o10n-x/wordpress-javascript-optimization/issues/2","repository_url":"https://api.github.com/repos/o10n-x/wordpress-javascript-optimization","labels_url":"https://api.github.com/repos/o10n-x/wordpress-javascript-optimization/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/o10n-x/wordpress-javascript-optimization/issues/2/comments","events_url":"https://api.github.com/repos/o10n-x/wordpress-javascript-optimization/issues/2/events","html_url":"https://github.com/o10n-x/wordpress-javascript-optimization/issues/2","id":307337786,"node_id":"MDU6SXNzdWUzMDczMzc3ODY=","number":2,"title":"Seems to be breaking AMP","user":{"login":"jiiins","id":5290927,"node_id":"MDQ6VXNlcjUyOTA5Mjc=","avatar_url":"https://avatars3.githubusercontent.com/u/5290927?v=4","gravatar_id":"","url":"https://api.github.com/users/jiiins","html_url":"https://github.com/jiiins","followers_url":"https://api.github.com/users/jiiins/followers","following_url":"https://api.github.com/users/jiiins/following{/other_user}","gists_url":"https://api.github.com/users/jiiins/gists{/gist_id}","starred_url":"https://api.github.com/users/jiiins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiiins/subscriptions","organizations_url":"https://api.github.com/users/jiiins/orgs","repos_url":"https://api.github.com/users/jiiins/repos","events_url":"https://api.github.com/users/jiiins/events{/privacy}","received_events_url":"https://api.github.com/users/jiiins/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-03-21T17:08:57Z","updated_at":"2018-06-08T10:27:22Z","closed_at":"2018-06-08T10:27:22Z","author_association":"NONE","body":"When either Code Optimization or Delivery Optimization is active, AMP pages stop working.\r\n\r\nAs a workaround I tried adding `if (is_amp_endpoint()) { return;}` at the beginning of javascript-optimization.php but it results in a 500 error.\r\n\r\nSo I had to disable it completely. Is there any other way?\r\n\r\nPS: the same happens with the CSS plugin."},"comment":{"url":"https://api.github.com/repos/o10n-x/wordpress-javascript-optimization/issues/comments/395720055","html_url":"https://github.com/o10n-x/wordpress-javascript-optimization/issues/2#issuecomment-395720055","issue_url":"https://api.github.com/repos/o10n-x/wordpress-javascript-optimization/issues/2","id":395720055,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTcyMDA1NQ==","user":{"login":"optimalisatie","id":8843669,"node_id":"MDQ6VXNlcjg4NDM2Njk=","avatar_url":"https://avatars3.githubusercontent.com/u/8843669?v=4","gravatar_id":"","url":"https://api.github.com/users/optimalisatie","html_url":"https://github.com/optimalisatie","followers_url":"https://api.github.com/users/optimalisatie/followers","following_url":"https://api.github.com/users/optimalisatie/following{/other_user}","gists_url":"https://api.github.com/users/optimalisatie/gists{/gist_id}","starred_url":"https://api.github.com/users/optimalisatie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/optimalisatie/subscriptions","organizations_url":"https://api.github.com/users/optimalisatie/orgs","repos_url":"https://api.github.com/users/optimalisatie/repos","events_url":"https://api.github.com/users/optimalisatie/events{/privacy}","received_events_url":"https://api.github.com/users/optimalisatie/received_events","type":"User","site_admin":false},"created_at":"2018-06-08T10:27:22Z","updated_at":"2018-06-08T10:27:22Z","author_association":"MEMBER","body":"Hi jiiins, \r\n\r\nThe plugin is at version `0.0.68` and was recently updated to be compatible with AMP. Please see the following topic:\r\n\r\nhttps://github.com/o10n-x/wordpress-javascript-optimization/issues/9"}}
{"actor":{"display_login":"optimalisatie"}}