{"action":"closed","number":19,"pull_request":{"url":"https://api.github.com/repos/WordPress/twentyseventeen/pulls/19","id":84742500,"html_url":"https://github.com/WordPress/twentyseventeen/pull/19","diff_url":"https://github.com/WordPress/twentyseventeen/pull/19.diff","patch_url":"https://github.com/WordPress/twentyseventeen/pull/19.patch","issue_url":"https://api.github.com/repos/WordPress/twentyseventeen/issues/19","number":19,"state":"closed","locked":false,"title":"Fixed duplicated escaping for post_class()","user":{"login":"claudiosmweb","id":1264099,"avatar_url":"https://avatars.githubusercontent.com/u/1264099?v=3","gravatar_id":"","url":"https://api.github.com/users/claudiosmweb","html_url":"https://github.com/claudiosmweb","followers_url":"https://api.github.com/users/claudiosmweb/followers","following_url":"https://api.github.com/users/claudiosmweb/following{/other_user}","gists_url":"https://api.github.com/users/claudiosmweb/gists{/gist_id}","starred_url":"https://api.github.com/users/claudiosmweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claudiosmweb/subscriptions","organizations_url":"https://api.github.com/users/claudiosmweb/orgs","repos_url":"https://api.github.com/users/claudiosmweb/repos","events_url":"https://api.github.com/users/claudiosmweb/events{/privacy}","received_events_url":"https://api.github.com/users/claudiosmweb/received_events","type":"User","site_admin":false},"body":"[`get_post_class()`](https://developer.wordpress.org/reference/functions/get_post_class/) already apply `esc_attr()` for each class.\r\n\r\nHere a test:\r\n\r\n```\r\n$ wp shell\r\nwp> get_post_class( 'testing <script>alert(1)</script>', 1 )\r\n=> array(9) {\r\n  [0]=>\r\n  string(7) \"testing\"\r\n  [1]=>\r\n  string(37) \"&lt;script&gt;alert(1)&lt;/script&gt;\"\r\n  [2]=>\r\n  string(6) \"post-1\"\r\n  [3]=>\r\n  string(4) \"post\"\r\n  [4]=>\r\n  string(9) \"type-post\"\r\n  [5]=>\r\n  string(14) \"status-publish\"\r\n  [6]=>\r\n  string(15) \"format-standard\"\r\n  [7]=>\r\n  string(6) \"hentry\"\r\n  [8]=>\r\n  string(22) \"category-sem-categoria\"\r\n}\r\n```\r\n\r\nwp.org username: claudiosanches","created_at":"2016-09-10T02:54:56Z","updated_at":"2016-09-29T20:55:00Z","closed_at":"2016-09-29T20:55:00Z","merged_at":"2016-09-29T20:55:00Z","merge_commit_sha":"a066663fa47cb82b8e4f7a1b2cccc2258f4aa807","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/WordPress/twentyseventeen/pulls/19/commits","review_comments_url":"https://api.github.com/repos/WordPress/twentyseventeen/pulls/19/comments","review_comment_url":"https://api.github.com/repos/WordPress/twentyseventeen/pulls/comments{/number}","comments_url":"https://api.github.com/repos/WordPress/twentyseventeen/issues/19/comments","statuses_url":"https://api.github.com/repos/WordPress/twentyseventeen/statuses/85ca7c7f00b128fc65b7767dde1ea09a6c25dd8a","head":{"label":"claudiosmweb:fix-duplicated-escape-post_class","ref":"fix-duplicated-escape-post_class","sha":"85ca7c7f00b128fc65b7767dde1ea09a6c25dd8a","user":{"login":"claudiosmweb","id":1264099,"avatar_url":"https://avatars.githubusercontent.com/u/1264099?v=3","gravatar_id":"","url":"https://api.github.com/users/claudiosmweb","html_url":"https://github.com/claudiosmweb","followers_url":"https://api.github.com/users/claudiosmweb/followers","following_url":"https://api.github.com/users/claudiosmweb/following{/other_user}","gists_url":"https://api.github.com/users/claudiosmweb/gists{/gist_id}","starred_url":"https://api.github.com/users/claudiosmweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claudiosmweb/subscriptions","organizations_url":"https://api.github.com/users/claudiosmweb/orgs","repos_url":"https://api.github.com/users/claudiosmweb/repos","events_url":"https://api.github.com/users/claudiosmweb/events{/privacy}","received_events_url":"https://api.github.com/users/claudiosmweb/received_events","type":"User","site_admin":false},"repo":{"id":67845642,"name":"twentyseventeen","full_name":"claudiosmweb/twentyseventeen","owner":{"login":"claudiosmweb","id":1264099,"avatar_url":"https://avatars.githubusercontent.com/u/1264099?v=3","gravatar_id":"","url":"https://api.github.com/users/claudiosmweb","html_url":"https://github.com/claudiosmweb","followers_url":"https://api.github.com/users/claudiosmweb/followers","following_url":"https://api.github.com/users/claudiosmweb/following{/other_user}","gists_url":"https://api.github.com/users/claudiosmweb/gists{/gist_id}","starred_url":"https://api.github.com/users/claudiosmweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claudiosmweb/subscriptions","organizations_url":"https://api.github.com/users/claudiosmweb/orgs","repos_url":"https://api.github.com/users/claudiosmweb/repos","events_url":"https://api.github.com/users/claudiosmweb/events{/privacy}","received_events_url":"https://api.github.com/users/claudiosmweb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/claudiosmweb/twentyseventeen","description":"Twenty Seventeen theme","fork":true,"url":"https://api.github.com/repos/claudiosmweb/twentyseventeen","forks_url":"https://api.github.com/repos/claudiosmweb/twentyseventeen/forks","keys_url":"https://api.github.com/repos/claudiosmweb/twentyseventeen/keys{/key_id}","collaborators_url":"https://api.github.com/repos/claudiosmweb/twentyseventeen/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/claudiosmweb/twentyseventeen/teams","hooks_url":"https://api.github.com/repos/claudiosmweb/twentyseventeen/hooks","issue_events_url":"https://api.github.com/repos/claudiosmweb/twentyseventeen/issues/events{/number}","events_url":"https://api.github.com/repos/claudiosmweb/twentyseventeen/events","assignees_url":"https://api.github.com/repos/claudiosmweb/twentyseventeen/assignees{/user}","branches_url":"https://api.github.com/repos/claudiosmweb/twentyseventeen/branches{/branch}","tags_url":"https://api.github.com/repos/claudiosmweb/twentyseventeen/tags","blobs_url":"https://api.github.com/repos/claudiosmweb/twentyseventeen/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/claudiosmweb/twentyseventeen/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/claudiosmweb/twentyseventeen/git/refs{/sha}","trees_url":"https://api.github.com/repos/claudiosmweb/twentyseventeen/git/trees{/sha}","statuses_url":"https://api.github.com/repos/claudiosmweb/twentyseventeen/statuses/{sha}","languages_url":"https://api.github.com/repos/claudiosmweb/twentyseventeen/languages","stargazers_url":"https://api.github.com/repos/claudiosmweb/twentyseventeen/stargazers","contributors_url":"https://api.github.com/repos/claudiosmweb/twentyseventeen/contributors","subscribers_url":"https://api.github.com/repos/claudiosmweb/twentyseventeen/subscribers","subscription_url":"https://api.github.com/repos/claudiosmweb/twentyseventeen/subscription","commits_url":"https://api.github.com/repos/claudiosmweb/twentyseventeen/commits{/sha}","git_commits_url":"https://api.github.com/repos/claudiosmweb/twentyseventeen/git/commits{/sha}","comments_url":"https://api.github.com/repos/claudiosmweb/twentyseventeen/comments{/number}","issue_comment_url":"https://api.github.com/repos/claudiosmweb/twentyseventeen/issues/comments{/number}","contents_url":"https://api.github.com/repos/claudiosmweb/twentyseventeen/contents/{+path}","compare_url":"https://api.github.com/repos/claudiosmweb/twentyseventeen/compare/{base}...{head}","merges_url":"https://api.github.com/repos/claudiosmweb/twentyseventeen/merges","archive_url":"https://api.github.com/repos/claudiosmweb/twentyseventeen/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/claudiosmweb/twentyseventeen/downloads","issues_url":"https://api.github.com/repos/claudiosmweb/twentyseventeen/issues{/number}","pulls_url":"https://api.github.com/repos/claudiosmweb/twentyseventeen/pulls{/number}","milestones_url":"https://api.github.com/repos/claudiosmweb/twentyseventeen/milestones{/number}","notifications_url":"https://api.github.com/repos/claudiosmweb/twentyseventeen/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/claudiosmweb/twentyseventeen/labels{/name}","releases_url":"https://api.github.com/repos/claudiosmweb/twentyseventeen/releases{/id}","deployments_url":"https://api.github.com/repos/claudiosmweb/twentyseventeen/deployments","created_at":"2016-09-10T02:22:02Z","updated_at":"2016-09-10T02:22:02Z","pushed_at":"2016-09-10T02:52:55Z","git_url":"git://github.com/claudiosmweb/twentyseventeen.git","ssh_url":"git@github.com:claudiosmweb/twentyseventeen.git","clone_url":"https://github.com/claudiosmweb/twentyseventeen.git","svn_url":"https://github.com/claudiosmweb/twentyseventeen","homepage":null,"size":324,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"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":"WordPress:master","ref":"master","sha":"69482880b4ae2ec145f60df417423665581a5653","user":{"login":"WordPress","id":276006,"avatar_url":"https://avatars.githubusercontent.com/u/276006?v=3","gravatar_id":"","url":"https://api.github.com/users/WordPress","html_url":"https://github.com/WordPress","followers_url":"https://api.github.com/users/WordPress/followers","following_url":"https://api.github.com/users/WordPress/following{/other_user}","gists_url":"https://api.github.com/users/WordPress/gists{/gist_id}","starred_url":"https://api.github.com/users/WordPress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WordPress/subscriptions","organizations_url":"https://api.github.com/users/WordPress/orgs","repos_url":"https://api.github.com/users/WordPress/repos","events_url":"https://api.github.com/users/WordPress/events{/privacy}","received_events_url":"https://api.github.com/users/WordPress/received_events","type":"Organization","site_admin":false},"repo":{"id":67816681,"name":"twentyseventeen","full_name":"WordPress/twentyseventeen","owner":{"login":"WordPress","id":276006,"avatar_url":"https://avatars.githubusercontent.com/u/276006?v=3","gravatar_id":"","url":"https://api.github.com/users/WordPress","html_url":"https://github.com/WordPress","followers_url":"https://api.github.com/users/WordPress/followers","following_url":"https://api.github.com/users/WordPress/following{/other_user}","gists_url":"https://api.github.com/users/WordPress/gists{/gist_id}","starred_url":"https://api.github.com/users/WordPress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WordPress/subscriptions","organizations_url":"https://api.github.com/users/WordPress/orgs","repos_url":"https://api.github.com/users/WordPress/repos","events_url":"https://api.github.com/users/WordPress/events{/privacy}","received_events_url":"https://api.github.com/users/WordPress/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WordPress/twentyseventeen","description":"Meet Twenty Seventeen, the next default theme for WordPress.","fork":false,"url":"https://api.github.com/repos/WordPress/twentyseventeen","forks_url":"https://api.github.com/repos/WordPress/twentyseventeen/forks","keys_url":"https://api.github.com/repos/WordPress/twentyseventeen/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WordPress/twentyseventeen/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WordPress/twentyseventeen/teams","hooks_url":"https://api.github.com/repos/WordPress/twentyseventeen/hooks","issue_events_url":"https://api.github.com/repos/WordPress/twentyseventeen/issues/events{/number}","events_url":"https://api.github.com/repos/WordPress/twentyseventeen/events","assignees_url":"https://api.github.com/repos/WordPress/twentyseventeen/assignees{/user}","branches_url":"https://api.github.com/repos/WordPress/twentyseventeen/branches{/branch}","tags_url":"https://api.github.com/repos/WordPress/twentyseventeen/tags","blobs_url":"https://api.github.com/repos/WordPress/twentyseventeen/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WordPress/twentyseventeen/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WordPress/twentyseventeen/git/refs{/sha}","trees_url":"https://api.github.com/repos/WordPress/twentyseventeen/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WordPress/twentyseventeen/statuses/{sha}","languages_url":"https://api.github.com/repos/WordPress/twentyseventeen/languages","stargazers_url":"https://api.github.com/repos/WordPress/twentyseventeen/stargazers","contributors_url":"https://api.github.com/repos/WordPress/twentyseventeen/contributors","subscribers_url":"https://api.github.com/repos/WordPress/twentyseventeen/subscribers","subscription_url":"https://api.github.com/repos/WordPress/twentyseventeen/subscription","commits_url":"https://api.github.com/repos/WordPress/twentyseventeen/commits{/sha}","git_commits_url":"https://api.github.com/repos/WordPress/twentyseventeen/git/commits{/sha}","comments_url":"https://api.github.com/repos/WordPress/twentyseventeen/comments{/number}","issue_comment_url":"https://api.github.com/repos/WordPress/twentyseventeen/issues/comments{/number}","contents_url":"https://api.github.com/repos/WordPress/twentyseventeen/contents/{+path}","compare_url":"https://api.github.com/repos/WordPress/twentyseventeen/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WordPress/twentyseventeen/merges","archive_url":"https://api.github.com/repos/WordPress/twentyseventeen/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WordPress/twentyseventeen/downloads","issues_url":"https://api.github.com/repos/WordPress/twentyseventeen/issues{/number}","pulls_url":"https://api.github.com/repos/WordPress/twentyseventeen/pulls{/number}","milestones_url":"https://api.github.com/repos/WordPress/twentyseventeen/milestones{/number}","notifications_url":"https://api.github.com/repos/WordPress/twentyseventeen/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WordPress/twentyseventeen/labels{/name}","releases_url":"https://api.github.com/repos/WordPress/twentyseventeen/releases{/id}","deployments_url":"https://api.github.com/repos/WordPress/twentyseventeen/deployments","created_at":"2016-09-09T16:58:42Z","updated_at":"2016-09-29T08:43:03Z","pushed_at":"2016-09-29T20:55:00Z","git_url":"git://github.com/WordPress/twentyseventeen.git","ssh_url":"git@github.com:WordPress/twentyseventeen.git","clone_url":"https://github.com/WordPress/twentyseventeen.git","svn_url":"https://github.com/WordPress/twentyseventeen","homepage":"","size":572,"stargazers_count":99,"watchers_count":99,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":56,"mirror_url":null,"open_issues_count":48,"forks":56,"open_issues":48,"watchers":99,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/WordPress/twentyseventeen/pulls/19"},"html":{"href":"https://github.com/WordPress/twentyseventeen/pull/19"},"issue":{"href":"https://api.github.com/repos/WordPress/twentyseventeen/issues/19"},"comments":{"href":"https://api.github.com/repos/WordPress/twentyseventeen/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/WordPress/twentyseventeen/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/WordPress/twentyseventeen/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/WordPress/twentyseventeen/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/WordPress/twentyseventeen/statuses/85ca7c7f00b128fc65b7767dde1ea09a6c25dd8a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"davidakennedy","id":1473618,"avatar_url":"https://avatars.githubusercontent.com/u/1473618?v=3","gravatar_id":"","url":"https://api.github.com/users/davidakennedy","html_url":"https://github.com/davidakennedy","followers_url":"https://api.github.com/users/davidakennedy/followers","following_url":"https://api.github.com/users/davidakennedy/following{/other_user}","gists_url":"https://api.github.com/users/davidakennedy/gists{/gist_id}","starred_url":"https://api.github.com/users/davidakennedy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidakennedy/subscriptions","organizations_url":"https://api.github.com/users/davidakennedy/orgs","repos_url":"https://api.github.com/users/davidakennedy/repos","events_url":"https://api.github.com/users/davidakennedy/events{/privacy}","received_events_url":"https://api.github.com/users/davidakennedy/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"davidakennedy"}}