{"action":"created","issue":{"url":"https://api.github.com/repos/WP-API/WP-API/issues/542","labels_url":"https://api.github.com/repos/WP-API/WP-API/issues/542/labels{/name}","comments_url":"https://api.github.com/repos/WP-API/WP-API/issues/542/comments","events_url":"https://api.github.com/repos/WP-API/WP-API/issues/542/events","html_url":"https://github.com/WP-API/WP-API/issues/542","id":47097176,"number":542,"title":"CORS missing Access-Control-Expose-Headers for pagination","user":{"login":"matogertel","id":636906,"avatar_url":"https://avatars.githubusercontent.com/u/636906?v=3","gravatar_id":"","url":"https://api.github.com/users/matogertel","html_url":"https://github.com/matogertel","followers_url":"https://api.github.com/users/matogertel/followers","following_url":"https://api.github.com/users/matogertel/following{/other_user}","gists_url":"https://api.github.com/users/matogertel/gists{/gist_id}","starred_url":"https://api.github.com/users/matogertel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matogertel/subscriptions","organizations_url":"https://api.github.com/users/matogertel/orgs","repos_url":"https://api.github.com/users/matogertel/repos","events_url":"https://api.github.com/users/matogertel/events{/privacy}","received_events_url":"https://api.github.com/users/matogertel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/WP-API/WP-API/labels/Bug","name":"Bug","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/WP-API/WP-API/milestones/10","html_url":"https://github.com/WP-API/WP-API/milestones/2.0","labels_url":"https://api.github.com/repos/WP-API/WP-API/milestones/10/labels","id":844496,"number":10,"title":"2.0","description":"","creator":{"login":"danielbachhuber","id":36432,"avatar_url":"https://avatars.githubusercontent.com/u/36432?v=3","gravatar_id":"","url":"https://api.github.com/users/danielbachhuber","html_url":"https://github.com/danielbachhuber","followers_url":"https://api.github.com/users/danielbachhuber/followers","following_url":"https://api.github.com/users/danielbachhuber/following{/other_user}","gists_url":"https://api.github.com/users/danielbachhuber/gists{/gist_id}","starred_url":"https://api.github.com/users/danielbachhuber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielbachhuber/subscriptions","organizations_url":"https://api.github.com/users/danielbachhuber/orgs","repos_url":"https://api.github.com/users/danielbachhuber/repos","events_url":"https://api.github.com/users/danielbachhuber/events{/privacy}","received_events_url":"https://api.github.com/users/danielbachhuber/received_events","type":"User","site_admin":false},"open_issues":61,"closed_issues":228,"state":"open","created_at":"2014-10-29T00:12:18Z","updated_at":"2015-12-14T23:49:36Z","due_on":"2016-01-27T08:00:00Z","closed_at":null},"comments":8,"created_at":"2014-10-29T00:06:15Z","updated_at":"2015-12-14T23:49:36Z","closed_at":"2015-12-14T23:49:36Z","body":"Need to add this in the CORS section, otherwise pagination doesn't work:\r\n`header( 'Access-Control-Expose-Headers: X-WP-Total, X-WP-TotalPages');`\r\n"},"comment":{"url":"https://api.github.com/repos/WP-API/WP-API/issues/comments/164597157","html_url":"https://github.com/WP-API/WP-API/issues/542#issuecomment-164597157","issue_url":"https://api.github.com/repos/WP-API/WP-API/issues/542","id":164597157,"user":{"login":"danielbachhuber","id":36432,"avatar_url":"https://avatars.githubusercontent.com/u/36432?v=3","gravatar_id":"","url":"https://api.github.com/users/danielbachhuber","html_url":"https://github.com/danielbachhuber","followers_url":"https://api.github.com/users/danielbachhuber/followers","following_url":"https://api.github.com/users/danielbachhuber/following{/other_user}","gists_url":"https://api.github.com/users/danielbachhuber/gists{/gist_id}","starred_url":"https://api.github.com/users/danielbachhuber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielbachhuber/subscriptions","organizations_url":"https://api.github.com/users/danielbachhuber/orgs","repos_url":"https://api.github.com/users/danielbachhuber/repos","events_url":"https://api.github.com/users/danielbachhuber/events{/privacy}","received_events_url":"https://api.github.com/users/danielbachhuber/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T23:49:36Z","updated_at":"2015-12-14T23:49:36Z","body":"These headers are included in core infrastructure — no longer a bug."}}