{"action":"opened","issue":{"url":"https://api.github.com/repos/felixarntz/attachment-taxonomies/issues/16","repository_url":"https://api.github.com/repos/felixarntz/attachment-taxonomies","labels_url":"https://api.github.com/repos/felixarntz/attachment-taxonomies/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/felixarntz/attachment-taxonomies/issues/16/comments","events_url":"https://api.github.com/repos/felixarntz/attachment-taxonomies/issues/16/events","html_url":"https://github.com/felixarntz/attachment-taxonomies/issues/16","id":272193470,"number":16,"title":"Removing taxonomies added by other plugins (Polylang compatibility)","user":{"login":"tnottu","id":4559075,"avatar_url":"https://avatars1.githubusercontent.com/u/4559075?v=4","gravatar_id":"","url":"https://api.github.com/users/tnottu","html_url":"https://github.com/tnottu","followers_url":"https://api.github.com/users/tnottu/followers","following_url":"https://api.github.com/users/tnottu/following{/other_user}","gists_url":"https://api.github.com/users/tnottu/gists{/gist_id}","starred_url":"https://api.github.com/users/tnottu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tnottu/subscriptions","organizations_url":"https://api.github.com/users/tnottu/orgs","repos_url":"https://api.github.com/users/tnottu/repos","events_url":"https://api.github.com/users/tnottu/events{/privacy}","received_events_url":"https://api.github.com/users/tnottu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-08T13:13:08Z","updated_at":"2017-11-08T13:13:08Z","closed_at":null,"author_association":"NONE","body":"I am using [Polylang](https://wordpress.org/plugins/polylang/) (Pro) to make my site multilingual. Polylang uses taxonomies to define the posts' language and to connect posts to their translations. These taxonomies are not selected by the user, as the plugin handles that under the hood.\r\n\r\nEnabling the Attachment Taxonomies -plugin will make those Polylang-taxonomies visible in the attachment editing view. See the attached screenshot.\r\n\r\nI tried removing the Polylang taxonomies from Attachment_Taxonomies-instance, but it didn't help.\r\n\r\n```\r\nAttachment_Taxonomies::instance()->remove_taxonomy( 'language' );\r\nAttachment_Taxonomies::instance()->remove_taxonomy( 'post_translations' );\r\n```\r\nHow could I remove those taxonomies from the Attachment_Taxonomies-instance and attachment edit screen?\r\n\r\n![attachment-taxonomies-w-polylang](https://user-images.githubusercontent.com/4559075/32550488-06aed28e-c496-11e7-80c7-e98aaf7819b0.png)\r\n"}}
{"actor":{"display_login":"tnottu"}}