{"action":"created","comment":{"url":"https://api.github.com/repos/WordPress/twentysixteen/pulls/comments/41477059","id":41477059,"diff_hunk":"@@ -337,3 +337,25 @@ function twentysixteen_hex2rgb( $color ) {\n  * Customizer additions.\n  */\n require get_template_directory() . '/inc/customizer.php';\n+\n+/*\n+ * Add image size to enhance responsive image functionality\n+ *\n+ * @link https://developer.wordpress.org/reference/functions/add_image_size/\n+ */\n+add_image_size( 'max-content', 600, 600 );\n+\n+/*\n+ * Add custom image sizes attribute to enhance responsive image functionality\n+ *\n+ * @link https://core.trac.wordpress.org/browser/trunk/src/wp-includes/media.php#L1035\n+ */\n+add_filter( 'wp_image_sizes_args', 'twentysixteen_image_sizes_attr', 10 , 3 );","path":"functions.php","position":56,"original_position":56,"commit_id":"f10c69d8e1d3f5d0cb740f0b9b1ef32a486b5565","original_commit_id":"f10c69d8e1d3f5d0cb740f0b9b1ef32a486b5565","user":{"login":"iamtakashi","id":908665,"avatar_url":"https://avatars.githubusercontent.com/u/908665?v=3","gravatar_id":"","url":"https://api.github.com/users/iamtakashi","html_url":"https://github.com/iamtakashi","followers_url":"https://api.github.com/users/iamtakashi/followers","following_url":"https://api.github.com/users/iamtakashi/following{/other_user}","gists_url":"https://api.github.com/users/iamtakashi/gists{/gist_id}","starred_url":"https://api.github.com/users/iamtakashi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamtakashi/subscriptions","organizations_url":"https://api.github.com/users/iamtakashi/orgs","repos_url":"https://api.github.com/users/iamtakashi/repos","events_url":"https://api.github.com/users/iamtakashi/events{/privacy}","received_events_url":"https://api.github.com/users/iamtakashi/received_events","type":"User","site_admin":false},"body":"It's minor but could you move this after the function for the sake of consistency? ","created_at":"2015-10-08T05:21:52Z","updated_at":"2015-10-08T05:21:52Z","html_url":"https://github.com/WordPress/twentysixteen/pull/347#discussion_r41477059","pull_request_url":"https://api.github.com/repos/WordPress/twentysixteen/pulls/347","_links":{"self":{"href":"https://api.github.com/repos/WordPress/twentysixteen/pulls/comments/41477059"},"html":{"href":"https://github.com/WordPress/twentysixteen/pull/347#discussion_r41477059"},"pull_request":{"href":"https://api.github.com/repos/WordPress/twentysixteen/pulls/347"}}},"pull_request":{"url":"https://api.github.com/repos/WordPress/twentysixteen/pulls/347","id":47107483,"html_url":"https://github.com/WordPress/twentysixteen/pull/347","diff_url":"https://github.com/WordPress/twentysixteen/pull/347.diff","patch_url":"https://github.com/WordPress/twentysixteen/pull/347.patch","issue_url":"https://api.github.com/repos/WordPress/twentysixteen/issues/347","number":347,"state":"open","locked":false,"title":"Improving responsive image support","user":{"login":"tevko","id":4431433,"avatar_url":"https://avatars.githubusercontent.com/u/4431433?v=3","gravatar_id":"","url":"https://api.github.com/users/tevko","html_url":"https://github.com/tevko","followers_url":"https://api.github.com/users/tevko/followers","following_url":"https://api.github.com/users/tevko/following{/other_user}","gists_url":"https://api.github.com/users/tevko/gists{/gist_id}","starred_url":"https://api.github.com/users/tevko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tevko/subscriptions","organizations_url":"https://api.github.com/users/tevko/orgs","repos_url":"https://api.github.com/users/tevko/repos","events_url":"https://api.github.com/users/tevko/events{/privacy}","received_events_url":"https://api.github.com/users/tevko/received_events","type":"User","site_admin":false},"body":"This PR adds one extra image size to fill the gap between 300px wide images and 1024px wide images, ensuring coverage between various screen sizes and DPI measurements. It also adds full responsive image support to the customizable header image, while ensuring the post thumbnails, content images, and image attachment pages, have accurate ``sizes`` attributes","created_at":"2015-10-08T03:14:43Z","updated_at":"2015-10-08T05:21:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"79c43d94fdc3e93e4f1a48055bbb10fcba1894b3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/WordPress/twentysixteen/pulls/347/commits","review_comments_url":"https://api.github.com/repos/WordPress/twentysixteen/pulls/347/comments","review_comment_url":"https://api.github.com/repos/WordPress/twentysixteen/pulls/comments{/number}","comments_url":"https://api.github.com/repos/WordPress/twentysixteen/issues/347/comments","statuses_url":"https://api.github.com/repos/WordPress/twentysixteen/statuses/f10c69d8e1d3f5d0cb740f0b9b1ef32a486b5565","head":{"label":"tevko:master","ref":"master","sha":"f10c69d8e1d3f5d0cb740f0b9b1ef32a486b5565","user":{"login":"tevko","id":4431433,"avatar_url":"https://avatars.githubusercontent.com/u/4431433?v=3","gravatar_id":"","url":"https://api.github.com/users/tevko","html_url":"https://github.com/tevko","followers_url":"https://api.github.com/users/tevko/followers","following_url":"https://api.github.com/users/tevko/following{/other_user}","gists_url":"https://api.github.com/users/tevko/gists{/gist_id}","starred_url":"https://api.github.com/users/tevko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tevko/subscriptions","organizations_url":"https://api.github.com/users/tevko/orgs","repos_url":"https://api.github.com/users/tevko/repos","events_url":"https://api.github.com/users/tevko/events{/privacy}","received_events_url":"https://api.github.com/users/tevko/received_events","type":"User","site_admin":false},"repo":{"id":43857668,"name":"twentysixteen","full_name":"tevko/twentysixteen","owner":{"login":"tevko","id":4431433,"avatar_url":"https://avatars.githubusercontent.com/u/4431433?v=3","gravatar_id":"","url":"https://api.github.com/users/tevko","html_url":"https://github.com/tevko","followers_url":"https://api.github.com/users/tevko/followers","following_url":"https://api.github.com/users/tevko/following{/other_user}","gists_url":"https://api.github.com/users/tevko/gists{/gist_id}","starred_url":"https://api.github.com/users/tevko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tevko/subscriptions","organizations_url":"https://api.github.com/users/tevko/orgs","repos_url":"https://api.github.com/users/tevko/repos","events_url":"https://api.github.com/users/tevko/events{/privacy}","received_events_url":"https://api.github.com/users/tevko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tevko/twentysixteen","description":"","fork":true,"url":"https://api.github.com/repos/tevko/twentysixteen","forks_url":"https://api.github.com/repos/tevko/twentysixteen/forks","keys_url":"https://api.github.com/repos/tevko/twentysixteen/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tevko/twentysixteen/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tevko/twentysixteen/teams","hooks_url":"https://api.github.com/repos/tevko/twentysixteen/hooks","issue_events_url":"https://api.github.com/repos/tevko/twentysixteen/issues/events{/number}","events_url":"https://api.github.com/repos/tevko/twentysixteen/events","assignees_url":"https://api.github.com/repos/tevko/twentysixteen/assignees{/user}","branches_url":"https://api.github.com/repos/tevko/twentysixteen/branches{/branch}","tags_url":"https://api.github.com/repos/tevko/twentysixteen/tags","blobs_url":"https://api.github.com/repos/tevko/twentysixteen/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tevko/twentysixteen/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tevko/twentysixteen/git/refs{/sha}","trees_url":"https://api.github.com/repos/tevko/twentysixteen/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tevko/twentysixteen/statuses/{sha}","languages_url":"https://api.github.com/repos/tevko/twentysixteen/languages","stargazers_url":"https://api.github.com/repos/tevko/twentysixteen/stargazers","contributors_url":"https://api.github.com/repos/tevko/twentysixteen/contributors","subscribers_url":"https://api.github.com/repos/tevko/twentysixteen/subscribers","subscription_url":"https://api.github.com/repos/tevko/twentysixteen/subscription","commits_url":"https://api.github.com/repos/tevko/twentysixteen/commits{/sha}","git_commits_url":"https://api.github.com/repos/tevko/twentysixteen/git/commits{/sha}","comments_url":"https://api.github.com/repos/tevko/twentysixteen/comments{/number}","issue_comment_url":"https://api.github.com/repos/tevko/twentysixteen/issues/comments{/number}","contents_url":"https://api.github.com/repos/tevko/twentysixteen/contents/{+path}","compare_url":"https://api.github.com/repos/tevko/twentysixteen/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tevko/twentysixteen/merges","archive_url":"https://api.github.com/repos/tevko/twentysixteen/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tevko/twentysixteen/downloads","issues_url":"https://api.github.com/repos/tevko/twentysixteen/issues{/number}","pulls_url":"https://api.github.com/repos/tevko/twentysixteen/pulls{/number}","milestones_url":"https://api.github.com/repos/tevko/twentysixteen/milestones{/number}","notifications_url":"https://api.github.com/repos/tevko/twentysixteen/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tevko/twentysixteen/labels{/name}","releases_url":"https://api.github.com/repos/tevko/twentysixteen/releases{/id}","created_at":"2015-10-08T02:33:12Z","updated_at":"2015-10-08T02:33:13Z","pushed_at":"2015-10-08T03:06:18Z","git_url":"git://github.com/tevko/twentysixteen.git","ssh_url":"git@github.com:tevko/twentysixteen.git","clone_url":"https://github.com/tevko/twentysixteen.git","svn_url":"https://github.com/tevko/twentysixteen","homepage":null,"size":3185,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"37bf0cb9bed78e14a8a888dc72565d20a4243470","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":41553496,"name":"twentysixteen","full_name":"WordPress/twentysixteen","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/twentysixteen","description":"","fork":false,"url":"https://api.github.com/repos/WordPress/twentysixteen","forks_url":"https://api.github.com/repos/WordPress/twentysixteen/forks","keys_url":"https://api.github.com/repos/WordPress/twentysixteen/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WordPress/twentysixteen/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WordPress/twentysixteen/teams","hooks_url":"https://api.github.com/repos/WordPress/twentysixteen/hooks","issue_events_url":"https://api.github.com/repos/WordPress/twentysixteen/issues/events{/number}","events_url":"https://api.github.com/repos/WordPress/twentysixteen/events","assignees_url":"https://api.github.com/repos/WordPress/twentysixteen/assignees{/user}","branches_url":"https://api.github.com/repos/WordPress/twentysixteen/branches{/branch}","tags_url":"https://api.github.com/repos/WordPress/twentysixteen/tags","blobs_url":"https://api.github.com/repos/WordPress/twentysixteen/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WordPress/twentysixteen/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WordPress/twentysixteen/git/refs{/sha}","trees_url":"https://api.github.com/repos/WordPress/twentysixteen/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WordPress/twentysixteen/statuses/{sha}","languages_url":"https://api.github.com/repos/WordPress/twentysixteen/languages","stargazers_url":"https://api.github.com/repos/WordPress/twentysixteen/stargazers","contributors_url":"https://api.github.com/repos/WordPress/twentysixteen/contributors","subscribers_url":"https://api.github.com/repos/WordPress/twentysixteen/subscribers","subscription_url":"https://api.github.com/repos/WordPress/twentysixteen/subscription","commits_url":"https://api.github.com/repos/WordPress/twentysixteen/commits{/sha}","git_commits_url":"https://api.github.com/repos/WordPress/twentysixteen/git/commits{/sha}","comments_url":"https://api.github.com/repos/WordPress/twentysixteen/comments{/number}","issue_comment_url":"https://api.github.com/repos/WordPress/twentysixteen/issues/comments{/number}","contents_url":"https://api.github.com/repos/WordPress/twentysixteen/contents/{+path}","compare_url":"https://api.github.com/repos/WordPress/twentysixteen/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WordPress/twentysixteen/merges","archive_url":"https://api.github.com/repos/WordPress/twentysixteen/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WordPress/twentysixteen/downloads","issues_url":"https://api.github.com/repos/WordPress/twentysixteen/issues{/number}","pulls_url":"https://api.github.com/repos/WordPress/twentysixteen/pulls{/number}","milestones_url":"https://api.github.com/repos/WordPress/twentysixteen/milestones{/number}","notifications_url":"https://api.github.com/repos/WordPress/twentysixteen/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WordPress/twentysixteen/labels{/name}","releases_url":"https://api.github.com/repos/WordPress/twentysixteen/releases{/id}","created_at":"2015-08-28T15:05:12Z","updated_at":"2015-10-08T00:27:43Z","pushed_at":"2015-10-08T03:14:43Z","git_url":"git://github.com/WordPress/twentysixteen.git","ssh_url":"git@github.com:WordPress/twentysixteen.git","clone_url":"https://github.com/WordPress/twentysixteen.git","svn_url":"https://github.com/WordPress/twentysixteen","homepage":null,"size":3185,"stargazers_count":228,"watchers_count":228,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":107,"mirror_url":null,"open_issues_count":3,"forks":107,"open_issues":3,"watchers":228,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/WordPress/twentysixteen/pulls/347"},"html":{"href":"https://github.com/WordPress/twentysixteen/pull/347"},"issue":{"href":"https://api.github.com/repos/WordPress/twentysixteen/issues/347"},"comments":{"href":"https://api.github.com/repos/WordPress/twentysixteen/issues/347/comments"},"review_comments":{"href":"https://api.github.com/repos/WordPress/twentysixteen/pulls/347/comments"},"review_comment":{"href":"https://api.github.com/repos/WordPress/twentysixteen/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/WordPress/twentysixteen/pulls/347/commits"},"statuses":{"href":"https://api.github.com/repos/WordPress/twentysixteen/statuses/f10c69d8e1d3f5d0cb740f0b9b1ef32a486b5565"}}}}