{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/4880","repository_url":"https://api.github.com/repos/Automattic/wp-calypso","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/4880/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/4880/comments","events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/4880/events","html_url":"https://github.com/Automattic/wp-calypso/pull/4880","id":149606143,"number":4880,"title":"Plugins: Use wpcom.js plugins stuff instead of wpcom-undocumened","user":{"login":"retrofox","id":77539,"avatar_url":"https://avatars.githubusercontent.com/u/77539?v=3","gravatar_id":"","url":"https://api.github.com/users/retrofox","html_url":"https://github.com/retrofox","followers_url":"https://api.github.com/users/retrofox/followers","following_url":"https://api.github.com/users/retrofox/following{/other_user}","gists_url":"https://api.github.com/users/retrofox/gists{/gist_id}","starred_url":"https://api.github.com/users/retrofox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/retrofox/subscriptions","organizations_url":"https://api.github.com/users/retrofox/orgs","repos_url":"https://api.github.com/users/retrofox/repos","events_url":"https://api.github.com/users/retrofox/events{/privacy}","received_events_url":"https://api.github.com/users/retrofox/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/Framework","name":"Framework","color":"006b75"},{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/Jetpack%20Plugins","name":"Jetpack Plugins","color":"006b75"},{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/[Status]%20Needs%20Review","name":"[Status] Needs Review","color":"fbca04"},{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/[Type]%20Enhancement","name":"[Type] Enhancement","color":"c7def8"},{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/[Type]%20Janitorial","name":"[Type] Janitorial","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-19T22:57:48Z","updated_at":"2016-04-20T21:13:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/4880","html_url":"https://github.com/Automattic/wp-calypso/pull/4880","diff_url":"https://github.com/Automattic/wp-calypso/pull/4880.diff","patch_url":"https://github.com/Automattic/wp-calypso/pull/4880.patch"},"body":"After bump `wpcom@4.9.7` we can start to remove plugins methods defined in wpcom-undocument internal library.\r\nThis PR removes `wpcom-undocumented` plugins methods used to make requests to WP.com and uses directly methods defined in `wpcom.js`.\r\n\r\n### Testing\r\n\r\n1) Go to jetpack testing site\r\n\r\n2) Make the following plugin actions:\r\n  * Install\r\n  * Remove\r\n  * Activate\r\n  * Deactivate\r\n  * EnableAutoupdate\r\n  * DisableAutoUpdate\r\n\r\nUses batch process\r\n\r\n3) Run plugins test\r\n\r\n```cli\r\ncd client/lib/plugins\r\nmake\r\n```"},"comment":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments/212607682","html_url":"https://github.com/Automattic/wp-calypso/pull/4880#issuecomment-212607682","issue_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/4880","id":212607682,"user":{"login":"enejb","id":115071,"avatar_url":"https://avatars.githubusercontent.com/u/115071?v=3","gravatar_id":"","url":"https://api.github.com/users/enejb","html_url":"https://github.com/enejb","followers_url":"https://api.github.com/users/enejb/followers","following_url":"https://api.github.com/users/enejb/following{/other_user}","gists_url":"https://api.github.com/users/enejb/gists{/gist_id}","starred_url":"https://api.github.com/users/enejb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enejb/subscriptions","organizations_url":"https://api.github.com/users/enejb/orgs","repos_url":"https://api.github.com/users/enejb/repos","events_url":"https://api.github.com/users/enejb/events{/privacy}","received_events_url":"https://api.github.com/users/enejb/received_events","type":"User","site_admin":false},"created_at":"2016-04-20T21:13:31Z","updated_at":"2016-04-20T21:13:31Z","body":"I have tested this and it works as expected. Thanks doing the switch to the wpcom library.\r\n\r\n:shipit: "}}