{"action":"created","comment":{"url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/pulls/comments/82413693","pull_request_review_id":3325273,"id":82413693,"diff_hunk":"@@ -0,0 +1,317 @@\n+<?php\n+\n+/**\n+ * Class New_Device_Notification_VIP_Go\n+ *\n+ * Customisations for the VIP Go platform.\n+ */\n+\n+class New_Device_Notification_VIP_Go {\n+\n+\t/**\n+\t * New_Device_Notification_VIP_Go constructor.\n+\t */\n+\tfunction __construct() {\n+\t\tadd_filter( 'ndn_location', array( $this, 'filter_ndn_location' ) );\n+\t}\n+\n+\t/**\n+\t * Get the singleton instance of this class\n+\t *\n+\t * @return New_Device_Notification_VIP_Go\n+\t */\n+\tstatic public function instance() {\n+\t\tstatic $instance = false;\n+\t\tif ( ! $instance ) {\n+\t\t\t$instance = new New_Device_Notification_VIP_Go();\n+\t\t}\n+\t\treturn $instance;\n+\t}\n+\n+\n+\t/**\n+\t * Hooks the `ndn_location` filter to supply the location\n+\t * of the current remote address.\n+\t *\n+\t * @param object $location A stdClass object, detailing a location (possibly unknown)\n+\t *\n+\t * @return object A stdClass object, detailing the location of the remote address\n+\t */\n+\tpublic function filter_ndn_location( $location ) {\n+\n+\t\tif ( isset( $_SERVER['HTTP_X_COUNTRY_CODE'] ) && is_string( $_SERVER['HTTP_X_COUNTRY_CODE'] ) ) {\n+\t\t\t$location->country_short = wp_strip_all_tags( $_SERVER['HTTP_X_COUNTRY_CODE'] );\n+\t\t\t$location->country_long  = $this->country_code_to_long( $location->country_short );\n+\t\t\t$location->human         = sprintf( '%1$s (%2$s), town/city accuracy unavailable, may be inaccurate for mobile devices', $location->country_short, $location->country_long );\n+\t\t}\n+\n+\t\treturn $location;\n+\t}\n+\n+\t/**\n+\t * Convert a two letter country code to a country name.\n+\t *\n+\t * @param string $code A two letter country code\n+\t *\n+\t * @return string The name of a country, or an empty string if nothing matches the supplied code\n+\t */\n+\tpublic function country_code_to_long( $code ) {\n+\t\t$longs = array(\n+\t\t\t'AF' => 'Afghanistan',\n+\t\t\t'AX' => 'Aland Islands',\n+\t\t\t'AL' => 'Albania',\n+\t\t\t'DZ' => 'Algeria',\n+\t\t\t'AS' => 'American Samoa',\n+\t\t\t'AD' => 'Andorra',\n+\t\t\t'AO' => 'Angola',\n+\t\t\t'AI' => 'Anguilla',\n+\t\t\t'AQ' => 'Antarctica',\n+\t\t\t'AG' => 'Antigua and Barbuda',\n+\t\t\t'AR' => 'Argentina',\n+\t\t\t'AM' => 'Armenia',\n+\t\t\t'AW' => 'Aruba',\n+\t\t\t'AU' => 'Australia',\n+\t\t\t'AT' => 'Austria',\n+\t\t\t'AZ' => 'Azerbaijan',\n+\t\t\t'BS' => 'Bahamas',\n+\t\t\t'BH' => 'Bahrain',\n+\t\t\t'BD' => 'Bangladesh',\n+\t\t\t'BB' => 'Barbados',\n+\t\t\t'BY' => 'Belarus',\n+\t\t\t'BE' => 'Belgium',\n+\t\t\t'BZ' => 'Belize',\n+\t\t\t'BJ' => 'Benin',\n+\t\t\t'BM' => 'Bermuda',\n+\t\t\t'BT' => 'Bhutan',\n+\t\t\t'BO' => 'Bolivia',\n+\t\t\t'BA' => 'Bosnia and Herzegovina',\n+\t\t\t'BW' => 'Botswana',\n+\t\t\t'BV' => 'Bouvet Island',\n+\t\t\t'BR' => 'Brazil',\n+\t\t\t'VG' => 'British Virgin Islands',\n+\t\t\t'IO' => 'British Indian Ocean Territory',\n+\t\t\t'BN' => 'Brunei Darussalam',\n+\t\t\t'BG' => 'Bulgaria',\n+\t\t\t'BF' => 'Burkina Faso',\n+\t\t\t'BI' => 'Burundi',\n+\t\t\t'KH' => 'Cambodia',\n+\t\t\t'CM' => 'Cameroon',\n+\t\t\t'CA' => 'Canada',\n+\t\t\t'CV' => 'Cape Verde',\n+\t\t\t'KY' => 'Cayman Islands',\n+\t\t\t'CF' => 'Central African Republic',\n+\t\t\t'TD' => 'Chad',\n+\t\t\t'CL' => 'Chile',\n+\t\t\t'CN' => 'China',\n+\t\t\t'HK' => 'Hong Kong, Special Administrative Region of China',\n+\t\t\t'MO' => 'Macao, Special Administrative Region of China',\n+\t\t\t'CX' => 'Christmas Island',\n+\t\t\t'CC' => 'Cocos (Keeling) Islands',\n+\t\t\t'CO' => 'Colombia',\n+\t\t\t'KM' => 'Comoros',\n+\t\t\t'CG' => 'Congo (Brazzaville)',\n+\t\t\t'CD' => 'Congo, Democratic Republic of the',\n+\t\t\t'CK' => 'Cook Islands',\n+\t\t\t'CR' => 'Costa Rica',\n+\t\t\t'CI' => 'Côte d\\'Ivoire',\n+\t\t\t'HR' => 'Croatia',\n+\t\t\t'CU' => 'Cuba',\n+\t\t\t'CY' => 'Cyprus',\n+\t\t\t'CZ' => 'Czech Republic',\n+\t\t\t'DK' => 'Denmark',\n+\t\t\t'DJ' => 'Djibouti',\n+\t\t\t'DM' => 'Dominica',\n+\t\t\t'DO' => 'Dominican Republic',\n+\t\t\t'EC' => 'Ecuador',\n+\t\t\t'EG' => 'Egypt',\n+\t\t\t'SV' => 'El Salvador',\n+\t\t\t'GQ' => 'Equatorial Guinea',\n+\t\t\t'ER' => 'Eritrea',\n+\t\t\t'EE' => 'Estonia',\n+\t\t\t'ET' => 'Ethiopia',\n+\t\t\t'FK' => 'Falkland Islands (Malvinas)',\n+\t\t\t'FO' => 'Faroe Islands',\n+\t\t\t'FJ' => 'Fiji',\n+\t\t\t'FI' => 'Finland',\n+\t\t\t'FR' => 'France',\n+\t\t\t'GF' => 'French Guiana',\n+\t\t\t'PF' => 'French Polynesia',\n+\t\t\t'TF' => 'French Southern Territories',\n+\t\t\t'GA' => 'Gabon',\n+\t\t\t'GM' => 'Gambia',\n+\t\t\t'GE' => 'Georgia',\n+\t\t\t'DE' => 'Germany',\n+\t\t\t'GH' => 'Ghana',\n+\t\t\t'GI' => 'Gibraltar',\n+\t\t\t'GR' => 'Greece',\n+\t\t\t'GL' => 'Greenland',\n+\t\t\t'GD' => 'Grenada',\n+\t\t\t'GP' => 'Guadeloupe',\n+\t\t\t'GU' => 'Guam',\n+\t\t\t'GT' => 'Guatemala',\n+\t\t\t'GG' => 'Guernsey',\n+\t\t\t'GN' => 'Guinea',\n+\t\t\t'GW' => 'Guinea-Bissau',\n+\t\t\t'GY' => 'Guyana',\n+\t\t\t'HT' => 'Haiti',\n+\t\t\t'HM' => 'Heard Island and Mcdonald Islands',\n+\t\t\t'VA' => 'Holy See (Vatican City State)',\n+\t\t\t'HN' => 'Honduras',\n+\t\t\t'HU' => 'Hungary',\n+\t\t\t'IS' => 'Iceland',\n+\t\t\t'IN' => 'India',\n+\t\t\t'ID' => 'Indonesia',\n+\t\t\t'IR' => 'Iran, Islamic Republic of',\n+\t\t\t'IQ' => 'Iraq',\n+\t\t\t'IE' => 'Ireland',\n+\t\t\t'IM' => 'Isle of Man',\n+\t\t\t'IL' => 'Israel',\n+\t\t\t'IT' => 'Italy',\n+\t\t\t'JM' => 'Jamaica',\n+\t\t\t'JP' => 'Japan',\n+\t\t\t'JE' => 'Jersey',\n+\t\t\t'JO' => 'Jordan',\n+\t\t\t'KZ' => 'Kazakhstan',\n+\t\t\t'KE' => 'Kenya',\n+\t\t\t'KI' => 'Kiribati',\n+\t\t\t'KP' => 'Korea, Democratic People\\'s Republic of',\n+\t\t\t'KR' => 'Korea, Republic of',\n+\t\t\t'KW' => 'Kuwait',\n+\t\t\t'KG' => 'Kyrgyzstan',\n+\t\t\t'LA' => 'Lao PDR',\n+\t\t\t'LV' => 'Latvia',\n+\t\t\t'LB' => 'Lebanon',\n+\t\t\t'LS' => 'Lesotho',\n+\t\t\t'LR' => 'Liberia',\n+\t\t\t'LY' => 'Libya',\n+\t\t\t'LI' => 'Liechtenstein',\n+\t\t\t'LT' => 'Lithuania',\n+\t\t\t'LU' => 'Luxembourg',\n+\t\t\t'MK' => 'Macedonia, Republic of',\n+\t\t\t'MG' => 'Madagascar',\n+\t\t\t'MW' => 'Malawi',\n+\t\t\t'MY' => 'Malaysia',\n+\t\t\t'MV' => 'Maldives',\n+\t\t\t'ML' => 'Mali',\n+\t\t\t'MT' => 'Malta',\n+\t\t\t'MH' => 'Marshall Islands',\n+\t\t\t'MQ' => 'Martinique',\n+\t\t\t'MR' => 'Mauritania',\n+\t\t\t'MU' => 'Mauritius',\n+\t\t\t'YT' => 'Mayotte',\n+\t\t\t'MX' => 'Mexico',\n+\t\t\t'FM' => 'Micronesia, Federated States of',\n+\t\t\t'MD' => 'Moldova',\n+\t\t\t'MC' => 'Monaco',\n+\t\t\t'MN' => 'Mongolia',\n+\t\t\t'ME' => 'Montenegro',\n+\t\t\t'MS' => 'Montserrat',\n+\t\t\t'MA' => 'Morocco',\n+\t\t\t'MZ' => 'Mozambique',\n+\t\t\t'MM' => 'Myanmar',\n+\t\t\t'NA' => 'Namibia',\n+\t\t\t'NR' => 'Nauru',\n+\t\t\t'NP' => 'Nepal',\n+\t\t\t'NL' => 'Netherlands',\n+\t\t\t'AN' => 'Netherlands Antilles',\n+\t\t\t'NC' => 'New Caledonia',\n+\t\t\t'NZ' => 'New Zealand',\n+\t\t\t'NI' => 'Nicaragua',\n+\t\t\t'NE' => 'Niger',\n+\t\t\t'NG' => 'Nigeria',\n+\t\t\t'NU' => 'Niue',\n+\t\t\t'NF' => 'Norfolk Island',\n+\t\t\t'MP' => 'Northern Mariana Islands',\n+\t\t\t'NO' => 'Norway',\n+\t\t\t'OM' => 'Oman',\n+\t\t\t'PK' => 'Pakistan',\n+\t\t\t'PW' => 'Palau',\n+\t\t\t'PS' => 'Palestinian Territory, Occupied',\n+\t\t\t'PA' => 'Panama',\n+\t\t\t'PG' => 'Papua New Guinea',\n+\t\t\t'PY' => 'Paraguay',\n+\t\t\t'PE' => 'Peru',\n+\t\t\t'PH' => 'Philippines',\n+\t\t\t'PN' => 'Pitcairn',\n+\t\t\t'PL' => 'Poland',\n+\t\t\t'PT' => 'Portugal',\n+\t\t\t'PR' => 'Puerto Rico',\n+\t\t\t'QA' => 'Qatar',\n+\t\t\t'RE' => 'Réunion',\n+\t\t\t'RO' => 'Romania',\n+\t\t\t'RU' => 'Russian Federation',\n+\t\t\t'RW' => 'Rwanda',\n+\t\t\t'BL' => 'Saint-Barthélemy',\n+\t\t\t'SH' => 'Saint Helena',\n+\t\t\t'KN' => 'Saint Kitts and Nevis',\n+\t\t\t'LC' => 'Saint Lucia',\n+\t\t\t'MF' => 'Saint-Martin (French part)',\n+\t\t\t'PM' => 'Saint Pierre and Miquelon',\n+\t\t\t'VC' => 'Saint Vincent and Grenadines',\n+\t\t\t'WS' => 'Samoa',\n+\t\t\t'SM' => 'San Marino',\n+\t\t\t'ST' => 'Sao Tome and Principe',\n+\t\t\t'SA' => 'Saudi Arabia',\n+\t\t\t'SN' => 'Senegal',\n+\t\t\t'RS' => 'Serbia',\n+\t\t\t'SC' => 'Seychelles',\n+\t\t\t'SL' => 'Sierra Leone',\n+\t\t\t'SG' => 'Singapore',\n+\t\t\t'SK' => 'Slovakia',\n+\t\t\t'SI' => 'Slovenia',\n+\t\t\t'SB' => 'Solomon Islands',\n+\t\t\t'SO' => 'Somalia',\n+\t\t\t'ZA' => 'South Africa',\n+\t\t\t'GS' => 'South Georgia and the South Sandwich Islands',\n+\t\t\t'SS' => 'South Sudan',\n+\t\t\t'ES' => 'Spain',\n+\t\t\t'LK' => 'Sri Lanka',\n+\t\t\t'SD' => 'Sudan',\n+\t\t\t'SR' => 'Suriname *',\n+\t\t\t'SJ' => 'Svalbard and Jan Mayen Islands',\n+\t\t\t'SZ' => 'Swaziland',\n+\t\t\t'SE' => 'Sweden',\n+\t\t\t'CH' => 'Switzerland',\n+\t\t\t'SY' => 'Syrian Arab Republic (Syria)',\n+\t\t\t'TW' => 'Taiwan, Republic of China',\n+\t\t\t'TJ' => 'Tajikistan',\n+\t\t\t'TZ' => 'Tanzania *, United Republic of',\n+\t\t\t'TH' => 'Thailand',\n+\t\t\t'TL' => 'Timor-Leste',\n+\t\t\t'TG' => 'Togo',\n+\t\t\t'TK' => 'Tokelau',\n+\t\t\t'TO' => 'Tonga',\n+\t\t\t'TT' => 'Trinidad and Tobago',\n+\t\t\t'TN' => 'Tunisia',\n+\t\t\t'TR' => 'Turkey',\n+\t\t\t'TM' => 'Turkmenistan',\n+\t\t\t'TC' => 'Turks and Caicos Islands',\n+\t\t\t'TV' => 'Tuvalu',\n+\t\t\t'UG' => 'Uganda',\n+\t\t\t'UA' => 'Ukraine',\n+\t\t\t'AE' => 'United Arab Emirates',\n+\t\t\t'GB' => 'United Kingdom',\n+\t\t\t'US' => 'United States of America',\n+\t\t\t'UM' => 'United States Minor Outlying Islands',\n+\t\t\t'UY' => 'Uruguay',\n+\t\t\t'UZ' => 'Uzbekistan',\n+\t\t\t'VU' => 'Vanuatu',\n+\t\t\t'VE' => 'Venezuela (Bolivarian Republic of)',\n+\t\t\t'VN' => 'Viet Nam',\n+\t\t\t'VI' => 'Virgin Islands, US',\n+\t\t\t'WF' => 'Wallis and Futuna Islands',\n+\t\t\t'EH' => 'Western Sahara',\n+\t\t\t'YE' => 'Yemen',\n+\t\t\t'ZM' => 'Zambia',\n+\t\t\t'ZW' => 'Zimbabwe',\n+\t\t);\n+\t\tif ( isset( $longs[ $code ] ) ) {\n+\t\t\treturn $longs[ $code ];\n+\t\t}\n+\n+\t\treturn '';","path":"shared-plugins/new-device-notification/vipgo-helper.php","position":312,"original_position":312,"commit_id":"978baa9dd6e6ec64e029d9433aa0f143bb620454","original_commit_id":"978baa9dd6e6ec64e029d9433aa0f143bb620454","user":{"login":"simonwheatley","id":233434,"avatar_url":"https://avatars.githubusercontent.com/u/233434?v=3","gravatar_id":"","url":"https://api.github.com/users/simonwheatley","html_url":"https://github.com/simonwheatley","followers_url":"https://api.github.com/users/simonwheatley/followers","following_url":"https://api.github.com/users/simonwheatley/following{/other_user}","gists_url":"https://api.github.com/users/simonwheatley/gists{/gist_id}","starred_url":"https://api.github.com/users/simonwheatley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonwheatley/subscriptions","organizations_url":"https://api.github.com/users/simonwheatley/orgs","repos_url":"https://api.github.com/users/simonwheatley/repos","events_url":"https://api.github.com/users/simonwheatley/events{/privacy}","received_events_url":"https://api.github.com/users/simonwheatley/received_events","type":"User","site_admin":false},"body":"LOL","created_at":"2016-10-07T15:36:46Z","updated_at":"2016-10-07T15:36:46Z","html_url":"https://github.com/Automattic/vip-go-mu-plugins/pull/306#discussion_r82413693","pull_request_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/pulls/306","_links":{"self":{"href":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/pulls/comments/82413693"},"html":{"href":"https://github.com/Automattic/vip-go-mu-plugins/pull/306#discussion_r82413693"},"pull_request":{"href":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/pulls/306"}}},"pull_request":{"url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/pulls/306","id":87040962,"html_url":"https://github.com/Automattic/vip-go-mu-plugins/pull/306","diff_url":"https://github.com/Automattic/vip-go-mu-plugins/pull/306.diff","patch_url":"https://github.com/Automattic/vip-go-mu-plugins/pull/306.patch","issue_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/issues/306","number":306,"state":"open","locked":false,"title":"Make NDN compatible with VIP Go","user":{"login":"emrikol","id":3060583,"avatar_url":"https://avatars.githubusercontent.com/u/3060583?v=3","gravatar_id":"","url":"https://api.github.com/users/emrikol","html_url":"https://github.com/emrikol","followers_url":"https://api.github.com/users/emrikol/followers","following_url":"https://api.github.com/users/emrikol/following{/other_user}","gists_url":"https://api.github.com/users/emrikol/gists{/gist_id}","starred_url":"https://api.github.com/users/emrikol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emrikol/subscriptions","organizations_url":"https://api.github.com/users/emrikol/orgs","repos_url":"https://api.github.com/users/emrikol/repos","events_url":"https://api.github.com/users/emrikol/events{/privacy}","received_events_url":"https://api.github.com/users/emrikol/received_events","type":"User","site_admin":false},"body":"There are three main changes that _need_ to be done for VIP Go compatibility:\r\n\r\n1. `is_super_admin()` needs replaced to better work with single site installations/non-WordPress.com multisite\r\n2. The cookie domain needs set to the primary domain\r\n3. Until `ip2location()` is available on VIP Go, it shouldn't be used\r\n\r\nOther things that should be done specific for VIP Go, but can be done somewhere else in mu-plugins\r\n\r\n1. The email message should be reworded\r\n2. The email \"from\" addresses seems to be hardcoded to \"noreply@wordpress.com\" on VIP Go\r\n\r\n----\r\n\r\n**Update Friday 30 September 2016**\r\n\r\nChecklist for merge:\r\n\r\n* [x] `is_super_admin()` needs replaced to better work with single site installations/non-WordPress.com multisite\r\n* [x] The cookie domain needs set to the primary domain\r\n* [x] Until `ip2location()` is available on VIP Go, it shouldn't be used\r\n* [x] The email message should be reworded\r\n* [x] The email \"from\" addresses seems to be hardcoded to \"noreply@wordpress.com\" on VIP Go\r\n* [ ] WordPress.com functionality needs testing before it's synced across","created_at":"2016-09-28T01:32:50Z","updated_at":"2016-10-07T15:36:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c676f648c7878a33f17ce3844433f61c2adc319d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/pulls/306/commits","review_comments_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/pulls/306/comments","review_comment_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/issues/306/comments","statuses_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/statuses/978baa9dd6e6ec64e029d9433aa0f143bb620454","head":{"label":"Automattic:fix/ndn-vip-go-compat","ref":"fix/ndn-vip-go-compat","sha":"978baa9dd6e6ec64e029d9433aa0f143bb620454","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":32939693,"name":"vip-go-mu-plugins","full_name":"Automattic/vip-go-mu-plugins","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/vip-go-mu-plugins","description":"The 'must use' plugins on the VIP Go platform.","fork":false,"url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins","forks_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/forks","keys_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/teams","hooks_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/hooks","issue_events_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/issues/events{/number}","events_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/events","assignees_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/assignees{/user}","branches_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/branches{/branch}","tags_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/tags","blobs_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/git/refs{/sha}","trees_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/statuses/{sha}","languages_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/languages","stargazers_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/stargazers","contributors_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/contributors","subscribers_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/subscribers","subscription_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/subscription","commits_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/commits{/sha}","git_commits_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/git/commits{/sha}","comments_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/comments{/number}","issue_comment_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/issues/comments{/number}","contents_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/contents/{+path}","compare_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/merges","archive_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/downloads","issues_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/issues{/number}","pulls_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/pulls{/number}","milestones_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/milestones{/number}","notifications_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/labels{/name}","releases_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/releases{/id}","deployments_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/deployments","created_at":"2015-03-26T16:42:46Z","updated_at":"2016-09-22T03:57:37Z","pushed_at":"2016-10-07T15:20:30Z","git_url":"git://github.com/Automattic/vip-go-mu-plugins.git","ssh_url":"git@github.com:Automattic/vip-go-mu-plugins.git","clone_url":"https://github.com/Automattic/vip-go-mu-plugins.git","svn_url":"https://github.com/Automattic/vip-go-mu-plugins","homepage":"","size":31978,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":50,"forks":7,"open_issues":50,"watchers":7,"default_branch":"master"}},"base":{"label":"Automattic:master","ref":"master","sha":"0677246beb5a695874ddb657e84ac0ca034c3ee2","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":32939693,"name":"vip-go-mu-plugins","full_name":"Automattic/vip-go-mu-plugins","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/vip-go-mu-plugins","description":"The 'must use' plugins on the VIP Go platform.","fork":false,"url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins","forks_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/forks","keys_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/teams","hooks_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/hooks","issue_events_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/issues/events{/number}","events_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/events","assignees_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/assignees{/user}","branches_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/branches{/branch}","tags_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/tags","blobs_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/git/refs{/sha}","trees_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/statuses/{sha}","languages_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/languages","stargazers_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/stargazers","contributors_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/contributors","subscribers_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/subscribers","subscription_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/subscription","commits_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/commits{/sha}","git_commits_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/git/commits{/sha}","comments_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/comments{/number}","issue_comment_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/issues/comments{/number}","contents_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/contents/{+path}","compare_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/merges","archive_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/downloads","issues_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/issues{/number}","pulls_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/pulls{/number}","milestones_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/milestones{/number}","notifications_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/labels{/name}","releases_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/releases{/id}","deployments_url":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/deployments","created_at":"2015-03-26T16:42:46Z","updated_at":"2016-09-22T03:57:37Z","pushed_at":"2016-10-07T15:20:30Z","git_url":"git://github.com/Automattic/vip-go-mu-plugins.git","ssh_url":"git@github.com:Automattic/vip-go-mu-plugins.git","clone_url":"https://github.com/Automattic/vip-go-mu-plugins.git","svn_url":"https://github.com/Automattic/vip-go-mu-plugins","homepage":"","size":31978,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":50,"forks":7,"open_issues":50,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/pulls/306"},"html":{"href":"https://github.com/Automattic/vip-go-mu-plugins/pull/306"},"issue":{"href":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/issues/306"},"comments":{"href":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/issues/306/comments"},"review_comments":{"href":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/pulls/306/comments"},"review_comment":{"href":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/pulls/306/commits"},"statuses":{"href":"https://api.github.com/repos/Automattic/vip-go-mu-plugins/statuses/978baa9dd6e6ec64e029d9433aa0f143bb620454"}}}}
{"actor":{"display_login":"simonwheatley"}}