{"action":"created","comment":{"url":"https://api.github.com/repos/phpbb/phpbb/pulls/comments/31379256","id":31379256,"diff_hunk":"@@ -30,10 +30,11 @@\n * @param string $avatar_height Height of users avatar\n * @param string $alt Optional language string for alt tag within image, can be a language key or text\n * @param bool $ignore_config Ignores the config-setting, to be still able to view the avatar in the UCP\n+* @param bool $lazy If true, will be lazy loaded (requires JS)\n *\n * @return string Avatar image\n */\n-function get_user_avatar($avatar, $avatar_type, $avatar_width, $avatar_height, $alt = 'USER_AVATAR', $ignore_config = false)\n+function get_user_avatar($avatar, $avatar_type, $avatar_width, $avatar_height, $alt = 'USER_AVATAR', $ignore_config = false, $lazy = false)","path":"phpBB/includes/functions_compatibility.php","position":9,"original_position":9,"commit_id":"9366f29fd7d0bf439b0a57bcea9f2753881b6509","original_commit_id":"9366f29fd7d0bf439b0a57bcea9f2753881b6509","user":{"login":"marc1706","id":394418,"avatar_url":"https://avatars.githubusercontent.com/u/394418?v=3","gravatar_id":"","url":"https://api.github.com/users/marc1706","html_url":"https://github.com/marc1706","followers_url":"https://api.github.com/users/marc1706/followers","following_url":"https://api.github.com/users/marc1706/following{/other_user}","gists_url":"https://api.github.com/users/marc1706/gists{/gist_id}","starred_url":"https://api.github.com/users/marc1706/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marc1706/subscriptions","organizations_url":"https://api.github.com/users/marc1706/orgs","repos_url":"https://api.github.com/users/marc1706/repos","events_url":"https://api.github.com/users/marc1706/events{/privacy}","received_events_url":"https://api.github.com/users/marc1706/received_events","type":"User","site_admin":false},"body":"Yes, please don't use the legacy function anymore ...","created_at":"2015-05-30T09:30:55Z","updated_at":"2015-05-30T09:30:55Z","html_url":"https://github.com/phpbb/phpbb/pull/3653#discussion_r31379256","pull_request_url":"https://api.github.com/repos/phpbb/phpbb/pulls/3653","_links":{"self":{"href":"https://api.github.com/repos/phpbb/phpbb/pulls/comments/31379256"},"html":{"href":"https://github.com/phpbb/phpbb/pull/3653#discussion_r31379256"},"pull_request":{"href":"https://api.github.com/repos/phpbb/phpbb/pulls/3653"}}},"pull_request":{"url":"https://api.github.com/repos/phpbb/phpbb/pulls/3653","id":36423199,"html_url":"https://github.com/phpbb/phpbb/pull/3653","diff_url":"https://github.com/phpbb/phpbb/pull/3653.diff","patch_url":"https://github.com/phpbb/phpbb/pull/3653.patch","issue_url":"https://api.github.com/repos/phpbb/phpbb/issues/3653","number":3653,"state":"open","locked":false,"title":"[ticket/13882] Lazy load the notification avatars.","user":{"login":"callumacrae","id":472830,"avatar_url":"https://avatars.githubusercontent.com/u/472830?v=3","gravatar_id":"","url":"https://api.github.com/users/callumacrae","html_url":"https://github.com/callumacrae","followers_url":"https://api.github.com/users/callumacrae/followers","following_url":"https://api.github.com/users/callumacrae/following{/other_user}","gists_url":"https://api.github.com/users/callumacrae/gists{/gist_id}","starred_url":"https://api.github.com/users/callumacrae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callumacrae/subscriptions","organizations_url":"https://api.github.com/users/callumacrae/orgs","repos_url":"https://api.github.com/users/callumacrae/repos","events_url":"https://api.github.com/users/callumacrae/events{/privacy}","received_events_url":"https://api.github.com/users/callumacrae/received_events","type":"User","site_admin":false},"body":"This moves them further down the waterfall, making the page load\r\nquicker.\r\n\r\nsorry for my crap php\r\n\r\nhttps://tracker.phpbb.com/browse/PHPBB3-13882","created_at":"2015-05-28T16:06:00Z","updated_at":"2015-05-30T09:30:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b646b8002130b471a2ede14ac3b937d299519af8","assignee":null,"milestone":{"url":"https://api.github.com/repos/phpbb/phpbb/milestones/7","html_url":"https://github.com/phpbb/phpbb/milestones/3.1.5","labels_url":"https://api.github.com/repos/phpbb/phpbb/milestones/7/labels","id":988734,"number":7,"title":"3.1.5","description":"","creator":{"login":"nickvergessen","id":213943,"avatar_url":"https://avatars.githubusercontent.com/u/213943?v=3","gravatar_id":"","url":"https://api.github.com/users/nickvergessen","html_url":"https://github.com/nickvergessen","followers_url":"https://api.github.com/users/nickvergessen/followers","following_url":"https://api.github.com/users/nickvergessen/following{/other_user}","gists_url":"https://api.github.com/users/nickvergessen/gists{/gist_id}","starred_url":"https://api.github.com/users/nickvergessen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickvergessen/subscriptions","organizations_url":"https://api.github.com/users/nickvergessen/orgs","repos_url":"https://api.github.com/users/nickvergessen/repos","events_url":"https://api.github.com/users/nickvergessen/events{/privacy}","received_events_url":"https://api.github.com/users/nickvergessen/received_events","type":"User","site_admin":false},"open_issues":42,"closed_issues":37,"state":"open","created_at":"2015-02-20T19:11:10Z","updated_at":"2015-05-30T08:53:47Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/phpbb/phpbb/pulls/3653/commits","review_comments_url":"https://api.github.com/repos/phpbb/phpbb/pulls/3653/comments","review_comment_url":"https://api.github.com/repos/phpbb/phpbb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/phpbb/phpbb/issues/3653/comments","statuses_url":"https://api.github.com/repos/phpbb/phpbb/statuses/9366f29fd7d0bf439b0a57bcea9f2753881b6509","head":{"label":"callumacrae:ticket/13882","ref":"ticket/13882","sha":"9366f29fd7d0bf439b0a57bcea9f2753881b6509","user":{"login":"callumacrae","id":472830,"avatar_url":"https://avatars.githubusercontent.com/u/472830?v=3","gravatar_id":"","url":"https://api.github.com/users/callumacrae","html_url":"https://github.com/callumacrae","followers_url":"https://api.github.com/users/callumacrae/followers","following_url":"https://api.github.com/users/callumacrae/following{/other_user}","gists_url":"https://api.github.com/users/callumacrae/gists{/gist_id}","starred_url":"https://api.github.com/users/callumacrae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callumacrae/subscriptions","organizations_url":"https://api.github.com/users/callumacrae/orgs","repos_url":"https://api.github.com/users/callumacrae/repos","events_url":"https://api.github.com/users/callumacrae/events{/privacy}","received_events_url":"https://api.github.com/users/callumacrae/received_events","type":"User","site_admin":false},"repo":{"id":2030595,"name":"phpbb","full_name":"callumacrae/phpbb","owner":{"login":"callumacrae","id":472830,"avatar_url":"https://avatars.githubusercontent.com/u/472830?v=3","gravatar_id":"","url":"https://api.github.com/users/callumacrae","html_url":"https://github.com/callumacrae","followers_url":"https://api.github.com/users/callumacrae/followers","following_url":"https://api.github.com/users/callumacrae/following{/other_user}","gists_url":"https://api.github.com/users/callumacrae/gists{/gist_id}","starred_url":"https://api.github.com/users/callumacrae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callumacrae/subscriptions","organizations_url":"https://api.github.com/users/callumacrae/orgs","repos_url":"https://api.github.com/users/callumacrae/repos","events_url":"https://api.github.com/users/callumacrae/events{/privacy}","received_events_url":"https://api.github.com/users/callumacrae/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/callumacrae/phpbb","description":" phpBB 3 Development: phpBB is a popular open-source bulletin board written in PHP. This repository also contains the history of version 2.","fork":true,"url":"https://api.github.com/repos/callumacrae/phpbb","forks_url":"https://api.github.com/repos/callumacrae/phpbb/forks","keys_url":"https://api.github.com/repos/callumacrae/phpbb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/callumacrae/phpbb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/callumacrae/phpbb/teams","hooks_url":"https://api.github.com/repos/callumacrae/phpbb/hooks","issue_events_url":"https://api.github.com/repos/callumacrae/phpbb/issues/events{/number}","events_url":"https://api.github.com/repos/callumacrae/phpbb/events","assignees_url":"https://api.github.com/repos/callumacrae/phpbb/assignees{/user}","branches_url":"https://api.github.com/repos/callumacrae/phpbb/branches{/branch}","tags_url":"https://api.github.com/repos/callumacrae/phpbb/tags","blobs_url":"https://api.github.com/repos/callumacrae/phpbb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/callumacrae/phpbb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/callumacrae/phpbb/git/refs{/sha}","trees_url":"https://api.github.com/repos/callumacrae/phpbb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/callumacrae/phpbb/statuses/{sha}","languages_url":"https://api.github.com/repos/callumacrae/phpbb/languages","stargazers_url":"https://api.github.com/repos/callumacrae/phpbb/stargazers","contributors_url":"https://api.github.com/repos/callumacrae/phpbb/contributors","subscribers_url":"https://api.github.com/repos/callumacrae/phpbb/subscribers","subscription_url":"https://api.github.com/repos/callumacrae/phpbb/subscription","commits_url":"https://api.github.com/repos/callumacrae/phpbb/commits{/sha}","git_commits_url":"https://api.github.com/repos/callumacrae/phpbb/git/commits{/sha}","comments_url":"https://api.github.com/repos/callumacrae/phpbb/comments{/number}","issue_comment_url":"https://api.github.com/repos/callumacrae/phpbb/issues/comments{/number}","contents_url":"https://api.github.com/repos/callumacrae/phpbb/contents/{+path}","compare_url":"https://api.github.com/repos/callumacrae/phpbb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/callumacrae/phpbb/merges","archive_url":"https://api.github.com/repos/callumacrae/phpbb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/callumacrae/phpbb/downloads","issues_url":"https://api.github.com/repos/callumacrae/phpbb/issues{/number}","pulls_url":"https://api.github.com/repos/callumacrae/phpbb/pulls{/number}","milestones_url":"https://api.github.com/repos/callumacrae/phpbb/milestones{/number}","notifications_url":"https://api.github.com/repos/callumacrae/phpbb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/callumacrae/phpbb/labels{/name}","releases_url":"https://api.github.com/repos/callumacrae/phpbb/releases{/id}","created_at":"2011-07-11T14:14:03Z","updated_at":"2015-05-28T10:47:29Z","pushed_at":"2015-05-30T08:49:04Z","git_url":"git://github.com/callumacrae/phpbb.git","ssh_url":"git@github.com:callumacrae/phpbb.git","clone_url":"https://github.com/callumacrae/phpbb.git","svn_url":"https://github.com/callumacrae/phpbb","homepage":"http://www.phpbb.com","size":52306,"stargazers_count":2,"watchers_count":2,"language":"PHP","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":2,"default_branch":"develop"}},"base":{"label":"phpbb:3.1.x","ref":"3.1.x","sha":"b5fed65fe326d32268f46b5915f3d7402f844bae","user":{"login":"phpbb","id":176697,"avatar_url":"https://avatars.githubusercontent.com/u/176697?v=3","gravatar_id":"","url":"https://api.github.com/users/phpbb","html_url":"https://github.com/phpbb","followers_url":"https://api.github.com/users/phpbb/followers","following_url":"https://api.github.com/users/phpbb/following{/other_user}","gists_url":"https://api.github.com/users/phpbb/gists{/gist_id}","starred_url":"https://api.github.com/users/phpbb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpbb/subscriptions","organizations_url":"https://api.github.com/users/phpbb/orgs","repos_url":"https://api.github.com/users/phpbb/repos","events_url":"https://api.github.com/users/phpbb/events{/privacy}","received_events_url":"https://api.github.com/users/phpbb/received_events","type":"Organization","site_admin":false},"repo":{"id":541983,"name":"phpbb","full_name":"phpbb/phpbb","owner":{"login":"phpbb","id":176697,"avatar_url":"https://avatars.githubusercontent.com/u/176697?v=3","gravatar_id":"","url":"https://api.github.com/users/phpbb","html_url":"https://github.com/phpbb","followers_url":"https://api.github.com/users/phpbb/followers","following_url":"https://api.github.com/users/phpbb/following{/other_user}","gists_url":"https://api.github.com/users/phpbb/gists{/gist_id}","starred_url":"https://api.github.com/users/phpbb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpbb/subscriptions","organizations_url":"https://api.github.com/users/phpbb/orgs","repos_url":"https://api.github.com/users/phpbb/repos","events_url":"https://api.github.com/users/phpbb/events{/privacy}","received_events_url":"https://api.github.com/users/phpbb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/phpbb/phpbb","description":" phpBB 3 Development: phpBB is a popular open-source bulletin board written in PHP. This repository also contains the history of version 2.","fork":false,"url":"https://api.github.com/repos/phpbb/phpbb","forks_url":"https://api.github.com/repos/phpbb/phpbb/forks","keys_url":"https://api.github.com/repos/phpbb/phpbb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phpbb/phpbb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phpbb/phpbb/teams","hooks_url":"https://api.github.com/repos/phpbb/phpbb/hooks","issue_events_url":"https://api.github.com/repos/phpbb/phpbb/issues/events{/number}","events_url":"https://api.github.com/repos/phpbb/phpbb/events","assignees_url":"https://api.github.com/repos/phpbb/phpbb/assignees{/user}","branches_url":"https://api.github.com/repos/phpbb/phpbb/branches{/branch}","tags_url":"https://api.github.com/repos/phpbb/phpbb/tags","blobs_url":"https://api.github.com/repos/phpbb/phpbb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phpbb/phpbb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phpbb/phpbb/git/refs{/sha}","trees_url":"https://api.github.com/repos/phpbb/phpbb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phpbb/phpbb/statuses/{sha}","languages_url":"https://api.github.com/repos/phpbb/phpbb/languages","stargazers_url":"https://api.github.com/repos/phpbb/phpbb/stargazers","contributors_url":"https://api.github.com/repos/phpbb/phpbb/contributors","subscribers_url":"https://api.github.com/repos/phpbb/phpbb/subscribers","subscription_url":"https://api.github.com/repos/phpbb/phpbb/subscription","commits_url":"https://api.github.com/repos/phpbb/phpbb/commits{/sha}","git_commits_url":"https://api.github.com/repos/phpbb/phpbb/git/commits{/sha}","comments_url":"https://api.github.com/repos/phpbb/phpbb/comments{/number}","issue_comment_url":"https://api.github.com/repos/phpbb/phpbb/issues/comments{/number}","contents_url":"https://api.github.com/repos/phpbb/phpbb/contents/{+path}","compare_url":"https://api.github.com/repos/phpbb/phpbb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phpbb/phpbb/merges","archive_url":"https://api.github.com/repos/phpbb/phpbb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phpbb/phpbb/downloads","issues_url":"https://api.github.com/repos/phpbb/phpbb/issues{/number}","pulls_url":"https://api.github.com/repos/phpbb/phpbb/pulls{/number}","milestones_url":"https://api.github.com/repos/phpbb/phpbb/milestones{/number}","notifications_url":"https://api.github.com/repos/phpbb/phpbb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phpbb/phpbb/labels{/name}","releases_url":"https://api.github.com/repos/phpbb/phpbb/releases{/id}","created_at":"2010-03-01T22:33:17Z","updated_at":"2015-05-26T05:31:27Z","pushed_at":"2015-05-30T09:24:06Z","git_url":"git://github.com/phpbb/phpbb.git","ssh_url":"git@github.com:phpbb/phpbb.git","clone_url":"https://github.com/phpbb/phpbb.git","svn_url":"https://github.com/phpbb/phpbb","homepage":"http://www.phpbb.com","size":193880,"stargazers_count":734,"watchers_count":734,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":462,"mirror_url":null,"open_issues_count":89,"forks":462,"open_issues":89,"watchers":734,"default_branch":"3.1.x"}},"_links":{"self":{"href":"https://api.github.com/repos/phpbb/phpbb/pulls/3653"},"html":{"href":"https://github.com/phpbb/phpbb/pull/3653"},"issue":{"href":"https://api.github.com/repos/phpbb/phpbb/issues/3653"},"comments":{"href":"https://api.github.com/repos/phpbb/phpbb/issues/3653/comments"},"review_comments":{"href":"https://api.github.com/repos/phpbb/phpbb/pulls/3653/comments"},"review_comment":{"href":"https://api.github.com/repos/phpbb/phpbb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/phpbb/phpbb/pulls/3653/commits"},"statuses":{"href":"https://api.github.com/repos/phpbb/phpbb/statuses/9366f29fd7d0bf439b0a57bcea9f2753881b6509"}}}}