{"action":"created","issue":{"url":"https://api.github.com/repos/shawfactor/lh-user-taxonomies/issues/7","repository_url":"https://api.github.com/repos/shawfactor/lh-user-taxonomies","labels_url":"https://api.github.com/repos/shawfactor/lh-user-taxonomies/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/shawfactor/lh-user-taxonomies/issues/7/comments","events_url":"https://api.github.com/repos/shawfactor/lh-user-taxonomies/issues/7/events","html_url":"https://github.com/shawfactor/lh-user-taxonomies/pull/7","id":154143688,"number":7,"title":"Update lh-user-taxonomies.php","user":{"login":"stephencaosemene","id":13472455,"avatar_url":"https://avatars.githubusercontent.com/u/13472455?v=3","gravatar_id":"","url":"https://api.github.com/users/stephencaosemene","html_url":"https://github.com/stephencaosemene","followers_url":"https://api.github.com/users/stephencaosemene/followers","following_url":"https://api.github.com/users/stephencaosemene/following{/other_user}","gists_url":"https://api.github.com/users/stephencaosemene/gists{/gist_id}","starred_url":"https://api.github.com/users/stephencaosemene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephencaosemene/subscriptions","organizations_url":"https://api.github.com/users/stephencaosemene/orgs","repos_url":"https://api.github.com/users/stephencaosemene/repos","events_url":"https://api.github.com/users/stephencaosemene/events{/privacy}","received_events_url":"https://api.github.com/users/stephencaosemene/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-11T01:51:01Z","updated_at":"2016-05-11T01:54:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/shawfactor/lh-user-taxonomies/pulls/7","html_url":"https://github.com/shawfactor/lh-user-taxonomies/pull/7","diff_url":"https://github.com/shawfactor/lh-user-taxonomies/pull/7.diff","patch_url":"https://github.com/shawfactor/lh-user-taxonomies/pull/7.patch"},"body":"I made a small modification to the code to allow the same taxonomy to be registered to users and other post types at the same time.\r\nIn the [WordPress function reference for registering taxonomies](https://codex.wordpress.org/Function_Reference/register_taxonomy), the object_type can either be a string or array.\r\nYour previous code only allowed a single string of users, so I modified to code to detect if it is an array and check for the string 'user' in the array."},"comment":{"url":"https://api.github.com/repos/shawfactor/lh-user-taxonomies/issues/comments/218342122","html_url":"https://github.com/shawfactor/lh-user-taxonomies/pull/7#issuecomment-218342122","issue_url":"https://api.github.com/repos/shawfactor/lh-user-taxonomies/issues/7","id":218342122,"user":{"login":"stephencaosemene","id":13472455,"avatar_url":"https://avatars.githubusercontent.com/u/13472455?v=3","gravatar_id":"","url":"https://api.github.com/users/stephencaosemene","html_url":"https://github.com/stephencaosemene","followers_url":"https://api.github.com/users/stephencaosemene/followers","following_url":"https://api.github.com/users/stephencaosemene/following{/other_user}","gists_url":"https://api.github.com/users/stephencaosemene/gists{/gist_id}","starred_url":"https://api.github.com/users/stephencaosemene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephencaosemene/subscriptions","organizations_url":"https://api.github.com/users/stephencaosemene/orgs","repos_url":"https://api.github.com/users/stephencaosemene/repos","events_url":"https://api.github.com/users/stephencaosemene/events{/privacy}","received_events_url":"https://api.github.com/users/stephencaosemene/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T01:54:26Z","updated_at":"2016-05-11T01:54:26Z","body":"It seems @ericmulder has added this fix before but it has somehow changed back."}}