{"action":"created","comment":{"url":"https://api.github.com/repos/Automattic/jetpack/pulls/comments/286025458","pull_request_review_id":240045932,"id":286025458,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI4NjAyNTQ1OA==","diff_hunk":"@@ -0,0 +1,336 @@\n+<?php\n+/**\n+ * The Private Site module class file.\n+ *\n+ * @package Jetpack\n+ */\n+\n+/**\n+ * Class Jetpack_Private\n+ */\n+class Jetpack_Private {\n+\t/**\n+\t * Init function that adds all hooks needed for the module.\n+\t */\n+\tpublic static function init() {\n+\t\tadd_action( 'parse_request', array( __CLASS__, 'privatize_blog' ), 100 );\n+\t\tadd_action( 'login_init', array( __CLASS__, 'privatize_blog_maybe_mask_blog_name' ) );\n+\t\tadd_filter( 'preprocess_comment', array( __CLASS__, 'privatize_blog_comments' ), 0 );\n+\t\tadd_action( 'blog_privacy_selector', array( __CLASS__, 'privatize_blog_priv_selector' ) );\n+\t\tadd_filter( 'robots_txt', array( __CLASS__, 'private_robots_txt' ) );\n+\t\tadd_action( 'wp_head', array( __CLASS__, 'private_no_pinning' ) );\n+\t\tadd_action( 'admin_init', array( __CLASS__, 'private_blog_prevent_requests' ), 9 );\n+\t\tadd_action( 'check_ajax_referer', array( __CLASS__, 'private_blog_ajax_nonce_check' ), 9, 2 );\n+\t\tadd_action( 'rest_pre_dispatch', array( __CLASS__, 'disable_rest_api' ) );\n+\t\tadd_filter( 'jetpack_active_modules', array( __CLASS__, 'private_get_modules' ), 0 );\n+\t\tadd_action( 'update_option_blog_public', array( __CLASS__, 'private_update_option_blog_public' ) );\n+\t\tadd_action( 'update_right_now_text', array( __CLASS__, 'add_private_dashboard_glance_items' ) );\n+\t\tadd_action( 'jetpack_sync_before_send_queue_full_sync', array( __CLASS__, 'remove_privatize_blog_mask_blog_name_filter' ) );\n+\t\tadd_action( 'jetpack_sync_before_send_queue_sync', array( __CLASS__, 'remove_privatize_blog_mask_blog_name_filter' ) );\n+\t\tadd_action( 'opml_head', array( __CLASS__, 'hide_opml' ) );\n+\t}\n+\n+\t/**\n+\t * Returns the private site template for private blogs\n+\t *\n+\t * @param object $wp Current WordPress environment instance (passed by reference).\n+\t */\n+\tpublic static function privatize_blog( $wp ) {\n+\t\tglobal $pagenow;\n+\n+\t\tif ( 'wp-login.php' === $pagenow ) {\n+\t\t\treturn;\n+\t\t}\n+\n+\t\tif ( defined( 'WP_CLI' ) && WP_CLI ) {\n+\t\t\treturn;\n+\t\t}\n+\n+\t\t// Serve robots.txt for private blogs.\n+\t\tif ( is_object( $wp ) && ! empty( $wp->query_vars['robots'] ) ) {\n+\t\t\treturn;\n+\t\t}\n+\n+\t\tif ( is_user_logged_in() && self::is_private_blog_user( get_current_blog_id() ) ) {\n+\t\t\treturn;\n+\t\t}\n+\n+\t\tinclude JETPACK__PLUGIN_DIR . '/modules/private/private.php';\n+\n+\t\texit;\n+\t}\n+\n+\t/**\n+\t * Does not check whether the blog is private. Accepts blog and user in various types.\n+\t * Returns true for super admins.\n+\t *\n+\t * @param int $blog Current WordPress blod id..\n+\t */\n+\tprivate static function is_private_blog_user( $blog ) {\n+\t\tif ( is_numeric( $blog ) ) {\n+\t\t\t$blog_id = intval( $blog );\n+\t\t} elseif ( is_object( $blog ) ) {\n+\t\t\t$blog_id = $blog->blog_id;\n+\t\t} elseif ( is_string( $blog ) ) {\n+\t\t\t$fields  = array(\n+\t\t\t\t'domain' => $blog,\n+\t\t\t\t'path'   => '/',\n+\t\t\t);\n+\t\t\t$blog    = get_blog_details( $fields );\n+\t\t\t$blog_id = $blog->blog_id;\n+\t\t} else {\n+\t\t\t$blog_id = get_current_blog_id();\n+\t\t}\n+\n+\t\t/**\n+\t\t * Filter the capabilites a user needs to have to see the site\n+\t\t *\n+\t\t * @module private\n+\t\t * @since 7.4\n+\t\t *\n+\t\t * @param string $cap The lowest capability a user needs to have\n+\t\t */\n+\t\t$capability = apply_filters( 'jetpack_private_capability', 'read' );\n+\t\treturn current_user_can_for_blog( $blog_id, $capability );\n+\t}\n+\n+\t/**\n+\t * Hides the blog's name on the login form for private blogs.\n+\t */\n+\tpublic static function privatize_blog_maybe_mask_blog_name() {\n+\t\tadd_filter( 'bloginfo', array( __CLASS__, 'privatize_blog_mask_blog_name' ), 3, 2 );\n+\t}\n+\n+\t/**\n+\t * Replaces the the blog's \"name\" value with \"Private Site\"\n+\t *\n+\t * @see privatize_blog_maybe_mask_blog_name()\n+\t * @param mixed $value The requested non-URL site information.\n+\t * @param mixed $what  Type of information requested.\n+\t */\n+\tpublic static function privatize_blog_mask_blog_name( $value, $what ) {\n+\t\tif ( in_array( $what, array( 'name', 'title' ), true ) ) {\n+\t\t\t$value = __( 'Private Site', 'jetpack' );\n+\t\t}\n+\n+\t\treturn $value;\n+\t}\n+\n+\t/**\n+\t * Remove the privatize_blog_mask_blog_name filter\n+\t */\n+\tpublic static function remove_privatize_blog_mask_blog_name_filter() {\n+\t\tremove_filter( 'bloginfo', array( __CLASS__, 'privatize_blog_mask_blog_name' ) );\n+\t}\n+\n+\t/**\n+\t * Filters new comments so that users can't comment on private blogs\n+\t *\n+\t * @param array $comment Documented in wp-includes/comment.php.\n+\t */\n+\tpublic static function privatize_blog_comments( $comment ) {\n+\t\tself::privatize_blog( null );\n+\t\treturn $comment;\n+\t}\n+\n+\t/**\n+\t * Extend the 'Site Visibility' privacy options to also include a private option\n+\t **/\n+\tpublic static function privatize_blog_priv_selector() {\n+\t\t?>\n+\t\t<style>\n+\t\t\t.jetpack-private__setting-disabled {\n+\t\t\t\tfont-weight: bold;\t\n+\t\t\t\tpadding: 10px;\n+\t\t\t}\n+\t\t\t.option-site-visibility fieldset {\n+\t\t\t\tdisplay: none;\n+\t\t\t}\n+\t\t</style>\n+\t\t</fieldset>\n+\t\t<div class=\"jetpack-private__setting-disabled highlight\">\n+\t\t\t<?php\n+\t\t\twp_kses(\n+\t\t\t\tprintf(\n+\t\t\t\t\t/* translators: URL for Jetpack dashboard. */\n+\t\t\t\t\t__( 'This setting is ignored because you <a href=\"%s\">made your site private</a>', 'jetpack' ),\n+\t\t\t\t\tesc_url( admin_url( 'admin.php?page=jetpack' ) . '#/security?term=private' )\n+\t\t\t\t),\n+\t\t\t\tarray( 'a' => array( 'href' => true ) )\n+\t\t\t);\n+\t\t\t?>\n+\t\t</div>\n+\t\t<fieldset>\n+\t\t<?php\n+\t}\n+\n+\t/**\n+\t * Don't let search engines index private sites\n+\t * or sites not deemed publicly available, like deleted, archived, spam.\n+\t *\n+\t * @param string $output Robots.txt output.\n+\t */\n+\tpublic static function private_robots_txt( $output ) {\n+\t\t$output  = \"User-agent: *\\n\"; // Purposefully overriding current output; we only want these rules.\n+\t\t$output .= \"Disallow: /\\n\";\n+\t\treturn $output;\n+\t}\n+\n+\t/**\n+\t * Output the meta tag that tells Pinterest not to allow users to pin\n+\t * content from this page.\n+\t * https://support.pinterest.com/entries/21063792-what-if-i-don-t-want-images-from-my-site-to-be-pinned\n+\t */\n+\tpublic static function private_no_pinning() {\n+\t\techo '<meta name=\"pinterest\" content=\"nopin\" />';\n+\t}\n+\n+\t/**\n+\t * Prevents ajax and post requests on private blogs for users who don't have permissions\n+\t */\n+\tpublic static function private_blog_prevent_requests() {\n+\t\tglobal $pagenow;\n+\n+\t\t$is_ajax_request       = defined( 'DOING_AJAX' ) && DOING_AJAX;\n+\t\t$is_admin_post_request = ( 'admin-post.php' === $pagenow );\n+\n+\t\t// Make sure we are in the right code path, if not bail now.\n+","path":"modules/private/class-jetpack-private.php","position":null,"original_position":198,"commit_id":"d73b59fabfffb294e524a659d9d7b1933cd9b163","original_commit_id":"570ef99a5a75a9034bc003249b062183b33e6cb4","user":{"login":"niranjan-uma-shankar","id":1269602,"node_id":"MDQ6VXNlcjEyNjk2MDI=","avatar_url":"https://avatars1.githubusercontent.com/u/1269602?v=4","gravatar_id":"","url":"https://api.github.com/users/niranjan-uma-shankar","html_url":"https://github.com/niranjan-uma-shankar","followers_url":"https://api.github.com/users/niranjan-uma-shankar/followers","following_url":"https://api.github.com/users/niranjan-uma-shankar/following{/other_user}","gists_url":"https://api.github.com/users/niranjan-uma-shankar/gists{/gist_id}","starred_url":"https://api.github.com/users/niranjan-uma-shankar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niranjan-uma-shankar/subscriptions","organizations_url":"https://api.github.com/users/niranjan-uma-shankar/orgs","repos_url":"https://api.github.com/users/niranjan-uma-shankar/repos","events_url":"https://api.github.com/users/niranjan-uma-shankar/events{/privacy}","received_events_url":"https://api.github.com/users/niranjan-uma-shankar/received_events","type":"User","site_admin":false},"body":"Fixed in [0f9e51b](https://github.com/Automattic/jetpack/pull/10333/commits/0f9e51b8f7ce9cfc1aecabcbdcefd88281d800fc)","created_at":"2019-05-21T13:30:39Z","updated_at":"2019-05-21T13:30:39Z","html_url":"https://github.com/Automattic/jetpack/pull/10333#discussion_r286025458","pull_request_url":"https://api.github.com/repos/Automattic/jetpack/pulls/10333","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Automattic/jetpack/pulls/comments/286025458"},"html":{"href":"https://github.com/Automattic/jetpack/pull/10333#discussion_r286025458"},"pull_request":{"href":"https://api.github.com/repos/Automattic/jetpack/pulls/10333"}},"in_reply_to_id":285963369},"pull_request":{"url":"https://api.github.com/repos/Automattic/jetpack/pulls/10333","id":223319602,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzMzE5NjAy","html_url":"https://github.com/Automattic/jetpack/pull/10333","diff_url":"https://github.com/Automattic/jetpack/pull/10333.diff","patch_url":"https://github.com/Automattic/jetpack/pull/10333.patch","issue_url":"https://api.github.com/repos/Automattic/jetpack/issues/10333","number":10333,"state":"open","locked":false,"title":"Add private sites module","user":{"login":"scruffian","id":275961,"node_id":"MDQ6VXNlcjI3NTk2MQ==","avatar_url":"https://avatars1.githubusercontent.com/u/275961?v=4","gravatar_id":"","url":"https://api.github.com/users/scruffian","html_url":"https://github.com/scruffian","followers_url":"https://api.github.com/users/scruffian/followers","following_url":"https://api.github.com/users/scruffian/following{/other_user}","gists_url":"https://api.github.com/users/scruffian/gists{/gist_id}","starred_url":"https://api.github.com/users/scruffian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scruffian/subscriptions","organizations_url":"https://api.github.com/users/scruffian/orgs","repos_url":"https://api.github.com/users/scruffian/repos","events_url":"https://api.github.com/users/scruffian/events{/privacy}","received_events_url":"https://api.github.com/users/scruffian/received_events","type":"User","site_admin":false},"body":"This adds a \"Private site\" module to Jetpack. The code is based on a similar plugin from WordPress.com.\r\n\r\nFixes #7857\r\n\r\nInternal reference: p5XAZ9-1Pk-p2\r\n\r\n#### Changes proposed in this Pull Request:\r\n\r\n* A new module to make a site private\r\n* Changes to the Jetpack interface to activate/deactivate the module\r\n\r\n#### Testing instructions:\r\n\r\n**Scenario 1**\r\n* Enable the private site module under Settings > Security \r\n<img width=\"1100\" alt=\"Screenshot 2019-04-18 at 9 08 01 PM\" src=\"https://user-images.githubusercontent.com/1269602/56373264-3a68d300-621e-11e9-8c2c-81c275bc422f.png\">\r\n\r\n* In wp-admin, the `Site Visibility` option appears disabled for private sites\r\n\r\n<img width=\"2835\" alt=\"49439010-d934eb80-f7b7-11e8-8443-d3f5fa35eeac\" src=\"https://user-images.githubusercontent.com/1269602/56383819-70b34c00-6238-11e9-87a7-57755239b6e6.png\">\r\n\r\n* Visit your site, you should still be able to see it\r\n\r\n* Visit your site in an incognito window, you should see this:\r\n \r\n<img width=\"515\" alt=\"Screenshot 2019-05-21 at 1 25 50 PM\" src=\"https://user-images.githubusercontent.com/1269602/58078305-080b1680-7bcc-11e9-8e2b-53832e2601c5.png\">\r\n\r\n* Create a new user on your site (with any role). Log in as this new user. You should be able to see the site.\r\n\r\n* Update this user to have no role on this site. Now you should see this:\r\n \r\n<img width=\"422\" alt=\"Screenshot 2019-05-21 at 1 29 44 PM\" src=\"https://user-images.githubusercontent.com/1269602/58078530-9b444c00-7bcc-11e9-9fa5-c3d88522801d.png\">\r\n\r\n* `At a glance` dashboard widget shows that the site is private\r\n \r\n<img width=\"872\" alt=\"Screenshot 2019-05-21 at 1 32 05 PM\" src=\"https://user-images.githubusercontent.com/1269602/58078717-0130d380-7bcd-11e9-98ef-806855e4987f.png\">\r\n\r\n**Scenario 2**\r\n\r\n*  Enable the publicize module under Settings > Sharing and verify that posts are auto-posted to the connected social media account\r\n* Enable the private site module\r\n* Create a new post and verify that the new post _is not_ auto-posted.\r\n* Disable private site module and verify that new posts are now auto-posted.","created_at":"2018-10-16T16:40:45Z","updated_at":"2019-05-21T13:30:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"380fa776b2c124db2c742a25a0495342e9f78f2c","assignee":{"login":"niranjan-uma-shankar","id":1269602,"node_id":"MDQ6VXNlcjEyNjk2MDI=","avatar_url":"https://avatars1.githubusercontent.com/u/1269602?v=4","gravatar_id":"","url":"https://api.github.com/users/niranjan-uma-shankar","html_url":"https://github.com/niranjan-uma-shankar","followers_url":"https://api.github.com/users/niranjan-uma-shankar/followers","following_url":"https://api.github.com/users/niranjan-uma-shankar/following{/other_user}","gists_url":"https://api.github.com/users/niranjan-uma-shankar/gists{/gist_id}","starred_url":"https://api.github.com/users/niranjan-uma-shankar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niranjan-uma-shankar/subscriptions","organizations_url":"https://api.github.com/users/niranjan-uma-shankar/orgs","repos_url":"https://api.github.com/users/niranjan-uma-shankar/repos","events_url":"https://api.github.com/users/niranjan-uma-shankar/events{/privacy}","received_events_url":"https://api.github.com/users/niranjan-uma-shankar/received_events","type":"User","site_admin":false},"assignees":[{"login":"niranjan-uma-shankar","id":1269602,"node_id":"MDQ6VXNlcjEyNjk2MDI=","avatar_url":"https://avatars1.githubusercontent.com/u/1269602?v=4","gravatar_id":"","url":"https://api.github.com/users/niranjan-uma-shankar","html_url":"https://github.com/niranjan-uma-shankar","followers_url":"https://api.github.com/users/niranjan-uma-shankar/followers","following_url":"https://api.github.com/users/niranjan-uma-shankar/following{/other_user}","gists_url":"https://api.github.com/users/niranjan-uma-shankar/gists{/gist_id}","starred_url":"https://api.github.com/users/niranjan-uma-shankar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niranjan-uma-shankar/subscriptions","organizations_url":"https://api.github.com/users/niranjan-uma-shankar/orgs","repos_url":"https://api.github.com/users/niranjan-uma-shankar/repos","events_url":"https://api.github.com/users/niranjan-uma-shankar/events{/privacy}","received_events_url":"https://api.github.com/users/niranjan-uma-shankar/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"eeeeevon13","id":49159284,"node_id":"MDQ6VXNlcjQ5MTU5Mjg0","avatar_url":"https://avatars0.githubusercontent.com/u/49159284?v=4","gravatar_id":"","url":"https://api.github.com/users/eeeeevon13","html_url":"https://github.com/eeeeevon13","followers_url":"https://api.github.com/users/eeeeevon13/followers","following_url":"https://api.github.com/users/eeeeevon13/following{/other_user}","gists_url":"https://api.github.com/users/eeeeevon13/gists{/gist_id}","starred_url":"https://api.github.com/users/eeeeevon13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eeeeevon13/subscriptions","organizations_url":"https://api.github.com/users/eeeeevon13/orgs","repos_url":"https://api.github.com/users/eeeeevon13/repos","events_url":"https://api.github.com/users/eeeeevon13/events{/privacy}","received_events_url":"https://api.github.com/users/eeeeevon13/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":1093575270,"node_id":"MDU6TGFiZWwxMDkzNTc1Mjcw","url":"https://api.github.com/repos/Automattic/jetpack/labels/Private%20Sites","name":"Private Sites","color":"006b75","default":false},{"id":371672245,"node_id":"MDU6TGFiZWwzNzE2NzIyNDU=","url":"https://api.github.com/repos/Automattic/jetpack/labels/Touches%20WP.com%20Files","name":"Touches WP.com Files","color":"0087be","default":false},{"id":470168891,"node_id":"MDU6TGFiZWw0NzAxNjg4OTE=","url":"https://api.github.com/repos/Automattic/jetpack/labels/[Pri]%20Normal","name":"[Pri] Normal","color":"fad8c7","default":false},{"id":71000503,"node_id":"MDU6TGFiZWw3MTAwMDUwMw==","url":"https://api.github.com/repos/Automattic/jetpack/labels/[Status]%20Needs%20Author%20Reply","name":"[Status] Needs Author Reply","color":"e11d21","default":false},{"id":219144656,"node_id":"MDU6TGFiZWwyMTkxNDQ2NTY=","url":"https://api.github.com/repos/Automattic/jetpack/labels/[Status]%20Needs%20Design%20Review","name":"[Status] Needs Design Review","color":"c0ffee","default":false},{"id":1126688788,"node_id":"MDU6TGFiZWwxMTI2Njg4Nzg4","url":"https://api.github.com/repos/Automattic/jetpack/labels/[Status]%20Needs%20GDPR%20Review","name":"[Status] Needs GDPR Review","color":"ededed","default":false}],"milestone":{"url":"https://api.github.com/repos/Automattic/jetpack/milestones/124","html_url":"https://github.com/Automattic/jetpack/milestone/124","labels_url":"https://api.github.com/repos/Automattic/jetpack/milestones/124/labels","id":4193606,"node_id":"MDk6TWlsZXN0b25lNDE5MzYwNg==","number":124,"title":"7.4","description":"June Jetpack Release","creator":{"login":"kraftbj","id":88897,"node_id":"MDQ6VXNlcjg4ODk3","avatar_url":"https://avatars0.githubusercontent.com/u/88897?v=4","gravatar_id":"","url":"https://api.github.com/users/kraftbj","html_url":"https://github.com/kraftbj","followers_url":"https://api.github.com/users/kraftbj/followers","following_url":"https://api.github.com/users/kraftbj/following{/other_user}","gists_url":"https://api.github.com/users/kraftbj/gists{/gist_id}","starred_url":"https://api.github.com/users/kraftbj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kraftbj/subscriptions","organizations_url":"https://api.github.com/users/kraftbj/orgs","repos_url":"https://api.github.com/users/kraftbj/repos","events_url":"https://api.github.com/users/kraftbj/events{/privacy}","received_events_url":"https://api.github.com/users/kraftbj/received_events","type":"User","site_admin":false},"open_issues":21,"closed_issues":111,"state":"open","created_at":"2019-04-02T13:39:47Z","updated_at":"2019-05-21T12:41:09Z","due_on":"2019-06-04T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/Automattic/jetpack/pulls/10333/commits","review_comments_url":"https://api.github.com/repos/Automattic/jetpack/pulls/10333/comments","review_comment_url":"https://api.github.com/repos/Automattic/jetpack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Automattic/jetpack/issues/10333/comments","statuses_url":"https://api.github.com/repos/Automattic/jetpack/statuses/d73b59fabfffb294e524a659d9d7b1933cd9b163","head":{"label":"Automattic:add/private-sites","ref":"add/private-sites","sha":"d73b59fabfffb294e524a659d9d7b1933cd9b163","user":{"login":"Automattic","id":887802,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg4NzgwMg==","avatar_url":"https://avatars1.githubusercontent.com/u/887802?v=4","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"repo":{"id":15231212,"node_id":"MDEwOlJlcG9zaXRvcnkxNTIzMTIxMg==","name":"jetpack","full_name":"Automattic/jetpack","private":false,"owner":{"login":"Automattic","id":887802,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg4NzgwMg==","avatar_url":"https://avatars1.githubusercontent.com/u/887802?v=4","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Automattic/jetpack","description":"Increase your traffic, view your stats, speed up your site, and protect yourself from hackers with Jetpack.","fork":false,"url":"https://api.github.com/repos/Automattic/jetpack","forks_url":"https://api.github.com/repos/Automattic/jetpack/forks","keys_url":"https://api.github.com/repos/Automattic/jetpack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Automattic/jetpack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Automattic/jetpack/teams","hooks_url":"https://api.github.com/repos/Automattic/jetpack/hooks","issue_events_url":"https://api.github.com/repos/Automattic/jetpack/issues/events{/number}","events_url":"https://api.github.com/repos/Automattic/jetpack/events","assignees_url":"https://api.github.com/repos/Automattic/jetpack/assignees{/user}","branches_url":"https://api.github.com/repos/Automattic/jetpack/branches{/branch}","tags_url":"https://api.github.com/repos/Automattic/jetpack/tags","blobs_url":"https://api.github.com/repos/Automattic/jetpack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Automattic/jetpack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Automattic/jetpack/git/refs{/sha}","trees_url":"https://api.github.com/repos/Automattic/jetpack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Automattic/jetpack/statuses/{sha}","languages_url":"https://api.github.com/repos/Automattic/jetpack/languages","stargazers_url":"https://api.github.com/repos/Automattic/jetpack/stargazers","contributors_url":"https://api.github.com/repos/Automattic/jetpack/contributors","subscribers_url":"https://api.github.com/repos/Automattic/jetpack/subscribers","subscription_url":"https://api.github.com/repos/Automattic/jetpack/subscription","commits_url":"https://api.github.com/repos/Automattic/jetpack/commits{/sha}","git_commits_url":"https://api.github.com/repos/Automattic/jetpack/git/commits{/sha}","comments_url":"https://api.github.com/repos/Automattic/jetpack/comments{/number}","issue_comment_url":"https://api.github.com/repos/Automattic/jetpack/issues/comments{/number}","contents_url":"https://api.github.com/repos/Automattic/jetpack/contents/{+path}","compare_url":"https://api.github.com/repos/Automattic/jetpack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Automattic/jetpack/merges","archive_url":"https://api.github.com/repos/Automattic/jetpack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Automattic/jetpack/downloads","issues_url":"https://api.github.com/repos/Automattic/jetpack/issues{/number}","pulls_url":"https://api.github.com/repos/Automattic/jetpack/pulls{/number}","milestones_url":"https://api.github.com/repos/Automattic/jetpack/milestones{/number}","notifications_url":"https://api.github.com/repos/Automattic/jetpack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Automattic/jetpack/labels{/name}","releases_url":"https://api.github.com/repos/Automattic/jetpack/releases{/id}","deployments_url":"https://api.github.com/repos/Automattic/jetpack/deployments","created_at":"2013-12-16T16:43:01Z","updated_at":"2019-05-21T10:04:28Z","pushed_at":"2019-05-21T13:25:21Z","git_url":"git://github.com/Automattic/jetpack.git","ssh_url":"git@github.com:Automattic/jetpack.git","clone_url":"https://github.com/Automattic/jetpack.git","svn_url":"https://github.com/Automattic/jetpack","homepage":"https://jetpack.com/","size":158928,"stargazers_count":968,"watchers_count":968,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":579,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1240,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":579,"open_issues":1240,"watchers":968,"default_branch":"master"}},"base":{"label":"Automattic:master","ref":"master","sha":"2e9efb22810cbd0e60ad2d2a9158e47a4432577c","user":{"login":"Automattic","id":887802,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg4NzgwMg==","avatar_url":"https://avatars1.githubusercontent.com/u/887802?v=4","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"repo":{"id":15231212,"node_id":"MDEwOlJlcG9zaXRvcnkxNTIzMTIxMg==","name":"jetpack","full_name":"Automattic/jetpack","private":false,"owner":{"login":"Automattic","id":887802,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg4NzgwMg==","avatar_url":"https://avatars1.githubusercontent.com/u/887802?v=4","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Automattic/jetpack","description":"Increase your traffic, view your stats, speed up your site, and protect yourself from hackers with Jetpack.","fork":false,"url":"https://api.github.com/repos/Automattic/jetpack","forks_url":"https://api.github.com/repos/Automattic/jetpack/forks","keys_url":"https://api.github.com/repos/Automattic/jetpack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Automattic/jetpack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Automattic/jetpack/teams","hooks_url":"https://api.github.com/repos/Automattic/jetpack/hooks","issue_events_url":"https://api.github.com/repos/Automattic/jetpack/issues/events{/number}","events_url":"https://api.github.com/repos/Automattic/jetpack/events","assignees_url":"https://api.github.com/repos/Automattic/jetpack/assignees{/user}","branches_url":"https://api.github.com/repos/Automattic/jetpack/branches{/branch}","tags_url":"https://api.github.com/repos/Automattic/jetpack/tags","blobs_url":"https://api.github.com/repos/Automattic/jetpack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Automattic/jetpack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Automattic/jetpack/git/refs{/sha}","trees_url":"https://api.github.com/repos/Automattic/jetpack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Automattic/jetpack/statuses/{sha}","languages_url":"https://api.github.com/repos/Automattic/jetpack/languages","stargazers_url":"https://api.github.com/repos/Automattic/jetpack/stargazers","contributors_url":"https://api.github.com/repos/Automattic/jetpack/contributors","subscribers_url":"https://api.github.com/repos/Automattic/jetpack/subscribers","subscription_url":"https://api.github.com/repos/Automattic/jetpack/subscription","commits_url":"https://api.github.com/repos/Automattic/jetpack/commits{/sha}","git_commits_url":"https://api.github.com/repos/Automattic/jetpack/git/commits{/sha}","comments_url":"https://api.github.com/repos/Automattic/jetpack/comments{/number}","issue_comment_url":"https://api.github.com/repos/Automattic/jetpack/issues/comments{/number}","contents_url":"https://api.github.com/repos/Automattic/jetpack/contents/{+path}","compare_url":"https://api.github.com/repos/Automattic/jetpack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Automattic/jetpack/merges","archive_url":"https://api.github.com/repos/Automattic/jetpack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Automattic/jetpack/downloads","issues_url":"https://api.github.com/repos/Automattic/jetpack/issues{/number}","pulls_url":"https://api.github.com/repos/Automattic/jetpack/pulls{/number}","milestones_url":"https://api.github.com/repos/Automattic/jetpack/milestones{/number}","notifications_url":"https://api.github.com/repos/Automattic/jetpack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Automattic/jetpack/labels{/name}","releases_url":"https://api.github.com/repos/Automattic/jetpack/releases{/id}","deployments_url":"https://api.github.com/repos/Automattic/jetpack/deployments","created_at":"2013-12-16T16:43:01Z","updated_at":"2019-05-21T10:04:28Z","pushed_at":"2019-05-21T13:25:21Z","git_url":"git://github.com/Automattic/jetpack.git","ssh_url":"git@github.com:Automattic/jetpack.git","clone_url":"https://github.com/Automattic/jetpack.git","svn_url":"https://github.com/Automattic/jetpack","homepage":"https://jetpack.com/","size":158928,"stargazers_count":968,"watchers_count":968,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":579,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1240,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":579,"open_issues":1240,"watchers":968,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Automattic/jetpack/pulls/10333"},"html":{"href":"https://github.com/Automattic/jetpack/pull/10333"},"issue":{"href":"https://api.github.com/repos/Automattic/jetpack/issues/10333"},"comments":{"href":"https://api.github.com/repos/Automattic/jetpack/issues/10333/comments"},"review_comments":{"href":"https://api.github.com/repos/Automattic/jetpack/pulls/10333/comments"},"review_comment":{"href":"https://api.github.com/repos/Automattic/jetpack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Automattic/jetpack/pulls/10333/commits"},"statuses":{"href":"https://api.github.com/repos/Automattic/jetpack/statuses/d73b59fabfffb294e524a659d9d7b1933cd9b163"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"niranjan-uma-shankar"}}