{"action":"closed","number":1201,"pull_request":{"url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/pulls/1201","id":147135218,"html_url":"https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/pull/1201","diff_url":"https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/pull/1201.diff","patch_url":"https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/pull/1201.patch","issue_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/1201","number":1201,"state":"closed","locked":false,"title":"AutoEscapedFunctions: add `get_submit_button()`","user":{"login":"jrfnl","id":663378,"avatar_url":"https://avatars1.githubusercontent.com/u/663378?v=4","gravatar_id":"","url":"https://api.github.com/users/jrfnl","html_url":"https://github.com/jrfnl","followers_url":"https://api.github.com/users/jrfnl/followers","following_url":"https://api.github.com/users/jrfnl/following{/other_user}","gists_url":"https://api.github.com/users/jrfnl/gists{/gist_id}","starred_url":"https://api.github.com/users/jrfnl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrfnl/subscriptions","organizations_url":"https://api.github.com/users/jrfnl/orgs","repos_url":"https://api.github.com/users/jrfnl/repos","events_url":"https://api.github.com/users/jrfnl/events{/privacy}","received_events_url":"https://api.github.com/users/jrfnl/received_events","type":"User","site_admin":false},"body":"Looks like this function correctly escapes everything for output and does not have a filter which could undo things.\r\n\r\nRef: https://developer.wordpress.org/reference/functions/get_submit_button/","created_at":"2017-10-17T19:46:11Z","updated_at":"2017-10-19T00:23:40Z","closed_at":"2017-10-19T00:23:40Z","merged_at":null,"merge_commit_sha":"b7c1188faa97cc40323fccb2030c03da920b5ae9","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":{"url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/milestones/14","html_url":"https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/milestone/14","labels_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/milestones/14/labels","id":2646516,"number":14,"title":"0.14.0","description":"","creator":{"login":"jrfnl","id":663378,"avatar_url":"https://avatars1.githubusercontent.com/u/663378?v=4","gravatar_id":"","url":"https://api.github.com/users/jrfnl","html_url":"https://github.com/jrfnl","followers_url":"https://api.github.com/users/jrfnl/followers","following_url":"https://api.github.com/users/jrfnl/following{/other_user}","gists_url":"https://api.github.com/users/jrfnl/gists{/gist_id}","starred_url":"https://api.github.com/users/jrfnl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrfnl/subscriptions","organizations_url":"https://api.github.com/users/jrfnl/orgs","repos_url":"https://api.github.com/users/jrfnl/repos","events_url":"https://api.github.com/users/jrfnl/events{/privacy}","received_events_url":"https://api.github.com/users/jrfnl/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":78,"state":"open","created_at":"2017-07-18T03:03:09Z","updated_at":"2017-10-19T00:23:40Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/pulls/1201/commits","review_comments_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/pulls/1201/comments","review_comment_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/pulls/comments{/number}","comments_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/1201/comments","statuses_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/statuses/43db17d9653769e80b07597009c64a3d4bcc13ae","head":{"label":"WordPress-Coding-Standards:feature/add-autoescaped-function","ref":"feature/add-autoescaped-function","sha":"43db17d9653769e80b07597009c64a3d4bcc13ae","user":{"login":"WordPress-Coding-Standards","id":3841697,"avatar_url":"https://avatars2.githubusercontent.com/u/3841697?v=4","gravatar_id":"","url":"https://api.github.com/users/WordPress-Coding-Standards","html_url":"https://github.com/WordPress-Coding-Standards","followers_url":"https://api.github.com/users/WordPress-Coding-Standards/followers","following_url":"https://api.github.com/users/WordPress-Coding-Standards/following{/other_user}","gists_url":"https://api.github.com/users/WordPress-Coding-Standards/gists{/gist_id}","starred_url":"https://api.github.com/users/WordPress-Coding-Standards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WordPress-Coding-Standards/subscriptions","organizations_url":"https://api.github.com/users/WordPress-Coding-Standards/orgs","repos_url":"https://api.github.com/users/WordPress-Coding-Standards/repos","events_url":"https://api.github.com/users/WordPress-Coding-Standards/events{/privacy}","received_events_url":"https://api.github.com/users/WordPress-Coding-Standards/received_events","type":"Organization","site_admin":false},"repo":{"id":1691187,"name":"WordPress-Coding-Standards","full_name":"WordPress-Coding-Standards/WordPress-Coding-Standards","owner":{"login":"WordPress-Coding-Standards","id":3841697,"avatar_url":"https://avatars2.githubusercontent.com/u/3841697?v=4","gravatar_id":"","url":"https://api.github.com/users/WordPress-Coding-Standards","html_url":"https://github.com/WordPress-Coding-Standards","followers_url":"https://api.github.com/users/WordPress-Coding-Standards/followers","following_url":"https://api.github.com/users/WordPress-Coding-Standards/following{/other_user}","gists_url":"https://api.github.com/users/WordPress-Coding-Standards/gists{/gist_id}","starred_url":"https://api.github.com/users/WordPress-Coding-Standards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WordPress-Coding-Standards/subscriptions","organizations_url":"https://api.github.com/users/WordPress-Coding-Standards/orgs","repos_url":"https://api.github.com/users/WordPress-Coding-Standards/repos","events_url":"https://api.github.com/users/WordPress-Coding-Standards/events{/privacy}","received_events_url":"https://api.github.com/users/WordPress-Coding-Standards/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards","description":"PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions","fork":false,"url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards","forks_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/forks","keys_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/teams","hooks_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/hooks","issue_events_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/events{/number}","events_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/events","assignees_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/assignees{/user}","branches_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/branches{/branch}","tags_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/tags","blobs_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/git/refs{/sha}","trees_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/statuses/{sha}","languages_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/languages","stargazers_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/stargazers","contributors_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/contributors","subscribers_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/subscribers","subscription_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/subscription","commits_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/commits{/sha}","git_commits_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/git/commits{/sha}","comments_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/comments{/number}","issue_comment_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/comments{/number}","contents_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/contents/{+path}","compare_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/merges","archive_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/downloads","issues_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues{/number}","pulls_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/pulls{/number}","milestones_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/milestones{/number}","notifications_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/labels{/name}","releases_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/releases{/id}","deployments_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/deployments","created_at":"2011-05-02T12:49:18Z","updated_at":"2017-10-18T17:13:39Z","pushed_at":"2017-10-18T22:21:48Z","git_url":"git://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards.git","ssh_url":"git@github.com:WordPress-Coding-Standards/WordPress-Coding-Standards.git","clone_url":"https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards.git","svn_url":"https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards","homepage":"","size":2354,"stargazers_count":1070,"watchers_count":1070,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":231,"mirror_url":null,"open_issues_count":149,"forks":231,"open_issues":149,"watchers":1070,"default_branch":"develop"}},"base":{"label":"WordPress-Coding-Standards:develop","ref":"develop","sha":"0875c0a44dcb9f790023ae631d0548c13e6700e5","user":{"login":"WordPress-Coding-Standards","id":3841697,"avatar_url":"https://avatars2.githubusercontent.com/u/3841697?v=4","gravatar_id":"","url":"https://api.github.com/users/WordPress-Coding-Standards","html_url":"https://github.com/WordPress-Coding-Standards","followers_url":"https://api.github.com/users/WordPress-Coding-Standards/followers","following_url":"https://api.github.com/users/WordPress-Coding-Standards/following{/other_user}","gists_url":"https://api.github.com/users/WordPress-Coding-Standards/gists{/gist_id}","starred_url":"https://api.github.com/users/WordPress-Coding-Standards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WordPress-Coding-Standards/subscriptions","organizations_url":"https://api.github.com/users/WordPress-Coding-Standards/orgs","repos_url":"https://api.github.com/users/WordPress-Coding-Standards/repos","events_url":"https://api.github.com/users/WordPress-Coding-Standards/events{/privacy}","received_events_url":"https://api.github.com/users/WordPress-Coding-Standards/received_events","type":"Organization","site_admin":false},"repo":{"id":1691187,"name":"WordPress-Coding-Standards","full_name":"WordPress-Coding-Standards/WordPress-Coding-Standards","owner":{"login":"WordPress-Coding-Standards","id":3841697,"avatar_url":"https://avatars2.githubusercontent.com/u/3841697?v=4","gravatar_id":"","url":"https://api.github.com/users/WordPress-Coding-Standards","html_url":"https://github.com/WordPress-Coding-Standards","followers_url":"https://api.github.com/users/WordPress-Coding-Standards/followers","following_url":"https://api.github.com/users/WordPress-Coding-Standards/following{/other_user}","gists_url":"https://api.github.com/users/WordPress-Coding-Standards/gists{/gist_id}","starred_url":"https://api.github.com/users/WordPress-Coding-Standards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WordPress-Coding-Standards/subscriptions","organizations_url":"https://api.github.com/users/WordPress-Coding-Standards/orgs","repos_url":"https://api.github.com/users/WordPress-Coding-Standards/repos","events_url":"https://api.github.com/users/WordPress-Coding-Standards/events{/privacy}","received_events_url":"https://api.github.com/users/WordPress-Coding-Standards/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards","description":"PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions","fork":false,"url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards","forks_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/forks","keys_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/teams","hooks_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/hooks","issue_events_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/events{/number}","events_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/events","assignees_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/assignees{/user}","branches_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/branches{/branch}","tags_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/tags","blobs_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/git/refs{/sha}","trees_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/statuses/{sha}","languages_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/languages","stargazers_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/stargazers","contributors_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/contributors","subscribers_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/subscribers","subscription_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/subscription","commits_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/commits{/sha}","git_commits_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/git/commits{/sha}","comments_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/comments{/number}","issue_comment_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/comments{/number}","contents_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/contents/{+path}","compare_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/merges","archive_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/downloads","issues_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues{/number}","pulls_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/pulls{/number}","milestones_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/milestones{/number}","notifications_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/labels{/name}","releases_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/releases{/id}","deployments_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/deployments","created_at":"2011-05-02T12:49:18Z","updated_at":"2017-10-18T17:13:39Z","pushed_at":"2017-10-18T22:21:48Z","git_url":"git://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards.git","ssh_url":"git@github.com:WordPress-Coding-Standards/WordPress-Coding-Standards.git","clone_url":"https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards.git","svn_url":"https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards","homepage":"","size":2354,"stargazers_count":1070,"watchers_count":1070,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":231,"mirror_url":null,"open_issues_count":149,"forks":231,"open_issues":149,"watchers":1070,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/pulls/1201"},"html":{"href":"https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/pull/1201"},"issue":{"href":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/1201"},"comments":{"href":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/1201/comments"},"review_comments":{"href":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/pulls/1201/comments"},"review_comment":{"href":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/pulls/1201/commits"},"statuses":{"href":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/statuses/43db17d9653769e80b07597009c64a3d4bcc13ae"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"clean","merged_by":null,"comments":4,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"jrfnl"}}