{"action":"opened","number":401,"pull_request":{"url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/pulls/401","id":80852025,"html_url":"https://github.com/Automattic/facebook-instant-articles-wp/pull/401","diff_url":"https://github.com/Automattic/facebook-instant-articles-wp/pull/401.diff","patch_url":"https://github.com/Automattic/facebook-instant-articles-wp/pull/401.patch","issue_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/issues/401","number":401,"state":"open","locked":false,"title":"Only load compat layers when we're rendering a feed","user":{"login":"philipjohn","id":136342,"avatar_url":"https://avatars.githubusercontent.com/u/136342?v=3","gravatar_id":"","url":"https://api.github.com/users/philipjohn","html_url":"https://github.com/philipjohn","followers_url":"https://api.github.com/users/philipjohn/followers","following_url":"https://api.github.com/users/philipjohn/following{/other_user}","gists_url":"https://api.github.com/users/philipjohn/gists{/gist_id}","starred_url":"https://api.github.com/users/philipjohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philipjohn/subscriptions","organizations_url":"https://api.github.com/users/philipjohn/orgs","repos_url":"https://api.github.com/users/philipjohn/repos","events_url":"https://api.github.com/users/philipjohn/events{/privacy}","received_events_url":"https://api.github.com/users/philipjohn/received_events","type":"User","site_admin":false},"body":"The plugin currently does not load compat layers conditionally.\r\n\r\nOne result is that embeds (e.g. for Facebook) are transformed into FBIA markup for normal front-end posts. This means embeds don't render because they are not recognisable HTML.\r\n\r\nThis PR moves the loading of compat layers to the feed initiation so that we only load the compatibility code when we are definitely rendering the feed.","created_at":"2016-08-10T19:23:06Z","updated_at":"2016-08-10T19:23:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"philipjohn","id":136342,"avatar_url":"https://avatars.githubusercontent.com/u/136342?v=3","gravatar_id":"","url":"https://api.github.com/users/philipjohn","html_url":"https://github.com/philipjohn","followers_url":"https://api.github.com/users/philipjohn/followers","following_url":"https://api.github.com/users/philipjohn/following{/other_user}","gists_url":"https://api.github.com/users/philipjohn/gists{/gist_id}","starred_url":"https://api.github.com/users/philipjohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philipjohn/subscriptions","organizations_url":"https://api.github.com/users/philipjohn/orgs","repos_url":"https://api.github.com/users/philipjohn/repos","events_url":"https://api.github.com/users/philipjohn/events{/privacy}","received_events_url":"https://api.github.com/users/philipjohn/received_events","type":"User","site_admin":false},"assignees":[{"login":"philipjohn","id":136342,"avatar_url":"https://avatars.githubusercontent.com/u/136342?v=3","gravatar_id":"","url":"https://api.github.com/users/philipjohn","html_url":"https://github.com/philipjohn","followers_url":"https://api.github.com/users/philipjohn/followers","following_url":"https://api.github.com/users/philipjohn/following{/other_user}","gists_url":"https://api.github.com/users/philipjohn/gists{/gist_id}","starred_url":"https://api.github.com/users/philipjohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philipjohn/subscriptions","organizations_url":"https://api.github.com/users/philipjohn/orgs","repos_url":"https://api.github.com/users/philipjohn/repos","events_url":"https://api.github.com/users/philipjohn/events{/privacy}","received_events_url":"https://api.github.com/users/philipjohn/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/milestones/4","html_url":"https://github.com/Automattic/facebook-instant-articles-wp/milestones/3.1","labels_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/milestones/4/labels","id":1880590,"number":4,"title":"3.1","description":"Code freeze on August 13th for testing & bugfixes","creator":{"login":"philipjohn","id":136342,"avatar_url":"https://avatars.githubusercontent.com/u/136342?v=3","gravatar_id":"","url":"https://api.github.com/users/philipjohn","html_url":"https://github.com/philipjohn","followers_url":"https://api.github.com/users/philipjohn/followers","following_url":"https://api.github.com/users/philipjohn/following{/other_user}","gists_url":"https://api.github.com/users/philipjohn/gists{/gist_id}","starred_url":"https://api.github.com/users/philipjohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philipjohn/subscriptions","organizations_url":"https://api.github.com/users/philipjohn/orgs","repos_url":"https://api.github.com/users/philipjohn/repos","events_url":"https://api.github.com/users/philipjohn/events{/privacy}","received_events_url":"https://api.github.com/users/philipjohn/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":17,"state":"open","created_at":"2016-07-13T10:37:11Z","updated_at":"2016-08-10T19:23:06Z","due_on":"2016-08-16T23:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/pulls/401/commits","review_comments_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/pulls/401/comments","review_comment_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/issues/401/comments","statuses_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/statuses/b08440c1dd63493612a48903c61f61969a8edcf0","head":{"label":"Automattic:fix/compat-loading","ref":"fix/compat-loading","sha":"b08440c1dd63493612a48903c61f61969a8edcf0","user":{"login":"Automattic","id":887802,"avatar_url":"https://avatars.githubusercontent.com/u/887802?v=3","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"repo":{"id":46434614,"name":"facebook-instant-articles-wp","full_name":"Automattic/facebook-instant-articles-wp","owner":{"login":"Automattic","id":887802,"avatar_url":"https://avatars.githubusercontent.com/u/887802?v=3","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Automattic/facebook-instant-articles-wp","description":"Enable Facebook Instant Articles for Facebook on your WordPress site.","fork":false,"url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp","forks_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/forks","keys_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/teams","hooks_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/hooks","issue_events_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/issues/events{/number}","events_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/events","assignees_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/assignees{/user}","branches_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/branches{/branch}","tags_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/tags","blobs_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/git/refs{/sha}","trees_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/statuses/{sha}","languages_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/languages","stargazers_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/stargazers","contributors_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/contributors","subscribers_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/subscribers","subscription_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/subscription","commits_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/commits{/sha}","git_commits_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/git/commits{/sha}","comments_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/comments{/number}","issue_comment_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/issues/comments{/number}","contents_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/contents/{+path}","compare_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/merges","archive_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/downloads","issues_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/issues{/number}","pulls_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/pulls{/number}","milestones_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/milestones{/number}","notifications_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/labels{/name}","releases_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/releases{/id}","deployments_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/deployments","created_at":"2015-11-18T17:13:12Z","updated_at":"2016-08-10T17:18:42Z","pushed_at":"2016-08-10T19:20:19Z","git_url":"git://github.com/Automattic/facebook-instant-articles-wp.git","ssh_url":"git@github.com:Automattic/facebook-instant-articles-wp.git","clone_url":"https://github.com/Automattic/facebook-instant-articles-wp.git","svn_url":"https://github.com/Automattic/facebook-instant-articles-wp","homepage":"","size":1088,"stargazers_count":452,"watchers_count":452,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":101,"mirror_url":null,"open_issues_count":98,"forks":101,"open_issues":98,"watchers":452,"default_branch":"master"}},"base":{"label":"Automattic:master","ref":"master","sha":"2151965425349d6158ca5a5590f8315f5df1dc7c","user":{"login":"Automattic","id":887802,"avatar_url":"https://avatars.githubusercontent.com/u/887802?v=3","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"repo":{"id":46434614,"name":"facebook-instant-articles-wp","full_name":"Automattic/facebook-instant-articles-wp","owner":{"login":"Automattic","id":887802,"avatar_url":"https://avatars.githubusercontent.com/u/887802?v=3","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Automattic/facebook-instant-articles-wp","description":"Enable Facebook Instant Articles for Facebook on your WordPress site.","fork":false,"url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp","forks_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/forks","keys_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/teams","hooks_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/hooks","issue_events_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/issues/events{/number}","events_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/events","assignees_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/assignees{/user}","branches_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/branches{/branch}","tags_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/tags","blobs_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/git/refs{/sha}","trees_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/statuses/{sha}","languages_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/languages","stargazers_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/stargazers","contributors_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/contributors","subscribers_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/subscribers","subscription_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/subscription","commits_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/commits{/sha}","git_commits_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/git/commits{/sha}","comments_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/comments{/number}","issue_comment_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/issues/comments{/number}","contents_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/contents/{+path}","compare_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/merges","archive_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/downloads","issues_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/issues{/number}","pulls_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/pulls{/number}","milestones_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/milestones{/number}","notifications_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/labels{/name}","releases_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/releases{/id}","deployments_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/deployments","created_at":"2015-11-18T17:13:12Z","updated_at":"2016-08-10T17:18:42Z","pushed_at":"2016-08-10T19:20:19Z","git_url":"git://github.com/Automattic/facebook-instant-articles-wp.git","ssh_url":"git@github.com:Automattic/facebook-instant-articles-wp.git","clone_url":"https://github.com/Automattic/facebook-instant-articles-wp.git","svn_url":"https://github.com/Automattic/facebook-instant-articles-wp","homepage":"","size":1088,"stargazers_count":452,"watchers_count":452,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":101,"mirror_url":null,"open_issues_count":98,"forks":101,"open_issues":98,"watchers":452,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/pulls/401"},"html":{"href":"https://github.com/Automattic/facebook-instant-articles-wp/pull/401"},"issue":{"href":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/issues/401"},"comments":{"href":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/issues/401/comments"},"review_comments":{"href":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/pulls/401/comments"},"review_comment":{"href":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/pulls/401/commits"},"statuses":{"href":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/statuses/b08440c1dd63493612a48903c61f61969a8edcf0"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":10,"changed_files":1}}
{"actor":{"display_login":"philipjohn"}}