{"action":"created","comment":{"url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/pulls/comments/64080210","id":64080210,"diff_hunk":"@@ -52,3 +52,18 @@ function autoload( $cls ) {\n \n // Load the Editor class on admin pages\n add_action( 'admin_init', [ '\\Editor_Footnotes\\Editor', 'instance' ] );\n+\n+/**\n+ * Allow span[data-footnote] to pass through post content.\n+ *\n+ * @param  array $kses Allowed HTML tags.\n+ * @param  string $context Kses context.\n+ * @return array\n+ */\n+function wp_kses_allowed_html( $kses, $context ) {\n+\tif ( 'post' === $context ) {","path":"editor-footnotes.php","position":13,"original_position":13,"commit_id":"ff6a53d587bf1ef17f598e071a55c94f7df95fbb","original_commit_id":"ff6a53d587bf1ef17f598e071a55c94f7df95fbb","user":{"login":"nschoenholtz","id":152539,"avatar_url":"https://avatars.githubusercontent.com/u/152539?v=3","gravatar_id":"","url":"https://api.github.com/users/nschoenholtz","html_url":"https://github.com/nschoenholtz","followers_url":"https://api.github.com/users/nschoenholtz/followers","following_url":"https://api.github.com/users/nschoenholtz/following{/other_user}","gists_url":"https://api.github.com/users/nschoenholtz/gists{/gist_id}","starred_url":"https://api.github.com/users/nschoenholtz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nschoenholtz/subscriptions","organizations_url":"https://api.github.com/users/nschoenholtz/orgs","repos_url":"https://api.github.com/users/nschoenholtz/repos","events_url":"https://api.github.com/users/nschoenholtz/events{/privacy}","received_events_url":"https://api.github.com/users/nschoenholtz/received_events","type":"User","site_admin":false},"body":"Yeah I guess I really can't think of any legitimate reason why someone would *want* spans to be stripped out (and thus be upset when they started passing through again).","created_at":"2016-05-20T17:46:56Z","updated_at":"2016-05-20T17:46:56Z","html_url":"https://github.com/alleyinteractive/editor-footnotes/pull/2#discussion_r64080210","pull_request_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/alleyinteractive/editor-footnotes/pulls/comments/64080210"},"html":{"href":"https://github.com/alleyinteractive/editor-footnotes/pull/2#discussion_r64080210"},"pull_request":{"href":"https://api.github.com/repos/alleyinteractive/editor-footnotes/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/pulls/2","id":70877939,"html_url":"https://github.com/alleyinteractive/editor-footnotes/pull/2","diff_url":"https://github.com/alleyinteractive/editor-footnotes/pull/2.diff","patch_url":"https://github.com/alleyinteractive/editor-footnotes/pull/2.patch","issue_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/issues/2","number":2,"state":"closed","locked":false,"title":"Ensure the data tags aren't stripped by wp_kses_post","user":{"login":"mboynes","id":465154,"avatar_url":"https://avatars.githubusercontent.com/u/465154?v=3","gravatar_id":"","url":"https://api.github.com/users/mboynes","html_url":"https://github.com/mboynes","followers_url":"https://api.github.com/users/mboynes/followers","following_url":"https://api.github.com/users/mboynes/following{/other_user}","gists_url":"https://api.github.com/users/mboynes/gists{/gist_id}","starred_url":"https://api.github.com/users/mboynes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mboynes/subscriptions","organizations_url":"https://api.github.com/users/mboynes/orgs","repos_url":"https://api.github.com/users/mboynes/repos","events_url":"https://api.github.com/users/mboynes/events{/privacy}","received_events_url":"https://api.github.com/users/mboynes/received_events","type":"User","site_admin":false},"body":null,"created_at":"2016-05-20T15:56:54Z","updated_at":"2016-05-20T17:46:56Z","closed_at":"2016-05-20T17:38:35Z","merged_at":"2016-05-20T17:38:35Z","merge_commit_sha":"f8cc52f8d8e30651ff35539e915b5707c9e472d8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/pulls/2/commits","review_comments_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/pulls/2/comments","review_comment_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/issues/2/comments","statuses_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/statuses/ff6a53d587bf1ef17f598e071a55c94f7df95fbb","head":{"label":"alleyinteractive:kses-post","ref":"kses-post","sha":"ff6a53d587bf1ef17f598e071a55c94f7df95fbb","user":{"login":"alleyinteractive","id":1733454,"avatar_url":"https://avatars.githubusercontent.com/u/1733454?v=3","gravatar_id":"","url":"https://api.github.com/users/alleyinteractive","html_url":"https://github.com/alleyinteractive","followers_url":"https://api.github.com/users/alleyinteractive/followers","following_url":"https://api.github.com/users/alleyinteractive/following{/other_user}","gists_url":"https://api.github.com/users/alleyinteractive/gists{/gist_id}","starred_url":"https://api.github.com/users/alleyinteractive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alleyinteractive/subscriptions","organizations_url":"https://api.github.com/users/alleyinteractive/orgs","repos_url":"https://api.github.com/users/alleyinteractive/repos","events_url":"https://api.github.com/users/alleyinteractive/events{/privacy}","received_events_url":"https://api.github.com/users/alleyinteractive/received_events","type":"Organization","site_admin":false},"repo":{"id":57330422,"name":"editor-footnotes","full_name":"alleyinteractive/editor-footnotes","owner":{"login":"alleyinteractive","id":1733454,"avatar_url":"https://avatars.githubusercontent.com/u/1733454?v=3","gravatar_id":"","url":"https://api.github.com/users/alleyinteractive","html_url":"https://github.com/alleyinteractive","followers_url":"https://api.github.com/users/alleyinteractive/followers","following_url":"https://api.github.com/users/alleyinteractive/following{/other_user}","gists_url":"https://api.github.com/users/alleyinteractive/gists{/gist_id}","starred_url":"https://api.github.com/users/alleyinteractive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alleyinteractive/subscriptions","organizations_url":"https://api.github.com/users/alleyinteractive/orgs","repos_url":"https://api.github.com/users/alleyinteractive/repos","events_url":"https://api.github.com/users/alleyinteractive/events{/privacy}","received_events_url":"https://api.github.com/users/alleyinteractive/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alleyinteractive/editor-footnotes","description":"","fork":false,"url":"https://api.github.com/repos/alleyinteractive/editor-footnotes","forks_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/forks","keys_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/teams","hooks_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/hooks","issue_events_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/issues/events{/number}","events_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/events","assignees_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/assignees{/user}","branches_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/branches{/branch}","tags_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/tags","blobs_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/git/refs{/sha}","trees_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/statuses/{sha}","languages_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/languages","stargazers_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/stargazers","contributors_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/contributors","subscribers_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/subscribers","subscription_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/subscription","commits_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/commits{/sha}","git_commits_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/git/commits{/sha}","comments_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/comments{/number}","issue_comment_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/issues/comments{/number}","contents_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/contents/{+path}","compare_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/merges","archive_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/downloads","issues_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/issues{/number}","pulls_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/pulls{/number}","milestones_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/milestones{/number}","notifications_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/labels{/name}","releases_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/releases{/id}","deployments_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/deployments","created_at":"2016-04-28T20:05:28Z","updated_at":"2016-05-06T17:48:55Z","pushed_at":"2016-05-20T17:38:36Z","git_url":"git://github.com/alleyinteractive/editor-footnotes.git","ssh_url":"git@github.com:alleyinteractive/editor-footnotes.git","clone_url":"https://github.com/alleyinteractive/editor-footnotes.git","svn_url":"https://github.com/alleyinteractive/editor-footnotes","homepage":null,"size":16,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"alleyinteractive:master","ref":"master","sha":"bdc011ecd4107508e5f69338450c3bcf65a76dc0","user":{"login":"alleyinteractive","id":1733454,"avatar_url":"https://avatars.githubusercontent.com/u/1733454?v=3","gravatar_id":"","url":"https://api.github.com/users/alleyinteractive","html_url":"https://github.com/alleyinteractive","followers_url":"https://api.github.com/users/alleyinteractive/followers","following_url":"https://api.github.com/users/alleyinteractive/following{/other_user}","gists_url":"https://api.github.com/users/alleyinteractive/gists{/gist_id}","starred_url":"https://api.github.com/users/alleyinteractive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alleyinteractive/subscriptions","organizations_url":"https://api.github.com/users/alleyinteractive/orgs","repos_url":"https://api.github.com/users/alleyinteractive/repos","events_url":"https://api.github.com/users/alleyinteractive/events{/privacy}","received_events_url":"https://api.github.com/users/alleyinteractive/received_events","type":"Organization","site_admin":false},"repo":{"id":57330422,"name":"editor-footnotes","full_name":"alleyinteractive/editor-footnotes","owner":{"login":"alleyinteractive","id":1733454,"avatar_url":"https://avatars.githubusercontent.com/u/1733454?v=3","gravatar_id":"","url":"https://api.github.com/users/alleyinteractive","html_url":"https://github.com/alleyinteractive","followers_url":"https://api.github.com/users/alleyinteractive/followers","following_url":"https://api.github.com/users/alleyinteractive/following{/other_user}","gists_url":"https://api.github.com/users/alleyinteractive/gists{/gist_id}","starred_url":"https://api.github.com/users/alleyinteractive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alleyinteractive/subscriptions","organizations_url":"https://api.github.com/users/alleyinteractive/orgs","repos_url":"https://api.github.com/users/alleyinteractive/repos","events_url":"https://api.github.com/users/alleyinteractive/events{/privacy}","received_events_url":"https://api.github.com/users/alleyinteractive/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alleyinteractive/editor-footnotes","description":"","fork":false,"url":"https://api.github.com/repos/alleyinteractive/editor-footnotes","forks_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/forks","keys_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/teams","hooks_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/hooks","issue_events_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/issues/events{/number}","events_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/events","assignees_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/assignees{/user}","branches_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/branches{/branch}","tags_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/tags","blobs_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/git/refs{/sha}","trees_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/statuses/{sha}","languages_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/languages","stargazers_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/stargazers","contributors_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/contributors","subscribers_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/subscribers","subscription_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/subscription","commits_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/commits{/sha}","git_commits_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/git/commits{/sha}","comments_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/comments{/number}","issue_comment_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/issues/comments{/number}","contents_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/contents/{+path}","compare_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/merges","archive_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/downloads","issues_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/issues{/number}","pulls_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/pulls{/number}","milestones_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/milestones{/number}","notifications_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/labels{/name}","releases_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/releases{/id}","deployments_url":"https://api.github.com/repos/alleyinteractive/editor-footnotes/deployments","created_at":"2016-04-28T20:05:28Z","updated_at":"2016-05-06T17:48:55Z","pushed_at":"2016-05-20T17:38:36Z","git_url":"git://github.com/alleyinteractive/editor-footnotes.git","ssh_url":"git@github.com:alleyinteractive/editor-footnotes.git","clone_url":"https://github.com/alleyinteractive/editor-footnotes.git","svn_url":"https://github.com/alleyinteractive/editor-footnotes","homepage":null,"size":16,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alleyinteractive/editor-footnotes/pulls/2"},"html":{"href":"https://github.com/alleyinteractive/editor-footnotes/pull/2"},"issue":{"href":"https://api.github.com/repos/alleyinteractive/editor-footnotes/issues/2"},"comments":{"href":"https://api.github.com/repos/alleyinteractive/editor-footnotes/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/alleyinteractive/editor-footnotes/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/alleyinteractive/editor-footnotes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alleyinteractive/editor-footnotes/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/alleyinteractive/editor-footnotes/statuses/ff6a53d587bf1ef17f598e071a55c94f7df95fbb"}}}}
{"actor":{"display_login":"nschoenholtz"}}