{"action":"created","comment":{"url":"https://api.github.com/repos/pods-framework/pods/pulls/comments/71060282","id":71060282,"diff_hunk":"@@ -2194,13 +2312,13 @@ public function admin_capabilities ( $capabilities ) {\n                 }\n             }\n             elseif ( 'taxonomy' == $pod[ 'type' ] ) {\n-                if ( 1 == pods_var( 'capabilities', $pod[ 'options' ], 0 ) ) {\n+                if ( 'custom' == pods_var( 'capability_type', $pod[ 'options' ], 'terms' ) ) {\n                     $capability_type = pods_var( 'capability_type_custom', $pod[ 'options' ], pods_var_raw( 'name', $pod ) . 's' );\n \n-                    $capabilities[] = 'manage_' . $capability_type;\n-                    $capabilities[] = 'edit_' . $capability_type;\n-                    $capabilities[] = 'delete_' . $capability_type;\n-                    $capabilities[] = 'assign_' . $capability_type;\n+                    $capabilities[] = 'manage_' . $capability_type . '_terms';","path":"classes/PodsAdmin.php","position":142,"original_position":142,"commit_id":"0e40b306a59b5254c188334c129f3fc8c6e35ad6","original_commit_id":"0e40b306a59b5254c188334c129f3fc8c6e35ad6","user":{"login":"JoryHogeveen","id":826148,"avatar_url":"https://avatars.githubusercontent.com/u/826148?v=3","gravatar_id":"","url":"https://api.github.com/users/JoryHogeveen","html_url":"https://github.com/JoryHogeveen","followers_url":"https://api.github.com/users/JoryHogeveen/followers","following_url":"https://api.github.com/users/JoryHogeveen/following{/other_user}","gists_url":"https://api.github.com/users/JoryHogeveen/gists{/gist_id}","starred_url":"https://api.github.com/users/JoryHogeveen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoryHogeveen/subscriptions","organizations_url":"https://api.github.com/users/JoryHogeveen/orgs","repos_url":"https://api.github.com/users/JoryHogeveen/repos","events_url":"https://api.github.com/users/JoryHogeveen/events{/privacy}","received_events_url":"https://api.github.com/users/JoryHogeveen/received_events","type":"User","site_admin":false},"body":"I add `_terms` for consistency with other plugins","created_at":"2016-07-16T03:31:14Z","updated_at":"2016-07-16T03:31:14Z","html_url":"https://github.com/pods-framework/pods/pull/3678#discussion_r71060282","pull_request_url":"https://api.github.com/repos/pods-framework/pods/pulls/3678","_links":{"self":{"href":"https://api.github.com/repos/pods-framework/pods/pulls/comments/71060282"},"html":{"href":"https://github.com/pods-framework/pods/pull/3678#discussion_r71060282"},"pull_request":{"href":"https://api.github.com/repos/pods-framework/pods/pulls/3678"}}},"pull_request":{"url":"https://api.github.com/repos/pods-framework/pods/pulls/3678","id":77699294,"html_url":"https://github.com/pods-framework/pods/pull/3678","diff_url":"https://github.com/pods-framework/pods/pull/3678.diff","patch_url":"https://github.com/pods-framework/pods/pull/3678.patch","issue_url":"https://api.github.com/repos/pods-framework/pods/issues/3678","number":3678,"state":"open","locked":false,"title":"Taxonomy capabilities + No more hardcoded tax settings","user":{"login":"JoryHogeveen","id":826148,"avatar_url":"https://avatars.githubusercontent.com/u/826148?v=3","gravatar_id":"","url":"https://api.github.com/users/JoryHogeveen","html_url":"https://github.com/JoryHogeveen","followers_url":"https://api.github.com/users/JoryHogeveen/followers","following_url":"https://api.github.com/users/JoryHogeveen/following{/other_user}","gists_url":"https://api.github.com/users/JoryHogeveen/gists{/gist_id}","starred_url":"https://api.github.com/users/JoryHogeveen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoryHogeveen/subscriptions","organizations_url":"https://api.github.com/users/JoryHogeveen/orgs","repos_url":"https://api.github.com/users/JoryHogeveen/repos","events_url":"https://api.github.com/users/JoryHogeveen/events{/privacy}","received_events_url":"https://api.github.com/users/JoryHogeveen/received_events","type":"User","site_admin":false},"body":"Fix for:\r\nhttps://github.com/pods-framework/pods/issues/3676\r\nhttps://github.com/pods-framework/pods/issues/3677","created_at":"2016-07-16T03:26:56Z","updated_at":"2016-07-16T03:31:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b341ba496e7a97ed122a6a347fda533766c08545","assignee":{"login":"JoryHogeveen","id":826148,"avatar_url":"https://avatars.githubusercontent.com/u/826148?v=3","gravatar_id":"","url":"https://api.github.com/users/JoryHogeveen","html_url":"https://github.com/JoryHogeveen","followers_url":"https://api.github.com/users/JoryHogeveen/followers","following_url":"https://api.github.com/users/JoryHogeveen/following{/other_user}","gists_url":"https://api.github.com/users/JoryHogeveen/gists{/gist_id}","starred_url":"https://api.github.com/users/JoryHogeveen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoryHogeveen/subscriptions","organizations_url":"https://api.github.com/users/JoryHogeveen/orgs","repos_url":"https://api.github.com/users/JoryHogeveen/repos","events_url":"https://api.github.com/users/JoryHogeveen/events{/privacy}","received_events_url":"https://api.github.com/users/JoryHogeveen/received_events","type":"User","site_admin":false},"assignees":[{"login":"JoryHogeveen","id":826148,"avatar_url":"https://avatars.githubusercontent.com/u/826148?v=3","gravatar_id":"","url":"https://api.github.com/users/JoryHogeveen","html_url":"https://github.com/JoryHogeveen","followers_url":"https://api.github.com/users/JoryHogeveen/followers","following_url":"https://api.github.com/users/JoryHogeveen/following{/other_user}","gists_url":"https://api.github.com/users/JoryHogeveen/gists{/gist_id}","starred_url":"https://api.github.com/users/JoryHogeveen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoryHogeveen/subscriptions","organizations_url":"https://api.github.com/users/JoryHogeveen/orgs","repos_url":"https://api.github.com/users/JoryHogeveen/repos","events_url":"https://api.github.com/users/JoryHogeveen/events{/privacy}","received_events_url":"https://api.github.com/users/JoryHogeveen/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/pods-framework/pods/milestones/72","html_url":"https://github.com/pods-framework/pods/milestones/Pods%202.6.7","labels_url":"https://api.github.com/repos/pods-framework/pods/milestones/72/labels","id":1847580,"number":72,"title":"Pods 2.6.7","description":null,"creator":{"login":"sc0ttkclark","id":709662,"avatar_url":"https://avatars.githubusercontent.com/u/709662?v=3","gravatar_id":"","url":"https://api.github.com/users/sc0ttkclark","html_url":"https://github.com/sc0ttkclark","followers_url":"https://api.github.com/users/sc0ttkclark/followers","following_url":"https://api.github.com/users/sc0ttkclark/following{/other_user}","gists_url":"https://api.github.com/users/sc0ttkclark/gists{/gist_id}","starred_url":"https://api.github.com/users/sc0ttkclark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sc0ttkclark/subscriptions","organizations_url":"https://api.github.com/users/sc0ttkclark/orgs","repos_url":"https://api.github.com/users/sc0ttkclark/repos","events_url":"https://api.github.com/users/sc0ttkclark/events{/privacy}","received_events_url":"https://api.github.com/users/sc0ttkclark/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":20,"state":"open","created_at":"2016-06-24T18:21:49Z","updated_at":"2016-07-16T03:26:56Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/pods-framework/pods/pulls/3678/commits","review_comments_url":"https://api.github.com/repos/pods-framework/pods/pulls/3678/comments","review_comment_url":"https://api.github.com/repos/pods-framework/pods/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pods-framework/pods/issues/3678/comments","statuses_url":"https://api.github.com/repos/pods-framework/pods/statuses/0e40b306a59b5254c188334c129f3fc8c6e35ad6","head":{"label":"pods-framework:feature/#3676_#3677","ref":"feature/#3676_#3677","sha":"0e40b306a59b5254c188334c129f3fc8c6e35ad6","user":{"login":"pods-framework","id":1049430,"avatar_url":"https://avatars.githubusercontent.com/u/1049430?v=3","gravatar_id":"","url":"https://api.github.com/users/pods-framework","html_url":"https://github.com/pods-framework","followers_url":"https://api.github.com/users/pods-framework/followers","following_url":"https://api.github.com/users/pods-framework/following{/other_user}","gists_url":"https://api.github.com/users/pods-framework/gists{/gist_id}","starred_url":"https://api.github.com/users/pods-framework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pods-framework/subscriptions","organizations_url":"https://api.github.com/users/pods-framework/orgs","repos_url":"https://api.github.com/users/pods-framework/repos","events_url":"https://api.github.com/users/pods-framework/events{/privacy}","received_events_url":"https://api.github.com/users/pods-framework/received_events","type":"Organization","site_admin":false},"repo":{"id":1570020,"name":"pods","full_name":"pods-framework/pods","owner":{"login":"pods-framework","id":1049430,"avatar_url":"https://avatars.githubusercontent.com/u/1049430?v=3","gravatar_id":"","url":"https://api.github.com/users/pods-framework","html_url":"https://github.com/pods-framework","followers_url":"https://api.github.com/users/pods-framework/followers","following_url":"https://api.github.com/users/pods-framework/following{/other_user}","gists_url":"https://api.github.com/users/pods-framework/gists{/gist_id}","starred_url":"https://api.github.com/users/pods-framework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pods-framework/subscriptions","organizations_url":"https://api.github.com/users/pods-framework/orgs","repos_url":"https://api.github.com/users/pods-framework/repos","events_url":"https://api.github.com/users/pods-framework/events{/privacy}","received_events_url":"https://api.github.com/users/pods-framework/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pods-framework/pods","description":"The Pods Framework is a Content Development Framework for WordPress - It lets you create and extend content types that can be used for any project. Add fields of various types we've built in, or add your own with custom inputs, you have total control.","fork":false,"url":"https://api.github.com/repos/pods-framework/pods","forks_url":"https://api.github.com/repos/pods-framework/pods/forks","keys_url":"https://api.github.com/repos/pods-framework/pods/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pods-framework/pods/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pods-framework/pods/teams","hooks_url":"https://api.github.com/repos/pods-framework/pods/hooks","issue_events_url":"https://api.github.com/repos/pods-framework/pods/issues/events{/number}","events_url":"https://api.github.com/repos/pods-framework/pods/events","assignees_url":"https://api.github.com/repos/pods-framework/pods/assignees{/user}","branches_url":"https://api.github.com/repos/pods-framework/pods/branches{/branch}","tags_url":"https://api.github.com/repos/pods-framework/pods/tags","blobs_url":"https://api.github.com/repos/pods-framework/pods/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pods-framework/pods/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pods-framework/pods/git/refs{/sha}","trees_url":"https://api.github.com/repos/pods-framework/pods/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pods-framework/pods/statuses/{sha}","languages_url":"https://api.github.com/repos/pods-framework/pods/languages","stargazers_url":"https://api.github.com/repos/pods-framework/pods/stargazers","contributors_url":"https://api.github.com/repos/pods-framework/pods/contributors","subscribers_url":"https://api.github.com/repos/pods-framework/pods/subscribers","subscription_url":"https://api.github.com/repos/pods-framework/pods/subscription","commits_url":"https://api.github.com/repos/pods-framework/pods/commits{/sha}","git_commits_url":"https://api.github.com/repos/pods-framework/pods/git/commits{/sha}","comments_url":"https://api.github.com/repos/pods-framework/pods/comments{/number}","issue_comment_url":"https://api.github.com/repos/pods-framework/pods/issues/comments{/number}","contents_url":"https://api.github.com/repos/pods-framework/pods/contents/{+path}","compare_url":"https://api.github.com/repos/pods-framework/pods/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pods-framework/pods/merges","archive_url":"https://api.github.com/repos/pods-framework/pods/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pods-framework/pods/downloads","issues_url":"https://api.github.com/repos/pods-framework/pods/issues{/number}","pulls_url":"https://api.github.com/repos/pods-framework/pods/pulls{/number}","milestones_url":"https://api.github.com/repos/pods-framework/pods/milestones{/number}","notifications_url":"https://api.github.com/repos/pods-framework/pods/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pods-framework/pods/labels{/name}","releases_url":"https://api.github.com/repos/pods-framework/pods/releases{/id}","deployments_url":"https://api.github.com/repos/pods-framework/pods/deployments","created_at":"2011-04-05T00:45:14Z","updated_at":"2016-07-14T11:29:40Z","pushed_at":"2016-07-16T03:26:56Z","git_url":"git://github.com/pods-framework/pods.git","ssh_url":"git@github.com:pods-framework/pods.git","clone_url":"https://github.com/pods-framework/pods.git","svn_url":"https://github.com/pods-framework/pods","homepage":"http://pods.io/","size":27767,"stargazers_count":549,"watchers_count":549,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":180,"mirror_url":null,"open_issues_count":935,"forks":180,"open_issues":935,"watchers":549,"default_branch":"2.x"}},"base":{"label":"pods-framework:2.x","ref":"2.x","sha":"40a96ce2acccd252f5a4c3dd5277d9502fa50e19","user":{"login":"pods-framework","id":1049430,"avatar_url":"https://avatars.githubusercontent.com/u/1049430?v=3","gravatar_id":"","url":"https://api.github.com/users/pods-framework","html_url":"https://github.com/pods-framework","followers_url":"https://api.github.com/users/pods-framework/followers","following_url":"https://api.github.com/users/pods-framework/following{/other_user}","gists_url":"https://api.github.com/users/pods-framework/gists{/gist_id}","starred_url":"https://api.github.com/users/pods-framework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pods-framework/subscriptions","organizations_url":"https://api.github.com/users/pods-framework/orgs","repos_url":"https://api.github.com/users/pods-framework/repos","events_url":"https://api.github.com/users/pods-framework/events{/privacy}","received_events_url":"https://api.github.com/users/pods-framework/received_events","type":"Organization","site_admin":false},"repo":{"id":1570020,"name":"pods","full_name":"pods-framework/pods","owner":{"login":"pods-framework","id":1049430,"avatar_url":"https://avatars.githubusercontent.com/u/1049430?v=3","gravatar_id":"","url":"https://api.github.com/users/pods-framework","html_url":"https://github.com/pods-framework","followers_url":"https://api.github.com/users/pods-framework/followers","following_url":"https://api.github.com/users/pods-framework/following{/other_user}","gists_url":"https://api.github.com/users/pods-framework/gists{/gist_id}","starred_url":"https://api.github.com/users/pods-framework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pods-framework/subscriptions","organizations_url":"https://api.github.com/users/pods-framework/orgs","repos_url":"https://api.github.com/users/pods-framework/repos","events_url":"https://api.github.com/users/pods-framework/events{/privacy}","received_events_url":"https://api.github.com/users/pods-framework/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pods-framework/pods","description":"The Pods Framework is a Content Development Framework for WordPress - It lets you create and extend content types that can be used for any project. Add fields of various types we've built in, or add your own with custom inputs, you have total control.","fork":false,"url":"https://api.github.com/repos/pods-framework/pods","forks_url":"https://api.github.com/repos/pods-framework/pods/forks","keys_url":"https://api.github.com/repos/pods-framework/pods/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pods-framework/pods/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pods-framework/pods/teams","hooks_url":"https://api.github.com/repos/pods-framework/pods/hooks","issue_events_url":"https://api.github.com/repos/pods-framework/pods/issues/events{/number}","events_url":"https://api.github.com/repos/pods-framework/pods/events","assignees_url":"https://api.github.com/repos/pods-framework/pods/assignees{/user}","branches_url":"https://api.github.com/repos/pods-framework/pods/branches{/branch}","tags_url":"https://api.github.com/repos/pods-framework/pods/tags","blobs_url":"https://api.github.com/repos/pods-framework/pods/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pods-framework/pods/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pods-framework/pods/git/refs{/sha}","trees_url":"https://api.github.com/repos/pods-framework/pods/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pods-framework/pods/statuses/{sha}","languages_url":"https://api.github.com/repos/pods-framework/pods/languages","stargazers_url":"https://api.github.com/repos/pods-framework/pods/stargazers","contributors_url":"https://api.github.com/repos/pods-framework/pods/contributors","subscribers_url":"https://api.github.com/repos/pods-framework/pods/subscribers","subscription_url":"https://api.github.com/repos/pods-framework/pods/subscription","commits_url":"https://api.github.com/repos/pods-framework/pods/commits{/sha}","git_commits_url":"https://api.github.com/repos/pods-framework/pods/git/commits{/sha}","comments_url":"https://api.github.com/repos/pods-framework/pods/comments{/number}","issue_comment_url":"https://api.github.com/repos/pods-framework/pods/issues/comments{/number}","contents_url":"https://api.github.com/repos/pods-framework/pods/contents/{+path}","compare_url":"https://api.github.com/repos/pods-framework/pods/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pods-framework/pods/merges","archive_url":"https://api.github.com/repos/pods-framework/pods/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pods-framework/pods/downloads","issues_url":"https://api.github.com/repos/pods-framework/pods/issues{/number}","pulls_url":"https://api.github.com/repos/pods-framework/pods/pulls{/number}","milestones_url":"https://api.github.com/repos/pods-framework/pods/milestones{/number}","notifications_url":"https://api.github.com/repos/pods-framework/pods/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pods-framework/pods/labels{/name}","releases_url":"https://api.github.com/repos/pods-framework/pods/releases{/id}","deployments_url":"https://api.github.com/repos/pods-framework/pods/deployments","created_at":"2011-04-05T00:45:14Z","updated_at":"2016-07-14T11:29:40Z","pushed_at":"2016-07-16T03:26:56Z","git_url":"git://github.com/pods-framework/pods.git","ssh_url":"git@github.com:pods-framework/pods.git","clone_url":"https://github.com/pods-framework/pods.git","svn_url":"https://github.com/pods-framework/pods","homepage":"http://pods.io/","size":27767,"stargazers_count":549,"watchers_count":549,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":180,"mirror_url":null,"open_issues_count":935,"forks":180,"open_issues":935,"watchers":549,"default_branch":"2.x"}},"_links":{"self":{"href":"https://api.github.com/repos/pods-framework/pods/pulls/3678"},"html":{"href":"https://github.com/pods-framework/pods/pull/3678"},"issue":{"href":"https://api.github.com/repos/pods-framework/pods/issues/3678"},"comments":{"href":"https://api.github.com/repos/pods-framework/pods/issues/3678/comments"},"review_comments":{"href":"https://api.github.com/repos/pods-framework/pods/pulls/3678/comments"},"review_comment":{"href":"https://api.github.com/repos/pods-framework/pods/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pods-framework/pods/pulls/3678/commits"},"statuses":{"href":"https://api.github.com/repos/pods-framework/pods/statuses/0e40b306a59b5254c188334c129f3fc8c6e35ad6"}}}}
{"actor":{"display_login":"JoryHogeveen"}}