{"action":"opened","number":43,"pull_request":{"url":"https://api.github.com/repos/vendidero/woocommerce-germanized/pulls/43","id":90947808,"html_url":"https://github.com/vendidero/woocommerce-germanized/pull/43","diff_url":"https://github.com/vendidero/woocommerce-germanized/pull/43.diff","patch_url":"https://github.com/vendidero/woocommerce-germanized/pull/43.patch","issue_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/issues/43","number":43,"state":"open","locked":false,"title":"Improve performance.","user":{"login":"tfrommen","id":6049306,"avatar_url":"https://avatars.githubusercontent.com/u/6049306?v=3","gravatar_id":"","url":"https://api.github.com/users/tfrommen","html_url":"https://github.com/tfrommen","followers_url":"https://api.github.com/users/tfrommen/followers","following_url":"https://api.github.com/users/tfrommen/following{/other_user}","gists_url":"https://api.github.com/users/tfrommen/gists{/gist_id}","starred_url":"https://api.github.com/users/tfrommen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tfrommen/subscriptions","organizations_url":"https://api.github.com/users/tfrommen/orgs","repos_url":"https://api.github.com/users/tfrommen/repos","events_url":"https://api.github.com/users/tfrommen/events{/privacy}","received_events_url":"https://api.github.com/users/tfrommen/received_events","type":"User","site_admin":false},"body":"This pull request replaces three usages of the **uncached** API function `wp_get_object_terms()` (triggered by calling `wp_get_post_terms()`) with the **cached** template function `get_the_terms()`.\r\n\r\nThis will speed up things quite a bit as you only ever perform a query a single time, and not multiple times.\r\n\r\nFurther reading:\r\n\r\n* [WordPress Codex - Function Reference: `wp_get_object_terms`](https://codex.wordpress.org/Function_Reference/wp_get_object_terms)\r\n* [Use `get_the_terms()` instead of `wp_get_object_terms()`](https://www.yukei.net/2016/04/use-get_the_terms-instead-of-wp_get_object_terms/)\r\n* many more...","created_at":"2016-10-26T07:11:28Z","updated_at":"2016-10-26T07:11:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/pulls/43/commits","review_comments_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/pulls/43/comments","review_comment_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/issues/43/comments","statuses_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/statuses/5f41935f585667e64b5b4a91478b6db4ba6410e2","head":{"label":"tfrommen:master","ref":"master","sha":"5f41935f585667e64b5b4a91478b6db4ba6410e2","user":{"login":"tfrommen","id":6049306,"avatar_url":"https://avatars.githubusercontent.com/u/6049306?v=3","gravatar_id":"","url":"https://api.github.com/users/tfrommen","html_url":"https://github.com/tfrommen","followers_url":"https://api.github.com/users/tfrommen/followers","following_url":"https://api.github.com/users/tfrommen/following{/other_user}","gists_url":"https://api.github.com/users/tfrommen/gists{/gist_id}","starred_url":"https://api.github.com/users/tfrommen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tfrommen/subscriptions","organizations_url":"https://api.github.com/users/tfrommen/orgs","repos_url":"https://api.github.com/users/tfrommen/repos","events_url":"https://api.github.com/users/tfrommen/events{/privacy}","received_events_url":"https://api.github.com/users/tfrommen/received_events","type":"User","site_admin":false},"repo":{"id":71975512,"name":"woocommerce-germanized","full_name":"tfrommen/woocommerce-germanized","owner":{"login":"tfrommen","id":6049306,"avatar_url":"https://avatars.githubusercontent.com/u/6049306?v=3","gravatar_id":"","url":"https://api.github.com/users/tfrommen","html_url":"https://github.com/tfrommen","followers_url":"https://api.github.com/users/tfrommen/followers","following_url":"https://api.github.com/users/tfrommen/following{/other_user}","gists_url":"https://api.github.com/users/tfrommen/gists{/gist_id}","starred_url":"https://api.github.com/users/tfrommen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tfrommen/subscriptions","organizations_url":"https://api.github.com/users/tfrommen/orgs","repos_url":"https://api.github.com/users/tfrommen/repos","events_url":"https://api.github.com/users/tfrommen/events{/privacy}","received_events_url":"https://api.github.com/users/tfrommen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tfrommen/woocommerce-germanized","description":"WooCommerce Germanized","fork":true,"url":"https://api.github.com/repos/tfrommen/woocommerce-germanized","forks_url":"https://api.github.com/repos/tfrommen/woocommerce-germanized/forks","keys_url":"https://api.github.com/repos/tfrommen/woocommerce-germanized/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tfrommen/woocommerce-germanized/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tfrommen/woocommerce-germanized/teams","hooks_url":"https://api.github.com/repos/tfrommen/woocommerce-germanized/hooks","issue_events_url":"https://api.github.com/repos/tfrommen/woocommerce-germanized/issues/events{/number}","events_url":"https://api.github.com/repos/tfrommen/woocommerce-germanized/events","assignees_url":"https://api.github.com/repos/tfrommen/woocommerce-germanized/assignees{/user}","branches_url":"https://api.github.com/repos/tfrommen/woocommerce-germanized/branches{/branch}","tags_url":"https://api.github.com/repos/tfrommen/woocommerce-germanized/tags","blobs_url":"https://api.github.com/repos/tfrommen/woocommerce-germanized/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tfrommen/woocommerce-germanized/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tfrommen/woocommerce-germanized/git/refs{/sha}","trees_url":"https://api.github.com/repos/tfrommen/woocommerce-germanized/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tfrommen/woocommerce-germanized/statuses/{sha}","languages_url":"https://api.github.com/repos/tfrommen/woocommerce-germanized/languages","stargazers_url":"https://api.github.com/repos/tfrommen/woocommerce-germanized/stargazers","contributors_url":"https://api.github.com/repos/tfrommen/woocommerce-germanized/contributors","subscribers_url":"https://api.github.com/repos/tfrommen/woocommerce-germanized/subscribers","subscription_url":"https://api.github.com/repos/tfrommen/woocommerce-germanized/subscription","commits_url":"https://api.github.com/repos/tfrommen/woocommerce-germanized/commits{/sha}","git_commits_url":"https://api.github.com/repos/tfrommen/woocommerce-germanized/git/commits{/sha}","comments_url":"https://api.github.com/repos/tfrommen/woocommerce-germanized/comments{/number}","issue_comment_url":"https://api.github.com/repos/tfrommen/woocommerce-germanized/issues/comments{/number}","contents_url":"https://api.github.com/repos/tfrommen/woocommerce-germanized/contents/{+path}","compare_url":"https://api.github.com/repos/tfrommen/woocommerce-germanized/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tfrommen/woocommerce-germanized/merges","archive_url":"https://api.github.com/repos/tfrommen/woocommerce-germanized/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tfrommen/woocommerce-germanized/downloads","issues_url":"https://api.github.com/repos/tfrommen/woocommerce-germanized/issues{/number}","pulls_url":"https://api.github.com/repos/tfrommen/woocommerce-germanized/pulls{/number}","milestones_url":"https://api.github.com/repos/tfrommen/woocommerce-germanized/milestones{/number}","notifications_url":"https://api.github.com/repos/tfrommen/woocommerce-germanized/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tfrommen/woocommerce-germanized/labels{/name}","releases_url":"https://api.github.com/repos/tfrommen/woocommerce-germanized/releases{/id}","deployments_url":"https://api.github.com/repos/tfrommen/woocommerce-germanized/deployments","created_at":"2016-10-26T07:01:57Z","updated_at":"2016-10-26T07:01:58Z","pushed_at":"2016-10-26T07:06:51Z","git_url":"git://github.com/tfrommen/woocommerce-germanized.git","ssh_url":"git@github.com:tfrommen/woocommerce-germanized.git","clone_url":"https://github.com/tfrommen/woocommerce-germanized.git","svn_url":"https://github.com/tfrommen/woocommerce-germanized","homepage":null,"size":9158,"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":"vendidero:master","ref":"master","sha":"624995d268df0871ab6ba5712adee6defc7588ba","user":{"login":"vendidero","id":8328938,"avatar_url":"https://avatars.githubusercontent.com/u/8328938?v=3","gravatar_id":"","url":"https://api.github.com/users/vendidero","html_url":"https://github.com/vendidero","followers_url":"https://api.github.com/users/vendidero/followers","following_url":"https://api.github.com/users/vendidero/following{/other_user}","gists_url":"https://api.github.com/users/vendidero/gists{/gist_id}","starred_url":"https://api.github.com/users/vendidero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vendidero/subscriptions","organizations_url":"https://api.github.com/users/vendidero/orgs","repos_url":"https://api.github.com/users/vendidero/repos","events_url":"https://api.github.com/users/vendidero/events{/privacy}","received_events_url":"https://api.github.com/users/vendidero/received_events","type":"User","site_admin":false},"repo":{"id":23866128,"name":"woocommerce-germanized","full_name":"vendidero/woocommerce-germanized","owner":{"login":"vendidero","id":8328938,"avatar_url":"https://avatars.githubusercontent.com/u/8328938?v=3","gravatar_id":"","url":"https://api.github.com/users/vendidero","html_url":"https://github.com/vendidero","followers_url":"https://api.github.com/users/vendidero/followers","following_url":"https://api.github.com/users/vendidero/following{/other_user}","gists_url":"https://api.github.com/users/vendidero/gists{/gist_id}","starred_url":"https://api.github.com/users/vendidero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vendidero/subscriptions","organizations_url":"https://api.github.com/users/vendidero/orgs","repos_url":"https://api.github.com/users/vendidero/repos","events_url":"https://api.github.com/users/vendidero/events{/privacy}","received_events_url":"https://api.github.com/users/vendidero/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vendidero/woocommerce-germanized","description":"WooCommerce Germanized","fork":false,"url":"https://api.github.com/repos/vendidero/woocommerce-germanized","forks_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/forks","keys_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/teams","hooks_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/hooks","issue_events_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/issues/events{/number}","events_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/events","assignees_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/assignees{/user}","branches_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/branches{/branch}","tags_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/tags","blobs_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/git/refs{/sha}","trees_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/statuses/{sha}","languages_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/languages","stargazers_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/stargazers","contributors_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/contributors","subscribers_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/subscribers","subscription_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/subscription","commits_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/commits{/sha}","git_commits_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/git/commits{/sha}","comments_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/comments{/number}","issue_comment_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/issues/comments{/number}","contents_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/contents/{+path}","compare_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/merges","archive_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/downloads","issues_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/issues{/number}","pulls_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/pulls{/number}","milestones_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/milestones{/number}","notifications_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/labels{/name}","releases_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/releases{/id}","deployments_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/deployments","created_at":"2014-09-10T08:08:53Z","updated_at":"2016-10-25T07:52:34Z","pushed_at":"2016-10-26T07:11:28Z","git_url":"git://github.com/vendidero/woocommerce-germanized.git","ssh_url":"git@github.com:vendidero/woocommerce-germanized.git","clone_url":"https://github.com/vendidero/woocommerce-germanized.git","svn_url":"https://github.com/vendidero/woocommerce-germanized","homepage":null,"size":9158,"stargazers_count":12,"watchers_count":12,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":1,"forks":14,"open_issues":1,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vendidero/woocommerce-germanized/pulls/43"},"html":{"href":"https://github.com/vendidero/woocommerce-germanized/pull/43"},"issue":{"href":"https://api.github.com/repos/vendidero/woocommerce-germanized/issues/43"},"comments":{"href":"https://api.github.com/repos/vendidero/woocommerce-germanized/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/vendidero/woocommerce-germanized/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/vendidero/woocommerce-germanized/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vendidero/woocommerce-germanized/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/vendidero/woocommerce-germanized/statuses/5f41935f585667e64b5b4a91478b6db4ba6410e2"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":5,"deletions":5,"changed_files":2}}
{"actor":{"display_login":"tfrommen"}}