{"action":"created","comment":{"url":"https://api.github.com/repos/tollmanz/debug-bar-cron/pulls/comments/46983176","id":46983176,"diff_hunk":"@@ -380,6 +381,17 @@ private function display_schedules() {\n \t\t\t\t</table>';\n \t\t}\n \n+\t\t/**\n+\t\t * Sorting method for cron scheldules. Order by schedules interval.\n+\t\t *\n+\t\t * @param array $a first element of comparison  pair\n+\t\t * @param array $b second element of comparison  pair","path":"class-debug-bar-cron.php","position":16,"original_position":16,"commit_id":"13a13172b557a7f60ade1036de0a10d42887277f","original_commit_id":"13a13172b557a7f60ade1036de0a10d42887277f","user":{"login":"jrfnl","id":663378,"avatar_url":"https://avatars.githubusercontent.com/u/663378?v=3","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":"Capitals at start of comment `first` => `First` + period at the end. (Oh and let's get rid of the extra space `comparison pair`)","created_at":"2015-12-08T17:17:39Z","updated_at":"2015-12-08T17:17:39Z","html_url":"https://github.com/tollmanz/debug-bar-cron/pull/36#discussion_r46983176","pull_request_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/pulls/36","_links":{"self":{"href":"https://api.github.com/repos/tollmanz/debug-bar-cron/pulls/comments/46983176"},"html":{"href":"https://github.com/tollmanz/debug-bar-cron/pull/36#discussion_r46983176"},"pull_request":{"href":"https://api.github.com/repos/tollmanz/debug-bar-cron/pulls/36"}}},"pull_request":{"url":"https://api.github.com/repos/tollmanz/debug-bar-cron/pulls/36","id":52990078,"html_url":"https://github.com/tollmanz/debug-bar-cron/pull/36","diff_url":"https://github.com/tollmanz/debug-bar-cron/pull/36.diff","patch_url":"https://github.com/tollmanz/debug-bar-cron/pull/36.patch","issue_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/issues/36","number":36,"state":"open","locked":false,"title":"Cron schedules intervals sorting.","user":{"login":"butuzov","id":651824,"avatar_url":"https://avatars.githubusercontent.com/u/651824?v=3","gravatar_id":"","url":"https://api.github.com/users/butuzov","html_url":"https://github.com/butuzov","followers_url":"https://api.github.com/users/butuzov/followers","following_url":"https://api.github.com/users/butuzov/following{/other_user}","gists_url":"https://api.github.com/users/butuzov/gists{/gist_id}","starred_url":"https://api.github.com/users/butuzov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/butuzov/subscriptions","organizations_url":"https://api.github.com/users/butuzov/orgs","repos_url":"https://api.github.com/users/butuzov/repos","events_url":"https://api.github.com/users/butuzov/events{/privacy}","received_events_url":"https://api.github.com/users/butuzov/received_events","type":"User","site_admin":false},"body":"\r\n![debug-bar-cron](https://cloud.githubusercontent.com/assets/651824/11658763/b6b67af6-9dc4-11e5-83d1-cc4b1589fad0.png)\r\nIn case there is a lot of scheldule intervals. Intervals table can look like a \"mess\".\r\n\r\nTiny change to fix it. Compassion sorting callback added  as method to be compatible with PHP 5.2 and less hosts.","created_at":"2015-12-08T14:54:39Z","updated_at":"2015-12-08T17:17:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"01f708465912d244a69248befea67a8b618baf2b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/pulls/36/commits","review_comments_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/pulls/36/comments","review_comment_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/issues/36/comments","statuses_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/statuses/13a13172b557a7f60ade1036de0a10d42887277f","head":{"label":"butuzov:butuzov/feature/intervals-sorting","ref":"butuzov/feature/intervals-sorting","sha":"13a13172b557a7f60ade1036de0a10d42887277f","user":{"login":"butuzov","id":651824,"avatar_url":"https://avatars.githubusercontent.com/u/651824?v=3","gravatar_id":"","url":"https://api.github.com/users/butuzov","html_url":"https://github.com/butuzov","followers_url":"https://api.github.com/users/butuzov/followers","following_url":"https://api.github.com/users/butuzov/following{/other_user}","gists_url":"https://api.github.com/users/butuzov/gists{/gist_id}","starred_url":"https://api.github.com/users/butuzov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/butuzov/subscriptions","organizations_url":"https://api.github.com/users/butuzov/orgs","repos_url":"https://api.github.com/users/butuzov/repos","events_url":"https://api.github.com/users/butuzov/events{/privacy}","received_events_url":"https://api.github.com/users/butuzov/received_events","type":"User","site_admin":false},"repo":{"id":47614470,"name":"debug-bar-cron","full_name":"butuzov/debug-bar-cron","owner":{"login":"butuzov","id":651824,"avatar_url":"https://avatars.githubusercontent.com/u/651824?v=3","gravatar_id":"","url":"https://api.github.com/users/butuzov","html_url":"https://github.com/butuzov","followers_url":"https://api.github.com/users/butuzov/followers","following_url":"https://api.github.com/users/butuzov/following{/other_user}","gists_url":"https://api.github.com/users/butuzov/gists{/gist_id}","starred_url":"https://api.github.com/users/butuzov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/butuzov/subscriptions","organizations_url":"https://api.github.com/users/butuzov/orgs","repos_url":"https://api.github.com/users/butuzov/repos","events_url":"https://api.github.com/users/butuzov/events{/privacy}","received_events_url":"https://api.github.com/users/butuzov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/butuzov/debug-bar-cron","description":"Debug Bar Cron adds a new panel to Debug Bar that displays information about WP scheduled events.","fork":true,"url":"https://api.github.com/repos/butuzov/debug-bar-cron","forks_url":"https://api.github.com/repos/butuzov/debug-bar-cron/forks","keys_url":"https://api.github.com/repos/butuzov/debug-bar-cron/keys{/key_id}","collaborators_url":"https://api.github.com/repos/butuzov/debug-bar-cron/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/butuzov/debug-bar-cron/teams","hooks_url":"https://api.github.com/repos/butuzov/debug-bar-cron/hooks","issue_events_url":"https://api.github.com/repos/butuzov/debug-bar-cron/issues/events{/number}","events_url":"https://api.github.com/repos/butuzov/debug-bar-cron/events","assignees_url":"https://api.github.com/repos/butuzov/debug-bar-cron/assignees{/user}","branches_url":"https://api.github.com/repos/butuzov/debug-bar-cron/branches{/branch}","tags_url":"https://api.github.com/repos/butuzov/debug-bar-cron/tags","blobs_url":"https://api.github.com/repos/butuzov/debug-bar-cron/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/butuzov/debug-bar-cron/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/butuzov/debug-bar-cron/git/refs{/sha}","trees_url":"https://api.github.com/repos/butuzov/debug-bar-cron/git/trees{/sha}","statuses_url":"https://api.github.com/repos/butuzov/debug-bar-cron/statuses/{sha}","languages_url":"https://api.github.com/repos/butuzov/debug-bar-cron/languages","stargazers_url":"https://api.github.com/repos/butuzov/debug-bar-cron/stargazers","contributors_url":"https://api.github.com/repos/butuzov/debug-bar-cron/contributors","subscribers_url":"https://api.github.com/repos/butuzov/debug-bar-cron/subscribers","subscription_url":"https://api.github.com/repos/butuzov/debug-bar-cron/subscription","commits_url":"https://api.github.com/repos/butuzov/debug-bar-cron/commits{/sha}","git_commits_url":"https://api.github.com/repos/butuzov/debug-bar-cron/git/commits{/sha}","comments_url":"https://api.github.com/repos/butuzov/debug-bar-cron/comments{/number}","issue_comment_url":"https://api.github.com/repos/butuzov/debug-bar-cron/issues/comments{/number}","contents_url":"https://api.github.com/repos/butuzov/debug-bar-cron/contents/{+path}","compare_url":"https://api.github.com/repos/butuzov/debug-bar-cron/compare/{base}...{head}","merges_url":"https://api.github.com/repos/butuzov/debug-bar-cron/merges","archive_url":"https://api.github.com/repos/butuzov/debug-bar-cron/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/butuzov/debug-bar-cron/downloads","issues_url":"https://api.github.com/repos/butuzov/debug-bar-cron/issues{/number}","pulls_url":"https://api.github.com/repos/butuzov/debug-bar-cron/pulls{/number}","milestones_url":"https://api.github.com/repos/butuzov/debug-bar-cron/milestones{/number}","notifications_url":"https://api.github.com/repos/butuzov/debug-bar-cron/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/butuzov/debug-bar-cron/labels{/name}","releases_url":"https://api.github.com/repos/butuzov/debug-bar-cron/releases{/id}","created_at":"2015-12-08T10:13:25Z","updated_at":"2015-12-08T10:13:26Z","pushed_at":"2015-12-08T16:50:24Z","git_url":"git://github.com/butuzov/debug-bar-cron.git","ssh_url":"git@github.com:butuzov/debug-bar-cron.git","clone_url":"https://github.com/butuzov/debug-bar-cron.git","svn_url":"https://github.com/butuzov/debug-bar-cron","homepage":"","size":270,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"base":{"label":"tollmanz:master","ref":"master","sha":"2f2d8f7c41ea99ccd063c229cad6a45f2e22713c","user":{"login":"tollmanz","id":921795,"avatar_url":"https://avatars.githubusercontent.com/u/921795?v=3","gravatar_id":"","url":"https://api.github.com/users/tollmanz","html_url":"https://github.com/tollmanz","followers_url":"https://api.github.com/users/tollmanz/followers","following_url":"https://api.github.com/users/tollmanz/following{/other_user}","gists_url":"https://api.github.com/users/tollmanz/gists{/gist_id}","starred_url":"https://api.github.com/users/tollmanz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tollmanz/subscriptions","organizations_url":"https://api.github.com/users/tollmanz/orgs","repos_url":"https://api.github.com/users/tollmanz/repos","events_url":"https://api.github.com/users/tollmanz/events{/privacy}","received_events_url":"https://api.github.com/users/tollmanz/received_events","type":"User","site_admin":false},"repo":{"id":3850414,"name":"debug-bar-cron","full_name":"tollmanz/debug-bar-cron","owner":{"login":"tollmanz","id":921795,"avatar_url":"https://avatars.githubusercontent.com/u/921795?v=3","gravatar_id":"","url":"https://api.github.com/users/tollmanz","html_url":"https://github.com/tollmanz","followers_url":"https://api.github.com/users/tollmanz/followers","following_url":"https://api.github.com/users/tollmanz/following{/other_user}","gists_url":"https://api.github.com/users/tollmanz/gists{/gist_id}","starred_url":"https://api.github.com/users/tollmanz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tollmanz/subscriptions","organizations_url":"https://api.github.com/users/tollmanz/orgs","repos_url":"https://api.github.com/users/tollmanz/repos","events_url":"https://api.github.com/users/tollmanz/events{/privacy}","received_events_url":"https://api.github.com/users/tollmanz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tollmanz/debug-bar-cron","description":"Debug Bar Cron adds a new panel to Debug Bar that displays information about WP scheduled events.","fork":false,"url":"https://api.github.com/repos/tollmanz/debug-bar-cron","forks_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/forks","keys_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/teams","hooks_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/hooks","issue_events_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/issues/events{/number}","events_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/events","assignees_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/assignees{/user}","branches_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/branches{/branch}","tags_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/tags","blobs_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/git/refs{/sha}","trees_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/statuses/{sha}","languages_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/languages","stargazers_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/stargazers","contributors_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/contributors","subscribers_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/subscribers","subscription_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/subscription","commits_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/commits{/sha}","git_commits_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/git/commits{/sha}","comments_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/comments{/number}","issue_comment_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/issues/comments{/number}","contents_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/contents/{+path}","compare_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/merges","archive_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/downloads","issues_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/issues{/number}","pulls_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/pulls{/number}","milestones_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/milestones{/number}","notifications_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/labels{/name}","releases_url":"https://api.github.com/repos/tollmanz/debug-bar-cron/releases{/id}","created_at":"2012-03-28T01:34:45Z","updated_at":"2014-09-23T16:44:05Z","pushed_at":"2015-12-08T17:01:40Z","git_url":"git://github.com/tollmanz/debug-bar-cron.git","ssh_url":"git@github.com:tollmanz/debug-bar-cron.git","clone_url":"https://github.com/tollmanz/debug-bar-cron.git","svn_url":"https://github.com/tollmanz/debug-bar-cron","homepage":"","size":283,"stargazers_count":9,"watchers_count":9,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":10,"forks":6,"open_issues":10,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tollmanz/debug-bar-cron/pulls/36"},"html":{"href":"https://github.com/tollmanz/debug-bar-cron/pull/36"},"issue":{"href":"https://api.github.com/repos/tollmanz/debug-bar-cron/issues/36"},"comments":{"href":"https://api.github.com/repos/tollmanz/debug-bar-cron/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/tollmanz/debug-bar-cron/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/tollmanz/debug-bar-cron/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tollmanz/debug-bar-cron/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/tollmanz/debug-bar-cron/statuses/13a13172b557a7f60ade1036de0a10d42887277f"}}}}