{"action":"created","issue":{"url":"https://api.github.com/repos/polylang/polylang/issues/101","repository_url":"https://api.github.com/repos/polylang/polylang","labels_url":"https://api.github.com/repos/polylang/polylang/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/polylang/polylang/issues/101/comments","events_url":"https://api.github.com/repos/polylang/polylang/issues/101/events","html_url":"https://github.com/polylang/polylang/pull/101","id":209164007,"number":101,"title":"add body class filter","user":{"login":"diggy","id":1071337,"avatar_url":"https://avatars.githubusercontent.com/u/1071337?v=3","gravatar_id":"","url":"https://api.github.com/users/diggy","html_url":"https://github.com/diggy","followers_url":"https://api.github.com/users/diggy/followers","following_url":"https://api.github.com/users/diggy/following{/other_user}","gists_url":"https://api.github.com/users/diggy/gists{/gist_id}","starred_url":"https://api.github.com/users/diggy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diggy/subscriptions","organizations_url":"https://api.github.com/users/diggy/orgs","repos_url":"https://api.github.com/users/diggy/repos","events_url":"https://api.github.com/users/diggy/events{/privacy}","received_events_url":"https://api.github.com/users/diggy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-02-21T14:38:37Z","updated_at":"2017-02-27T14:00:27Z","closed_at":"2017-02-27T14:00:27Z","pull_request":{"url":"https://api.github.com/repos/polylang/polylang/pulls/101","html_url":"https://github.com/polylang/polylang/pull/101","diff_url":"https://github.com/polylang/polylang/pull/101.diff","patch_url":"https://github.com/polylang/polylang/pull/101.patch"},"body":"Note: I prefer lowercase, dashed body classes (e.g. `pll-nl-be`), so did not use `sanitize_html_class()` (which would result in e.g. `pll-nl_BE`)"},"comment":{"url":"https://api.github.com/repos/polylang/polylang/issues/comments/282727358","html_url":"https://github.com/polylang/polylang/pull/101#issuecomment-282727358","issue_url":"https://api.github.com/repos/polylang/polylang/issues/101","id":282727358,"user":{"login":"Chouby","id":3238583,"avatar_url":"https://avatars.githubusercontent.com/u/3238583?v=3","gravatar_id":"","url":"https://api.github.com/users/Chouby","html_url":"https://github.com/Chouby","followers_url":"https://api.github.com/users/Chouby/followers","following_url":"https://api.github.com/users/Chouby/following{/other_user}","gists_url":"https://api.github.com/users/Chouby/gists{/gist_id}","starred_url":"https://api.github.com/users/Chouby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chouby/subscriptions","organizations_url":"https://api.github.com/users/Chouby/orgs","repos_url":"https://api.github.com/users/Chouby/repos","events_url":"https://api.github.com/users/Chouby/events{/privacy}","received_events_url":"https://api.github.com/users/Chouby/received_events","type":"User","site_admin":false},"created_at":"2017-02-27T14:00:27Z","updated_at":"2017-02-27T14:00:27Z","body":"I tend to agree with @chesio.\r\n\r\nThere are least 2 other ways to use language specific styles without Polylang dependency which, in my opinion are better to use than an extra class.\r\n\r\n1. The `:lang` pseudo selector is a standard CSS rule. See https://www.w3schools.com/cssref/sel_lang.asp\r\n2. If you have more than a few specific rules, you can use a stylesheet dedicated to one locale, for example en_US.css or fr_FR.css at the root of your theme directory. The stylesheet is automatically loaded by WP.\r\n"}}
{"actor":{"display_login":"Chouby"}}