{"action":"opened","number":44,"pull_request":{"url":"https://api.github.com/repos/norcross/airplane-mode/pulls/44","id":32547866,"html_url":"https://github.com/norcross/airplane-mode/pull/44","diff_url":"https://github.com/norcross/airplane-mode/pull/44.diff","patch_url":"https://github.com/norcross/airplane-mode/pull/44.patch","issue_url":"https://api.github.com/repos/norcross/airplane-mode/issues/44","number":44,"state":"open","locked":false,"title":"Don't wipe out the update array if Airplane Mode is disabled","user":{"login":"johnbillion","id":208434,"avatar_url":"https://avatars.githubusercontent.com/u/208434?v=3","gravatar_id":"","url":"https://api.github.com/users/johnbillion","html_url":"https://github.com/johnbillion","followers_url":"https://api.github.com/users/johnbillion/followers","following_url":"https://api.github.com/users/johnbillion/following{/other_user}","gists_url":"https://api.github.com/users/johnbillion/gists{/gist_id}","starred_url":"https://api.github.com/users/johnbillion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnbillion/subscriptions","organizations_url":"https://api.github.com/users/johnbillion/orgs","repos_url":"https://api.github.com/users/johnbillion/repos","events_url":"https://api.github.com/users/johnbillion/events{/privacy}","received_events_url":"https://api.github.com/users/johnbillion/received_events","type":"User","site_admin":false},"body":"Looks like the merge in aa7ea19 went pretty wrong. `Airplane_Mode_Core::remove_update_array()` is wiping out the array of update data even when it's not enabled, which means every admin screen load triggers a WordPress.org API request.\r\n\r\nThis fixes that.","created_at":"2015-04-02T20:37:04Z","updated_at":"2015-04-02T20:37:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/norcross/airplane-mode/pulls/44/commits","review_comments_url":"https://api.github.com/repos/norcross/airplane-mode/pulls/44/comments","review_comment_url":"https://api.github.com/repos/norcross/airplane-mode/pulls/comments{/number}","comments_url":"https://api.github.com/repos/norcross/airplane-mode/issues/44/comments","statuses_url":"https://api.github.com/repos/norcross/airplane-mode/statuses/59ce760cd11190a89574fc9dd5e14feafb6c25ba","head":{"label":"johnbillion:remove_update_array","ref":"remove_update_array","sha":"59ce760cd11190a89574fc9dd5e14feafb6c25ba","user":{"login":"johnbillion","id":208434,"avatar_url":"https://avatars.githubusercontent.com/u/208434?v=3","gravatar_id":"","url":"https://api.github.com/users/johnbillion","html_url":"https://github.com/johnbillion","followers_url":"https://api.github.com/users/johnbillion/followers","following_url":"https://api.github.com/users/johnbillion/following{/other_user}","gists_url":"https://api.github.com/users/johnbillion/gists{/gist_id}","starred_url":"https://api.github.com/users/johnbillion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnbillion/subscriptions","organizations_url":"https://api.github.com/users/johnbillion/orgs","repos_url":"https://api.github.com/users/johnbillion/repos","events_url":"https://api.github.com/users/johnbillion/events{/privacy}","received_events_url":"https://api.github.com/users/johnbillion/received_events","type":"User","site_admin":false},"repo":{"id":22574173,"name":"airplane-mode","full_name":"johnbillion/airplane-mode","owner":{"login":"johnbillion","id":208434,"avatar_url":"https://avatars.githubusercontent.com/u/208434?v=3","gravatar_id":"","url":"https://api.github.com/users/johnbillion","html_url":"https://github.com/johnbillion","followers_url":"https://api.github.com/users/johnbillion/followers","following_url":"https://api.github.com/users/johnbillion/following{/other_user}","gists_url":"https://api.github.com/users/johnbillion/gists{/gist_id}","starred_url":"https://api.github.com/users/johnbillion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnbillion/subscriptions","organizations_url":"https://api.github.com/users/johnbillion/orgs","repos_url":"https://api.github.com/users/johnbillion/repos","events_url":"https://api.github.com/users/johnbillion/events{/privacy}","received_events_url":"https://api.github.com/users/johnbillion/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/johnbillion/airplane-mode","description":"Disables external data calls and loading for working on a purely local (i.e. no internet connection) WordPress site","fork":true,"url":"https://api.github.com/repos/johnbillion/airplane-mode","forks_url":"https://api.github.com/repos/johnbillion/airplane-mode/forks","keys_url":"https://api.github.com/repos/johnbillion/airplane-mode/keys{/key_id}","collaborators_url":"https://api.github.com/repos/johnbillion/airplane-mode/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/johnbillion/airplane-mode/teams","hooks_url":"https://api.github.com/repos/johnbillion/airplane-mode/hooks","issue_events_url":"https://api.github.com/repos/johnbillion/airplane-mode/issues/events{/number}","events_url":"https://api.github.com/repos/johnbillion/airplane-mode/events","assignees_url":"https://api.github.com/repos/johnbillion/airplane-mode/assignees{/user}","branches_url":"https://api.github.com/repos/johnbillion/airplane-mode/branches{/branch}","tags_url":"https://api.github.com/repos/johnbillion/airplane-mode/tags","blobs_url":"https://api.github.com/repos/johnbillion/airplane-mode/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/johnbillion/airplane-mode/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/johnbillion/airplane-mode/git/refs{/sha}","trees_url":"https://api.github.com/repos/johnbillion/airplane-mode/git/trees{/sha}","statuses_url":"https://api.github.com/repos/johnbillion/airplane-mode/statuses/{sha}","languages_url":"https://api.github.com/repos/johnbillion/airplane-mode/languages","stargazers_url":"https://api.github.com/repos/johnbillion/airplane-mode/stargazers","contributors_url":"https://api.github.com/repos/johnbillion/airplane-mode/contributors","subscribers_url":"https://api.github.com/repos/johnbillion/airplane-mode/subscribers","subscription_url":"https://api.github.com/repos/johnbillion/airplane-mode/subscription","commits_url":"https://api.github.com/repos/johnbillion/airplane-mode/commits{/sha}","git_commits_url":"https://api.github.com/repos/johnbillion/airplane-mode/git/commits{/sha}","comments_url":"https://api.github.com/repos/johnbillion/airplane-mode/comments{/number}","issue_comment_url":"https://api.github.com/repos/johnbillion/airplane-mode/issues/comments{/number}","contents_url":"https://api.github.com/repos/johnbillion/airplane-mode/contents/{+path}","compare_url":"https://api.github.com/repos/johnbillion/airplane-mode/compare/{base}...{head}","merges_url":"https://api.github.com/repos/johnbillion/airplane-mode/merges","archive_url":"https://api.github.com/repos/johnbillion/airplane-mode/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/johnbillion/airplane-mode/downloads","issues_url":"https://api.github.com/repos/johnbillion/airplane-mode/issues{/number}","pulls_url":"https://api.github.com/repos/johnbillion/airplane-mode/pulls{/number}","milestones_url":"https://api.github.com/repos/johnbillion/airplane-mode/milestones{/number}","notifications_url":"https://api.github.com/repos/johnbillion/airplane-mode/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/johnbillion/airplane-mode/labels{/name}","releases_url":"https://api.github.com/repos/johnbillion/airplane-mode/releases{/id}","created_at":"2014-08-03T12:11:09Z","updated_at":"2015-01-22T17:32:37Z","pushed_at":"2015-04-02T20:34:30Z","git_url":"git://github.com/johnbillion/airplane-mode.git","ssh_url":"git@github.com:johnbillion/airplane-mode.git","clone_url":"https://github.com/johnbillion/airplane-mode.git","svn_url":"https://github.com/johnbillion/airplane-mode","homepage":"","size":213,"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":"norcross:master","ref":"master","sha":"9386a0e2e96079080d6f39d314a0481df4b8eac4","user":{"login":"norcross","id":98561,"avatar_url":"https://avatars.githubusercontent.com/u/98561?v=3","gravatar_id":"","url":"https://api.github.com/users/norcross","html_url":"https://github.com/norcross","followers_url":"https://api.github.com/users/norcross/followers","following_url":"https://api.github.com/users/norcross/following{/other_user}","gists_url":"https://api.github.com/users/norcross/gists{/gist_id}","starred_url":"https://api.github.com/users/norcross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/norcross/subscriptions","organizations_url":"https://api.github.com/users/norcross/orgs","repos_url":"https://api.github.com/users/norcross/repos","events_url":"https://api.github.com/users/norcross/events{/privacy}","received_events_url":"https://api.github.com/users/norcross/received_events","type":"User","site_admin":false},"repo":{"id":20652680,"name":"airplane-mode","full_name":"norcross/airplane-mode","owner":{"login":"norcross","id":98561,"avatar_url":"https://avatars.githubusercontent.com/u/98561?v=3","gravatar_id":"","url":"https://api.github.com/users/norcross","html_url":"https://github.com/norcross","followers_url":"https://api.github.com/users/norcross/followers","following_url":"https://api.github.com/users/norcross/following{/other_user}","gists_url":"https://api.github.com/users/norcross/gists{/gist_id}","starred_url":"https://api.github.com/users/norcross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/norcross/subscriptions","organizations_url":"https://api.github.com/users/norcross/orgs","repos_url":"https://api.github.com/users/norcross/repos","events_url":"https://api.github.com/users/norcross/events{/privacy}","received_events_url":"https://api.github.com/users/norcross/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/norcross/airplane-mode","description":"Disables external data calls and loading for working on a purely local (i.e. no internet connection) WordPress site","fork":false,"url":"https://api.github.com/repos/norcross/airplane-mode","forks_url":"https://api.github.com/repos/norcross/airplane-mode/forks","keys_url":"https://api.github.com/repos/norcross/airplane-mode/keys{/key_id}","collaborators_url":"https://api.github.com/repos/norcross/airplane-mode/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/norcross/airplane-mode/teams","hooks_url":"https://api.github.com/repos/norcross/airplane-mode/hooks","issue_events_url":"https://api.github.com/repos/norcross/airplane-mode/issues/events{/number}","events_url":"https://api.github.com/repos/norcross/airplane-mode/events","assignees_url":"https://api.github.com/repos/norcross/airplane-mode/assignees{/user}","branches_url":"https://api.github.com/repos/norcross/airplane-mode/branches{/branch}","tags_url":"https://api.github.com/repos/norcross/airplane-mode/tags","blobs_url":"https://api.github.com/repos/norcross/airplane-mode/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/norcross/airplane-mode/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/norcross/airplane-mode/git/refs{/sha}","trees_url":"https://api.github.com/repos/norcross/airplane-mode/git/trees{/sha}","statuses_url":"https://api.github.com/repos/norcross/airplane-mode/statuses/{sha}","languages_url":"https://api.github.com/repos/norcross/airplane-mode/languages","stargazers_url":"https://api.github.com/repos/norcross/airplane-mode/stargazers","contributors_url":"https://api.github.com/repos/norcross/airplane-mode/contributors","subscribers_url":"https://api.github.com/repos/norcross/airplane-mode/subscribers","subscription_url":"https://api.github.com/repos/norcross/airplane-mode/subscription","commits_url":"https://api.github.com/repos/norcross/airplane-mode/commits{/sha}","git_commits_url":"https://api.github.com/repos/norcross/airplane-mode/git/commits{/sha}","comments_url":"https://api.github.com/repos/norcross/airplane-mode/comments{/number}","issue_comment_url":"https://api.github.com/repos/norcross/airplane-mode/issues/comments{/number}","contents_url":"https://api.github.com/repos/norcross/airplane-mode/contents/{+path}","compare_url":"https://api.github.com/repos/norcross/airplane-mode/compare/{base}...{head}","merges_url":"https://api.github.com/repos/norcross/airplane-mode/merges","archive_url":"https://api.github.com/repos/norcross/airplane-mode/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/norcross/airplane-mode/downloads","issues_url":"https://api.github.com/repos/norcross/airplane-mode/issues{/number}","pulls_url":"https://api.github.com/repos/norcross/airplane-mode/pulls{/number}","milestones_url":"https://api.github.com/repos/norcross/airplane-mode/milestones{/number}","notifications_url":"https://api.github.com/repos/norcross/airplane-mode/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/norcross/airplane-mode/labels{/name}","releases_url":"https://api.github.com/repos/norcross/airplane-mode/releases{/id}","created_at":"2014-06-09T16:02:20Z","updated_at":"2015-04-02T18:58:32Z","pushed_at":"2015-04-02T18:59:59Z","git_url":"git://github.com/norcross/airplane-mode.git","ssh_url":"git@github.com:norcross/airplane-mode.git","clone_url":"https://github.com/norcross/airplane-mode.git","svn_url":"https://github.com/norcross/airplane-mode","homepage":"","size":470,"stargazers_count":192,"watchers_count":192,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"open_issues_count":2,"forks":25,"open_issues":2,"watchers":192,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/norcross/airplane-mode/pulls/44"},"html":{"href":"https://github.com/norcross/airplane-mode/pull/44"},"issue":{"href":"https://api.github.com/repos/norcross/airplane-mode/issues/44"},"comments":{"href":"https://api.github.com/repos/norcross/airplane-mode/issues/44/comments"},"review_comments":{"href":"https://api.github.com/repos/norcross/airplane-mode/pulls/44/comments"},"review_comment":{"href":"https://api.github.com/repos/norcross/airplane-mode/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/norcross/airplane-mode/pulls/44/commits"},"statuses":{"href":"https://api.github.com/repos/norcross/airplane-mode/statuses/59ce760cd11190a89574fc9dd5e14feafb6c25ba"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":0,"changed_files":1}}