{"action":"created","comment":{"url":"https://api.github.com/repos/Automattic/jetpack/pulls/comments/85256907","pull_request_review_id":5982731,"id":85256907,"diff_hunk":"@@ -0,0 +1,255 @@\n+<?php\n+\n+/*\n+ * Each title format is an array of arrays containing two values:\n+ *  - type\n+ *  - value\n+ *\n+ * Possible values for type are: 'token' and 'string'.\n+ * Possible values for 'value' are: any string in case that 'type' is set\n+ * to 'string', or allowed token values for page type in case that 'type'\n+ * is set to 'token'.\n+ *\n+ * Examples of valid formats:\n+ *\n+ * [\n+ *  'front_page' => [\n+ *      [ 'type' => 'string', 'value' => 'Front page title and site name:'],\n+ *      [ 'type' => 'token', 'value' => 'site_name']\n+ *  ],\n+ *  'posts' => [\n+ *      [ 'type' => 'token', 'value' => 'site_name' ],\n+ *      [ 'type' => 'string', 'value' => ' | ' ],\n+ *      [ 'type' => 'token', 'value' => 'post_title' ]\n+ *  ],\n+ *  'pages' => [],\n+ *  'groups' => [],\n+ *  'archives' => []\n+ * ]\n+ *  Custom title for given page type is created by concatenating all of the array 'value' parts.\n+ *  Tokens are replaced with their corresponding values for current site.\n+ *  Empty array signals that we are not overriding the default title for particular page type.\n+ */\n+\n+/**\n+ * Class containing utility static methods for managing SEO custom title formats.\n+ */\n+class Jetpack_SEO_Titles {\n+\t/**\n+\t * Site option name used to store custom title formats.\n+\t */\n+\tconst TITLE_FORMATS_OPTION = 'advanced_seo_title_formats';\n+\n+\t/**\n+\t * Retrieves custom title formats from site option.\n+\t *\n+\t * @return array Array of custom title formats, or empty array.\n+\t */\n+\tpublic static function get_custom_title_formats() {\n+\t\tif( Jetpack_SEO_Utils::is_enabled_jetpack_seo() ) {\n+\t\t\treturn get_option( self::TITLE_FORMATS_OPTION, array() );\n+\t\t}\n+\n+\t\treturn array();\n+\t}\n+\n+\t/**\n+\t * Returns tokens that are currently supported for each page type.\n+\t *\n+\t * @return array Array of allowed token strings.\n+\t */\n+\tpublic static function get_allowed_tokens() {\n+\t\treturn array(\n+\t\t\t'front_page' => [ 'site_name', 'tagline' ],\n+\t\t\t'posts'      => [ 'site_name', 'tagline', 'post_title' ],\n+\t\t\t'pages'      => [ 'site_name', 'tagline', 'page_title' ],\n+\t\t\t'groups'     => [ 'site_name', 'tagline', 'group_title' ],\n+\t\t\t'archives'   => [ 'site_name', 'tagline', 'date' ],\n+\t\t);\n+\t}\n+\n+\t/**\n+\t * Used to modify the default title with custom SEO title.\n+\t *\n+\t * @param string $default_title Default title for current page.\n+\t *\n+\t * @return string Custom title with replaced tokens or default title.\n+\t */\n+\tpublic static function get_custom_title( $default_title = '' ) {\n+\t\t// Don't filter title for unsupported themes.\n+\t\tif ( self::is_conflicted_theme() ) {\n+\t\t\treturn $default_title;\n+\t\t}\n+\n+\t\t$page_type = self::get_page_type();\n+\n+\t\t// Keep default title if invalid page type is supplied.\n+\t\tif ( empty( $page_type ) ) {\n+\t\t\treturn $default_title;\n+\t\t}\n+\n+\t\t$title_formats = self::get_custom_title_formats();\n+\n+\t\t// Keep default title if user has not defined custom title for this page type.\n+\t\tif ( empty( $title_formats[ $page_type ] ) ) {\n+\t\t\treturn $default_title;\n+\t\t}\n+\n+\t\tif ( ! Jetpack_SEO_Utils::is_enabled_jetpack_seo() ) {\n+\t\t\treturn $default_title;\n+\t\t}\n+\n+\t\t$custom_title = array_reduce( $title_formats[ $page_type ], function ( $title, $item ) {\n+\t\t\treturn $title .= ( 'token' === $item['type'] )\n+\t\t\t\t? self::get_token_value( $item['value'] )\n+\t\t\t\t: $item['value'];\n+\t\t}, '' );\n+\n+\t\treturn esc_html( $custom_title );\n+\t}\n+\n+\t/**\n+\t * Returns string value for given token.\n+\t *\n+\t * @param string $token_name The token name value that should be replaced.\n+\t *\n+\t * @return string Token replacement for current site, or empty string for unknown token name.\n+\t */\n+\tpublic static function get_token_value( $token_name ) {\n+\n+\t\tswitch ( $token_name ) {\n+\t\t\tcase 'site_name':\n+\t\t\t\treturn get_bloginfo( 'name' );\n+\n+\t\t\tcase 'tagline':\n+\t\t\t\treturn get_bloginfo( 'description' );\n+\n+\t\t\tcase 'post_title':\n+\t\t\tcase 'page_title':\n+\t\t\t\treturn get_the_title();\n+\n+\t\t\tcase 'group_title':\n+\t\t\t\treturn single_tag_title( '', false );\n+\n+\t\t\tcase 'date':\n+\t\t\t\treturn trim( single_month_title( ' ', false ) );\n+\n+\t\t\tdefault:\n+\t\t\t\treturn '';\n+\t\t}\n+\t}\n+\n+\t/**\n+\t * Returns page type for current page. We need this helper in order to determine what\n+\t * user defined title format should be used for custom title.\n+\t *\n+\t * @return string|bool Type of current page or false if unsupported.\n+\t */\n+\tpublic static function get_page_type() {\n+\n+\t\tif ( is_front_page() ) {\n+\t\t\treturn 'front_page';\n+\t\t}\n+\n+\t\tif ( is_category() || is_tag() ) {\n+\t\t\treturn 'groups';\n+\t\t}\n+\n+\t\tif ( is_archive() ) {\n+\t\t\treturn 'archives';\n+\t\t}\n+\n+\t\tif ( is_page() ) {\n+\t\t\treturn 'pages';\n+\t\t}\n+\n+\t\tif ( is_singular() ) {\n+\t\t\treturn 'posts';\n+\t\t}\n+\n+\t\treturn false;\n+\t}\n+\n+\t/**\n+\t * Checks if current theme is defining custom title that won't work nicely\n+\t * with our custom SEO title override.\n+\t *\n+\t * @return bool True if current theme sets custom title, false otherwise.\n+\t */\n+\tpublic static function is_conflicted_theme() {\n+\t\t$conflicted_themes = apply_filters( 'jetpack_seo_custom_title_conflicted_themes', array() );","path":"modules/seo-tools/jetpack-seo-titles.php","position":null,"original_position":180,"commit_id":"6f9664d15d7c2cd9df2845c2fd4a4e1e6760106d","original_commit_id":"76a41b3ad360efeafa43408bc9de53fef179a794","user":{"login":"vindl","id":1182160,"avatar_url":"https://avatars.githubusercontent.com/u/1182160?v=3","gravatar_id":"","url":"https://api.github.com/users/vindl","html_url":"https://github.com/vindl","followers_url":"https://api.github.com/users/vindl/followers","following_url":"https://api.github.com/users/vindl/following{/other_user}","gists_url":"https://api.github.com/users/vindl/gists{/gist_id}","starred_url":"https://api.github.com/users/vindl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vindl/subscriptions","organizations_url":"https://api.github.com/users/vindl/orgs","repos_url":"https://api.github.com/users/vindl/repos","events_url":"https://api.github.com/users/vindl/events{/privacy}","received_events_url":"https://api.github.com/users/vindl/received_events","type":"User","site_admin":false},"body":"Added docblock in 462db814f9660e49bb00eff953fbc1a4c07a3945","created_at":"2016-10-27T02:31:11Z","updated_at":"2016-10-27T02:31:11Z","html_url":"https://github.com/Automattic/jetpack/pull/5307#discussion_r85256907","pull_request_url":"https://api.github.com/repos/Automattic/jetpack/pulls/5307","_links":{"self":{"href":"https://api.github.com/repos/Automattic/jetpack/pulls/comments/85256907"},"html":{"href":"https://github.com/Automattic/jetpack/pull/5307#discussion_r85256907"},"pull_request":{"href":"https://api.github.com/repos/Automattic/jetpack/pulls/5307"}}},"pull_request":{"url":"https://api.github.com/repos/Automattic/jetpack/pulls/5307","id":88905013,"html_url":"https://github.com/Automattic/jetpack/pull/5307","diff_url":"https://github.com/Automattic/jetpack/pull/5307.diff","patch_url":"https://github.com/Automattic/jetpack/pull/5307.patch","issue_url":"https://api.github.com/repos/Automattic/jetpack/issues/5307","number":5307,"state":"open","locked":false,"title":"Add SEO Tools module","user":{"login":"vindl","id":1182160,"avatar_url":"https://avatars.githubusercontent.com/u/1182160?v=3","gravatar_id":"","url":"https://api.github.com/users/vindl","html_url":"https://github.com/vindl","followers_url":"https://api.github.com/users/vindl/followers","following_url":"https://api.github.com/users/vindl/following{/other_user}","gists_url":"https://api.github.com/users/vindl/gists{/gist_id}","starred_url":"https://api.github.com/users/vindl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vindl/subscriptions","organizations_url":"https://api.github.com/users/vindl/orgs","repos_url":"https://api.github.com/users/vindl/repos","events_url":"https://api.github.com/users/vindl/events{/privacy}","received_events_url":"https://api.github.com/users/vindl/received_events","type":"User","site_admin":false},"body":"Port existing SEO tools from WordPress.com into Jetpack. \r\n\r\n1. SEO plugin code from WordPress.com was imported along with required library files that it depends on.\r\n\r\n2. Site settings API endpoint were updated to include `advanced_seo_front_page_description` and `advanced_seo_title_formats`. \r\n\r\n3. Post API endpoints were updated in order to support Post/Page custom meta descriptions. These values are saved as post metadata.\r\n\r\n4. Modified Site settings endpoints to allow updating site verification codes from Calypso.\r\n\r\n5. Added Yandex to the list of supported Site verification services.","created_at":"2016-10-11T20:29:18Z","updated_at":"2016-10-27T02:31:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"960012e599881fffad60224c4bf0bf263042ce24","assignee":{"login":"vindl","id":1182160,"avatar_url":"https://avatars.githubusercontent.com/u/1182160?v=3","gravatar_id":"","url":"https://api.github.com/users/vindl","html_url":"https://github.com/vindl","followers_url":"https://api.github.com/users/vindl/followers","following_url":"https://api.github.com/users/vindl/following{/other_user}","gists_url":"https://api.github.com/users/vindl/gists{/gist_id}","starred_url":"https://api.github.com/users/vindl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vindl/subscriptions","organizations_url":"https://api.github.com/users/vindl/orgs","repos_url":"https://api.github.com/users/vindl/repos","events_url":"https://api.github.com/users/vindl/events{/privacy}","received_events_url":"https://api.github.com/users/vindl/received_events","type":"User","site_admin":false},"assignees":[{"login":"vindl","id":1182160,"avatar_url":"https://avatars.githubusercontent.com/u/1182160?v=3","gravatar_id":"","url":"https://api.github.com/users/vindl","html_url":"https://github.com/vindl","followers_url":"https://api.github.com/users/vindl/followers","following_url":"https://api.github.com/users/vindl/following{/other_user}","gists_url":"https://api.github.com/users/vindl/gists{/gist_id}","starred_url":"https://api.github.com/users/vindl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vindl/subscriptions","organizations_url":"https://api.github.com/users/vindl/orgs","repos_url":"https://api.github.com/users/vindl/repos","events_url":"https://api.github.com/users/vindl/events{/privacy}","received_events_url":"https://api.github.com/users/vindl/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Automattic/jetpack/milestones/54","html_url":"https://github.com/Automattic/jetpack/milestones/4.4","labels_url":"https://api.github.com/repos/Automattic/jetpack/milestones/54/labels","id":1869985,"number":54,"title":"4.4","description":"","creator":{"login":"richardmuscat","id":2287740,"avatar_url":"https://avatars.githubusercontent.com/u/2287740?v=3","gravatar_id":"","url":"https://api.github.com/users/richardmuscat","html_url":"https://github.com/richardmuscat","followers_url":"https://api.github.com/users/richardmuscat/followers","following_url":"https://api.github.com/users/richardmuscat/following{/other_user}","gists_url":"https://api.github.com/users/richardmuscat/gists{/gist_id}","starred_url":"https://api.github.com/users/richardmuscat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardmuscat/subscriptions","organizations_url":"https://api.github.com/users/richardmuscat/orgs","repos_url":"https://api.github.com/users/richardmuscat/repos","events_url":"https://api.github.com/users/richardmuscat/events{/privacy}","received_events_url":"https://api.github.com/users/richardmuscat/received_events","type":"User","site_admin":false},"open_issues":374,"closed_issues":73,"state":"open","created_at":"2016-07-07T13:38:22Z","updated_at":"2016-10-26T23:07:14Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/Automattic/jetpack/pulls/5307/commits","review_comments_url":"https://api.github.com/repos/Automattic/jetpack/pulls/5307/comments","review_comment_url":"https://api.github.com/repos/Automattic/jetpack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Automattic/jetpack/issues/5307/comments","statuses_url":"https://api.github.com/repos/Automattic/jetpack/statuses/6f9664d15d7c2cd9df2845c2fd4a4e1e6760106d","head":{"label":"Automattic:add/advanced-seo","ref":"add/advanced-seo","sha":"6f9664d15d7c2cd9df2845c2fd4a4e1e6760106d","user":{"login":"Automattic","id":887802,"avatar_url":"https://avatars.githubusercontent.com/u/887802?v=3","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,"name":"jetpack","full_name":"Automattic/jetpack","owner":{"login":"Automattic","id":887802,"avatar_url":"https://avatars.githubusercontent.com/u/887802?v=3","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},"private":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":"2016-10-26T22:06:36Z","pushed_at":"2016-10-27T02:24:39Z","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":305053,"stargazers_count":575,"watchers_count":575,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":357,"mirror_url":null,"open_issues_count":860,"forks":357,"open_issues":860,"watchers":575,"default_branch":"master"}},"base":{"label":"Automattic:master","ref":"master","sha":"f4ce8a4a58d119c3d1a25a72992c63ac144ed03e","user":{"login":"Automattic","id":887802,"avatar_url":"https://avatars.githubusercontent.com/u/887802?v=3","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,"name":"jetpack","full_name":"Automattic/jetpack","owner":{"login":"Automattic","id":887802,"avatar_url":"https://avatars.githubusercontent.com/u/887802?v=3","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},"private":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":"2016-10-26T22:06:36Z","pushed_at":"2016-10-27T02:24:39Z","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":305053,"stargazers_count":575,"watchers_count":575,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":357,"mirror_url":null,"open_issues_count":860,"forks":357,"open_issues":860,"watchers":575,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Automattic/jetpack/pulls/5307"},"html":{"href":"https://github.com/Automattic/jetpack/pull/5307"},"issue":{"href":"https://api.github.com/repos/Automattic/jetpack/issues/5307"},"comments":{"href":"https://api.github.com/repos/Automattic/jetpack/issues/5307/comments"},"review_comments":{"href":"https://api.github.com/repos/Automattic/jetpack/pulls/5307/comments"},"review_comment":{"href":"https://api.github.com/repos/Automattic/jetpack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Automattic/jetpack/pulls/5307/commits"},"statuses":{"href":"https://api.github.com/repos/Automattic/jetpack/statuses/6f9664d15d7c2cd9df2845c2fd4a4e1e6760106d"}}}}
{"actor":{"display_login":"vindl"}}