{"action":"closed","issue":{"url":"https://api.github.com/repos/polylang/polylang/issues/279","repository_url":"https://api.github.com/repos/polylang/polylang","labels_url":"https://api.github.com/repos/polylang/polylang/issues/279/labels{/name}","comments_url":"https://api.github.com/repos/polylang/polylang/issues/279/comments","events_url":"https://api.github.com/repos/polylang/polylang/issues/279/events","html_url":"https://github.com/polylang/polylang/issues/279","id":340776245,"node_id":"MDU6SXNzdWUzNDA3NzYyNDU=","number":279,"title":"Custom flag images (theme/location/discovery)","user":{"login":"strarsis","id":9271436,"node_id":"MDQ6VXNlcjkyNzE0MzY=","avatar_url":"https://avatars1.githubusercontent.com/u/9271436?v=4","gravatar_id":"","url":"https://api.github.com/users/strarsis","html_url":"https://github.com/strarsis","followers_url":"https://api.github.com/users/strarsis/followers","following_url":"https://api.github.com/users/strarsis/following{/other_user}","gists_url":"https://api.github.com/users/strarsis/gists{/gist_id}","starred_url":"https://api.github.com/users/strarsis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strarsis/subscriptions","organizations_url":"https://api.github.com/users/strarsis/orgs","repos_url":"https://api.github.com/users/strarsis/repos","events_url":"https://api.github.com/users/strarsis/events{/privacy}","received_events_url":"https://api.github.com/users/strarsis/received_events","type":"User","site_admin":false},"labels":[{"id":364403022,"node_id":"MDU6TGFiZWwzNjQ0MDMwMjI=","url":"https://api.github.com/repos/polylang/polylang/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-07-12T19:55:15Z","updated_at":"2018-09-23T16:56:14Z","closed_at":"2018-09-23T16:56:14Z","author_association":"NONE","body":"## Prerequisites\r\n\r\n<!-- Mark checked items with an [x] -->\r\n\r\n- [x] This is not a usage question (Those should be directed to the [community supported forum](https://wordpress.org/support/plugin/polylang), unless this is a question about Polylang Pro in which case you should [use the helpdesk](https://polylang.pro/support/)).\r\n- [x] I have searched for similar issues in both open and closed tickets and cannot find a duplicate.\r\n- [x] The issue still exists against the latest `master` branch of Polylang and the latest WordPress version.\r\n- [x] This bug happens with only Polylang plugin active\r\n- [x] This bug happens with a default WordPress theme active\r\n- [x] I can reproduce this bug consistently\r\n\r\n\r\n[According to the Polylang docs](https://polylang.pro/doc/can-i-use-my-own-flags-for-the-language-switcher/), it is possible to let it use custom flag images. \r\nThis involves copying the custom images to a WordPress-specific folder.\r\n\r\nIs it also possible to place these custom flag images in a theme and let Polylang discover them?\r\nThis would be much better because this aspect is actually one that could/should \r\nbe controlled by the theme.\r\n\r\nRegardless of location for the flag images: Can also SVG image files (*.svg) be used as custom flag images?"}}
{"actor":{"display_login":"Chouby"}}