{"action":"created","comment":{"url":"https://api.github.com/repos/bcampeau/code-review/pulls/comments/81642445","pull_request_review_id":2607831,"id":81642445,"diff_hunk":"@@ -0,0 +1,26 @@\n+<?php\n+/**\n+ * The base customizations for this theme.\n+ *\n+ * Holds a few custom functions intended solely for the LoopConf code review demo.\n+ *\n+ * @package WordPress\n+ */\n+\n+/**\n+ * Returns all posts that are not tagged with the given color.\n+ *\n+ * @param string $color The color for the query.\n+ * @return array\n+ */\n+function standards_example_function( $color ) {\n+\treturn get_posts( array(\n+\t\t'meta_query' => array(","path":"functions.php","position":18,"original_position":18,"commit_id":"9c75bfbddfa367b02514b4b04bf0a8cebb433010","original_commit_id":"9c75bfbddfa367b02514b4b04bf0a8cebb433010","user":{"login":"bcampeau2","id":22603159,"avatar_url":"https://avatars.githubusercontent.com/u/22603159?v=3","gravatar_id":"","url":"https://api.github.com/users/bcampeau2","html_url":"https://github.com/bcampeau2","followers_url":"https://api.github.com/users/bcampeau2/followers","following_url":"https://api.github.com/users/bcampeau2/following{/other_user}","gists_url":"https://api.github.com/users/bcampeau2/gists{/gist_id}","starred_url":"https://api.github.com/users/bcampeau2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcampeau2/subscriptions","organizations_url":"https://api.github.com/users/bcampeau2/orgs","repos_url":"https://api.github.com/users/bcampeau2/repos","events_url":"https://api.github.com/users/bcampeau2/events{/privacy}","received_events_url":"https://api.github.com/users/bcampeau2/received_events","type":"User","site_admin":false},"body":"Meta queries can be expensive. Consider caching the results of this function.","created_at":"2016-10-03T21:19:42Z","updated_at":"2016-10-03T21:22:22Z","html_url":"https://github.com/bcampeau/code-review/pull/6#discussion_r81642445","pull_request_url":"https://api.github.com/repos/bcampeau/code-review/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/bcampeau/code-review/pulls/comments/81642445"},"html":{"href":"https://github.com/bcampeau/code-review/pull/6#discussion_r81642445"},"pull_request":{"href":"https://api.github.com/repos/bcampeau/code-review/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/bcampeau/code-review/pulls/6","id":87789360,"html_url":"https://github.com/bcampeau/code-review/pull/6","diff_url":"https://github.com/bcampeau/code-review/pull/6.diff","patch_url":"https://github.com/bcampeau/code-review/pull/6.patch","issue_url":"https://api.github.com/repos/bcampeau/code-review/issues/6","number":6,"state":"open","locked":false,"title":"Testing PHPCS standards","user":{"login":"bcampeau","id":966849,"avatar_url":"https://avatars.githubusercontent.com/u/966849?v=3","gravatar_id":"","url":"https://api.github.com/users/bcampeau","html_url":"https://github.com/bcampeau","followers_url":"https://api.github.com/users/bcampeau/followers","following_url":"https://api.github.com/users/bcampeau/following{/other_user}","gists_url":"https://api.github.com/users/bcampeau/gists{/gist_id}","starred_url":"https://api.github.com/users/bcampeau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcampeau/subscriptions","organizations_url":"https://api.github.com/users/bcampeau/orgs","repos_url":"https://api.github.com/users/bcampeau/repos","events_url":"https://api.github.com/users/bcampeau/events{/privacy}","received_events_url":"https://api.github.com/users/bcampeau/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-03T20:51:23Z","updated_at":"2016-10-03T21:22:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"38397428142cdd33150b6dce184f1a1ca68110dd","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/bcampeau/code-review/pulls/6/commits","review_comments_url":"https://api.github.com/repos/bcampeau/code-review/pulls/6/comments","review_comment_url":"https://api.github.com/repos/bcampeau/code-review/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bcampeau/code-review/issues/6/comments","statuses_url":"https://api.github.com/repos/bcampeau/code-review/statuses/9c75bfbddfa367b02514b4b04bf0a8cebb433010","head":{"label":"bcampeau:standards-example","ref":"standards-example","sha":"9c75bfbddfa367b02514b4b04bf0a8cebb433010","user":{"login":"bcampeau","id":966849,"avatar_url":"https://avatars.githubusercontent.com/u/966849?v=3","gravatar_id":"","url":"https://api.github.com/users/bcampeau","html_url":"https://github.com/bcampeau","followers_url":"https://api.github.com/users/bcampeau/followers","following_url":"https://api.github.com/users/bcampeau/following{/other_user}","gists_url":"https://api.github.com/users/bcampeau/gists{/gist_id}","starred_url":"https://api.github.com/users/bcampeau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcampeau/subscriptions","organizations_url":"https://api.github.com/users/bcampeau/orgs","repos_url":"https://api.github.com/users/bcampeau/repos","events_url":"https://api.github.com/users/bcampeau/events{/privacy}","received_events_url":"https://api.github.com/users/bcampeau/received_events","type":"User","site_admin":false},"repo":{"id":69705655,"name":"code-review","full_name":"bcampeau/code-review","owner":{"login":"bcampeau","id":966849,"avatar_url":"https://avatars.githubusercontent.com/u/966849?v=3","gravatar_id":"","url":"https://api.github.com/users/bcampeau","html_url":"https://github.com/bcampeau","followers_url":"https://api.github.com/users/bcampeau/followers","following_url":"https://api.github.com/users/bcampeau/following{/other_user}","gists_url":"https://api.github.com/users/bcampeau/gists{/gist_id}","starred_url":"https://api.github.com/users/bcampeau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcampeau/subscriptions","organizations_url":"https://api.github.com/users/bcampeau/orgs","repos_url":"https://api.github.com/users/bcampeau/repos","events_url":"https://api.github.com/users/bcampeau/events{/privacy}","received_events_url":"https://api.github.com/users/bcampeau/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bcampeau/code-review","description":null,"fork":false,"url":"https://api.github.com/repos/bcampeau/code-review","forks_url":"https://api.github.com/repos/bcampeau/code-review/forks","keys_url":"https://api.github.com/repos/bcampeau/code-review/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bcampeau/code-review/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bcampeau/code-review/teams","hooks_url":"https://api.github.com/repos/bcampeau/code-review/hooks","issue_events_url":"https://api.github.com/repos/bcampeau/code-review/issues/events{/number}","events_url":"https://api.github.com/repos/bcampeau/code-review/events","assignees_url":"https://api.github.com/repos/bcampeau/code-review/assignees{/user}","branches_url":"https://api.github.com/repos/bcampeau/code-review/branches{/branch}","tags_url":"https://api.github.com/repos/bcampeau/code-review/tags","blobs_url":"https://api.github.com/repos/bcampeau/code-review/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bcampeau/code-review/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bcampeau/code-review/git/refs{/sha}","trees_url":"https://api.github.com/repos/bcampeau/code-review/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bcampeau/code-review/statuses/{sha}","languages_url":"https://api.github.com/repos/bcampeau/code-review/languages","stargazers_url":"https://api.github.com/repos/bcampeau/code-review/stargazers","contributors_url":"https://api.github.com/repos/bcampeau/code-review/contributors","subscribers_url":"https://api.github.com/repos/bcampeau/code-review/subscribers","subscription_url":"https://api.github.com/repos/bcampeau/code-review/subscription","commits_url":"https://api.github.com/repos/bcampeau/code-review/commits{/sha}","git_commits_url":"https://api.github.com/repos/bcampeau/code-review/git/commits{/sha}","comments_url":"https://api.github.com/repos/bcampeau/code-review/comments{/number}","issue_comment_url":"https://api.github.com/repos/bcampeau/code-review/issues/comments{/number}","contents_url":"https://api.github.com/repos/bcampeau/code-review/contents/{+path}","compare_url":"https://api.github.com/repos/bcampeau/code-review/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bcampeau/code-review/merges","archive_url":"https://api.github.com/repos/bcampeau/code-review/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bcampeau/code-review/downloads","issues_url":"https://api.github.com/repos/bcampeau/code-review/issues{/number}","pulls_url":"https://api.github.com/repos/bcampeau/code-review/pulls{/number}","milestones_url":"https://api.github.com/repos/bcampeau/code-review/milestones{/number}","notifications_url":"https://api.github.com/repos/bcampeau/code-review/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bcampeau/code-review/labels{/name}","releases_url":"https://api.github.com/repos/bcampeau/code-review/releases{/id}","deployments_url":"https://api.github.com/repos/bcampeau/code-review/deployments","created_at":"2016-09-30T22:13:56Z","updated_at":"2016-10-03T18:52:28Z","pushed_at":"2016-10-03T20:55:37Z","git_url":"git://github.com/bcampeau/code-review.git","ssh_url":"git@github.com:bcampeau/code-review.git","clone_url":"https://github.com/bcampeau/code-review.git","svn_url":"https://github.com/bcampeau/code-review","homepage":null,"size":9,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"bcampeau:master","ref":"master","sha":"95f219f048f06ce1e32c4e75cfc2eeb813843381","user":{"login":"bcampeau","id":966849,"avatar_url":"https://avatars.githubusercontent.com/u/966849?v=3","gravatar_id":"","url":"https://api.github.com/users/bcampeau","html_url":"https://github.com/bcampeau","followers_url":"https://api.github.com/users/bcampeau/followers","following_url":"https://api.github.com/users/bcampeau/following{/other_user}","gists_url":"https://api.github.com/users/bcampeau/gists{/gist_id}","starred_url":"https://api.github.com/users/bcampeau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcampeau/subscriptions","organizations_url":"https://api.github.com/users/bcampeau/orgs","repos_url":"https://api.github.com/users/bcampeau/repos","events_url":"https://api.github.com/users/bcampeau/events{/privacy}","received_events_url":"https://api.github.com/users/bcampeau/received_events","type":"User","site_admin":false},"repo":{"id":69705655,"name":"code-review","full_name":"bcampeau/code-review","owner":{"login":"bcampeau","id":966849,"avatar_url":"https://avatars.githubusercontent.com/u/966849?v=3","gravatar_id":"","url":"https://api.github.com/users/bcampeau","html_url":"https://github.com/bcampeau","followers_url":"https://api.github.com/users/bcampeau/followers","following_url":"https://api.github.com/users/bcampeau/following{/other_user}","gists_url":"https://api.github.com/users/bcampeau/gists{/gist_id}","starred_url":"https://api.github.com/users/bcampeau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcampeau/subscriptions","organizations_url":"https://api.github.com/users/bcampeau/orgs","repos_url":"https://api.github.com/users/bcampeau/repos","events_url":"https://api.github.com/users/bcampeau/events{/privacy}","received_events_url":"https://api.github.com/users/bcampeau/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bcampeau/code-review","description":null,"fork":false,"url":"https://api.github.com/repos/bcampeau/code-review","forks_url":"https://api.github.com/repos/bcampeau/code-review/forks","keys_url":"https://api.github.com/repos/bcampeau/code-review/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bcampeau/code-review/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bcampeau/code-review/teams","hooks_url":"https://api.github.com/repos/bcampeau/code-review/hooks","issue_events_url":"https://api.github.com/repos/bcampeau/code-review/issues/events{/number}","events_url":"https://api.github.com/repos/bcampeau/code-review/events","assignees_url":"https://api.github.com/repos/bcampeau/code-review/assignees{/user}","branches_url":"https://api.github.com/repos/bcampeau/code-review/branches{/branch}","tags_url":"https://api.github.com/repos/bcampeau/code-review/tags","blobs_url":"https://api.github.com/repos/bcampeau/code-review/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bcampeau/code-review/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bcampeau/code-review/git/refs{/sha}","trees_url":"https://api.github.com/repos/bcampeau/code-review/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bcampeau/code-review/statuses/{sha}","languages_url":"https://api.github.com/repos/bcampeau/code-review/languages","stargazers_url":"https://api.github.com/repos/bcampeau/code-review/stargazers","contributors_url":"https://api.github.com/repos/bcampeau/code-review/contributors","subscribers_url":"https://api.github.com/repos/bcampeau/code-review/subscribers","subscription_url":"https://api.github.com/repos/bcampeau/code-review/subscription","commits_url":"https://api.github.com/repos/bcampeau/code-review/commits{/sha}","git_commits_url":"https://api.github.com/repos/bcampeau/code-review/git/commits{/sha}","comments_url":"https://api.github.com/repos/bcampeau/code-review/comments{/number}","issue_comment_url":"https://api.github.com/repos/bcampeau/code-review/issues/comments{/number}","contents_url":"https://api.github.com/repos/bcampeau/code-review/contents/{+path}","compare_url":"https://api.github.com/repos/bcampeau/code-review/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bcampeau/code-review/merges","archive_url":"https://api.github.com/repos/bcampeau/code-review/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bcampeau/code-review/downloads","issues_url":"https://api.github.com/repos/bcampeau/code-review/issues{/number}","pulls_url":"https://api.github.com/repos/bcampeau/code-review/pulls{/number}","milestones_url":"https://api.github.com/repos/bcampeau/code-review/milestones{/number}","notifications_url":"https://api.github.com/repos/bcampeau/code-review/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bcampeau/code-review/labels{/name}","releases_url":"https://api.github.com/repos/bcampeau/code-review/releases{/id}","deployments_url":"https://api.github.com/repos/bcampeau/code-review/deployments","created_at":"2016-09-30T22:13:56Z","updated_at":"2016-10-03T18:52:28Z","pushed_at":"2016-10-03T20:55:37Z","git_url":"git://github.com/bcampeau/code-review.git","ssh_url":"git@github.com:bcampeau/code-review.git","clone_url":"https://github.com/bcampeau/code-review.git","svn_url":"https://github.com/bcampeau/code-review","homepage":null,"size":9,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bcampeau/code-review/pulls/6"},"html":{"href":"https://github.com/bcampeau/code-review/pull/6"},"issue":{"href":"https://api.github.com/repos/bcampeau/code-review/issues/6"},"comments":{"href":"https://api.github.com/repos/bcampeau/code-review/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/bcampeau/code-review/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/bcampeau/code-review/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bcampeau/code-review/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/bcampeau/code-review/statuses/9c75bfbddfa367b02514b4b04bf0a8cebb433010"}}}}
{"actor":{"display_login":"bcampeau2"}}