{"action":"opened","issue":{"url":"https://api.github.com/repos/WP-API/WP-API/issues/2848","repository_url":"https://api.github.com/repos/WP-API/WP-API","labels_url":"https://api.github.com/repos/WP-API/WP-API/issues/2848/labels{/name}","comments_url":"https://api.github.com/repos/WP-API/WP-API/issues/2848/comments","events_url":"https://api.github.com/repos/WP-API/WP-API/issues/2848/events","html_url":"https://github.com/WP-API/WP-API/issues/2848","id":183435616,"number":2848,"title":"Avoid use of wp_filter_post_kses to prevent lossy slash handling","user":{"login":"kadamwhite","id":442115,"avatar_url":"https://avatars.githubusercontent.com/u/442115?v=3","gravatar_id":"","url":"https://api.github.com/users/kadamwhite","html_url":"https://github.com/kadamwhite","followers_url":"https://api.github.com/users/kadamwhite/followers","following_url":"https://api.github.com/users/kadamwhite/following{/other_user}","gists_url":"https://api.github.com/users/kadamwhite/gists{/gist_id}","starred_url":"https://api.github.com/users/kadamwhite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kadamwhite/subscriptions","organizations_url":"https://api.github.com/users/kadamwhite/orgs","repos_url":"https://api.github.com/users/kadamwhite/repos","events_url":"https://api.github.com/users/kadamwhite/events{/privacy}","received_events_url":"https://api.github.com/users/kadamwhite/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-17T14:43:34Z","updated_at":"2016-10-17T14:43:34Z","closed_at":null,"body":"As [discussed in slack](https://wordpress.slack.com/archives/core-restapi/p1476715005007733) following #2840, there are other places than https://github.com/WP-API/WP-API/pull/2788 where @westonruter's comments around the lossy slash handling in `wp_filter_post_kses` come into play; we should standardize these to use the underlying `wp_kses` functions.\r\n\r\nQuoting @rachelbaker,\r\n\r\n> if we are not trusting the slash handling of `wp_filter_post_kses()` then we should do that consistently, and switch to `wp_kses_post()` or `wp_kses()` with the {filter_name}"}}
{"actor":{"display_login":"kadamwhite"}}