{"action":"opened","number":568,"pull_request":{"url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/pulls/568","id":99168179,"html_url":"https://github.com/Automattic/facebook-instant-articles-wp/pull/568","diff_url":"https://github.com/Automattic/facebook-instant-articles-wp/pull/568.diff","patch_url":"https://github.com/Automattic/facebook-instant-articles-wp/pull/568.patch","issue_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/issues/568","number":568,"state":"open","locked":false,"title":"Add `is_instant_article` conditional","user":{"login":"goldenapples","id":665992,"avatar_url":"https://avatars.githubusercontent.com/u/665992?v=3","gravatar_id":"","url":"https://api.github.com/users/goldenapples","html_url":"https://github.com/goldenapples","followers_url":"https://api.github.com/users/goldenapples/followers","following_url":"https://api.github.com/users/goldenapples/following{/other_user}","gists_url":"https://api.github.com/users/goldenapples/gists{/gist_id}","starred_url":"https://api.github.com/users/goldenapples/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goldenapples/subscriptions","organizations_url":"https://api.github.com/users/goldenapples/orgs","repos_url":"https://api.github.com/users/goldenapples/repos","events_url":"https://api.github.com/users/goldenapples/events{/privacy}","received_events_url":"https://api.github.com/users/goldenapples/received_events","type":"User","site_admin":false},"body":"Adds a new function in the global namespace to check if the current view\nbeing processed is for an instant article. Handles both the RSS feed and\ncontent which is being processed for the Instant_Articles_Publisher\nclass. This conditional can be checked in any filters on 'the_content',\n'the_title' or elsewhere that need to treat Instant Articles content\nseparately from web content.\n\nSee #426","created_at":"2016-12-22T20:52:53Z","updated_at":"2016-12-22T20:52:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/pulls/568/commits","review_comments_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/pulls/568/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/568/comments","statuses_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/statuses/c76390a7b9ebfff165e216fb55b3ed1ea85333a1","head":{"label":"goldenapples:426-is-instant-article-conditional","ref":"426-is-instant-article-conditional","sha":"c76390a7b9ebfff165e216fb55b3ed1ea85333a1","user":{"login":"goldenapples","id":665992,"avatar_url":"https://avatars.githubusercontent.com/u/665992?v=3","gravatar_id":"","url":"https://api.github.com/users/goldenapples","html_url":"https://github.com/goldenapples","followers_url":"https://api.github.com/users/goldenapples/followers","following_url":"https://api.github.com/users/goldenapples/following{/other_user}","gists_url":"https://api.github.com/users/goldenapples/gists{/gist_id}","starred_url":"https://api.github.com/users/goldenapples/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goldenapples/subscriptions","organizations_url":"https://api.github.com/users/goldenapples/orgs","repos_url":"https://api.github.com/users/goldenapples/repos","events_url":"https://api.github.com/users/goldenapples/events{/privacy}","received_events_url":"https://api.github.com/users/goldenapples/received_events","type":"User","site_admin":false},"repo":{"id":67745629,"name":"facebook-instant-articles-wp","full_name":"goldenapples/facebook-instant-articles-wp","owner":{"login":"goldenapples","id":665992,"avatar_url":"https://avatars.githubusercontent.com/u/665992?v=3","gravatar_id":"","url":"https://api.github.com/users/goldenapples","html_url":"https://github.com/goldenapples","followers_url":"https://api.github.com/users/goldenapples/followers","following_url":"https://api.github.com/users/goldenapples/following{/other_user}","gists_url":"https://api.github.com/users/goldenapples/gists{/gist_id}","starred_url":"https://api.github.com/users/goldenapples/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goldenapples/subscriptions","organizations_url":"https://api.github.com/users/goldenapples/orgs","repos_url":"https://api.github.com/users/goldenapples/repos","events_url":"https://api.github.com/users/goldenapples/events{/privacy}","received_events_url":"https://api.github.com/users/goldenapples/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/goldenapples/facebook-instant-articles-wp","description":"Enable Facebook Instant Articles for Facebook on your WordPress site.","fork":true,"url":"https://api.github.com/repos/goldenapples/facebook-instant-articles-wp","forks_url":"https://api.github.com/repos/goldenapples/facebook-instant-articles-wp/forks","keys_url":"https://api.github.com/repos/goldenapples/facebook-instant-articles-wp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/goldenapples/facebook-instant-articles-wp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/goldenapples/facebook-instant-articles-wp/teams","hooks_url":"https://api.github.com/repos/goldenapples/facebook-instant-articles-wp/hooks","issue_events_url":"https://api.github.com/repos/goldenapples/facebook-instant-articles-wp/issues/events{/number}","events_url":"https://api.github.com/repos/goldenapples/facebook-instant-articles-wp/events","assignees_url":"https://api.github.com/repos/goldenapples/facebook-instant-articles-wp/assignees{/user}","branches_url":"https://api.github.com/repos/goldenapples/facebook-instant-articles-wp/branches{/branch}","tags_url":"https://api.github.com/repos/goldenapples/facebook-instant-articles-wp/tags","blobs_url":"https://api.github.com/repos/goldenapples/facebook-instant-articles-wp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/goldenapples/facebook-instant-articles-wp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/goldenapples/facebook-instant-articles-wp/git/refs{/sha}","trees_url":"https://api.github.com/repos/goldenapples/facebook-instant-articles-wp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/goldenapples/facebook-instant-articles-wp/statuses/{sha}","languages_url":"https://api.github.com/repos/goldenapples/facebook-instant-articles-wp/languages","stargazers_url":"https://api.github.com/repos/goldenapples/facebook-instant-articles-wp/stargazers","contributors_url":"https://api.github.com/repos/goldenapples/facebook-instant-articles-wp/contributors","subscribers_url":"https://api.github.com/repos/goldenapples/facebook-instant-articles-wp/subscribers","subscription_url":"https://api.github.com/repos/goldenapples/facebook-instant-articles-wp/subscription","commits_url":"https://api.github.com/repos/goldenapples/facebook-instant-articles-wp/commits{/sha}","git_commits_url":"https://api.github.com/repos/goldenapples/facebook-instant-articles-wp/git/commits{/sha}","comments_url":"https://api.github.com/repos/goldenapples/facebook-instant-articles-wp/comments{/number}","issue_comment_url":"https://api.github.com/repos/goldenapples/facebook-instant-articles-wp/issues/comments{/number}","contents_url":"https://api.github.com/repos/goldenapples/facebook-instant-articles-wp/contents/{+path}","compare_url":"https://api.github.com/repos/goldenapples/facebook-instant-articles-wp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/goldenapples/facebook-instant-articles-wp/merges","archive_url":"https://api.github.com/repos/goldenapples/facebook-instant-articles-wp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/goldenapples/facebook-instant-articles-wp/downloads","issues_url":"https://api.github.com/repos/goldenapples/facebook-instant-articles-wp/issues{/number}","pulls_url":"https://api.github.com/repos/goldenapples/facebook-instant-articles-wp/pulls{/number}","milestones_url":"https://api.github.com/repos/goldenapples/facebook-instant-articles-wp/milestones{/number}","notifications_url":"https://api.github.com/repos/goldenapples/facebook-instant-articles-wp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/goldenapples/facebook-instant-articles-wp/labels{/name}","releases_url":"https://api.github.com/repos/goldenapples/facebook-instant-articles-wp/releases{/id}","deployments_url":"https://api.github.com/repos/goldenapples/facebook-instant-articles-wp/deployments","created_at":"2016-09-08T22:45:18Z","updated_at":"2016-09-08T22:45:19Z","pushed_at":"2016-12-22T20:52:23Z","git_url":"git://github.com/goldenapples/facebook-instant-articles-wp.git","ssh_url":"git@github.com:goldenapples/facebook-instant-articles-wp.git","clone_url":"https://github.com/goldenapples/facebook-instant-articles-wp.git","svn_url":"https://github.com/goldenapples/facebook-instant-articles-wp","homepage":"","size":966,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Automattic:master","ref":"master","sha":"1dbffd1e648bd5e24321c708887e074cd39d08de","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-12-12T14:23:42Z","pushed_at":"2016-12-16T05:09:43Z","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":1032,"stargazers_count":486,"watchers_count":486,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":125,"mirror_url":null,"open_issues_count":147,"forks":125,"open_issues":147,"watchers":486,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/pulls/568"},"html":{"href":"https://github.com/Automattic/facebook-instant-articles-wp/pull/568"},"issue":{"href":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/issues/568"},"comments":{"href":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/issues/568/comments"},"review_comments":{"href":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/pulls/568/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/568/commits"},"statuses":{"href":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/statuses/c76390a7b9ebfff165e216fb55b3ed1ea85333a1"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":21,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"goldenapples"}}