{"action":"created","comment":{"url":"https://api.github.com/repos/Yoast/wordpress-seo/pulls/comments/40547457","id":40547457,"diff_hunk":"@@ -0,0 +1,317 @@\n+<?php\n+/**\n+ * @package WPSEO\\Admin\n+ */\n+\n+/**\n+ * Class WPSEO_Taxonomy_Presenter\n+ */\n+class WPSEO_Taxonomy_Presenter {\n+\n+\t/**\n+\t * @var array\n+\t */\n+\tprivate $options = array();\n+\n+\t/**\n+\t * @var bool|mixed\n+\t */\n+\tprivate $tax_meta;\n+\n+\t/**\n+\t * @var stdClass\n+\t */\n+\tprivate $term;\n+\n+\t/**\n+\t * @var array   Options array for the no-index options, including translated labels\n+\t */\n+\tprivate $no_index_options = array();\n+\n+\t/**\n+\t * @var array   Options array for the sitemap_include options, including translated labels\n+\t */\n+\tprivate $sitemap_include_options = array();\n+\n+\t/**\n+\t * @param stdClass $term\n+\t */\n+\tpublic function __construct( $term ) {\n+\t\t$this->term     = $term;\n+\t\t$this->tax_meta = WPSEO_Taxonomy_Meta::get_term_meta( (int) $term->term_id, $term->taxonomy );\n+\t\t$this->options  = WPSEO_Options::get_all();\n+\n+\t\t$this->translate_meta_options();\n+\t}\n+\n+\t/**\n+\t * Displaying the form fields\n+\t *\n+\t * @param array $fields\n+\t */\n+\tpublic function display_fields( array $fields ) {\n+\t\tforeach ( $fields as $field_name => $field_options ) {\n+\t\t\tif ( empty( $field_options['hide'] ) ) {\n+\t\t\t\t$this->form_row( 'wpseo_' . $field_name, $field_options['label'], $field_options['description'], $field_options['type'], $field_options['options'] );\n+\t\t\t}\n+\t\t}\n+\t}\n+\n+\t/**\n+\t * Getting the fields for the general tab\n+\t *\n+\t * @return array\n+\t */\n+\tpublic function general_fields() {\n+\n+\t\t$current = 'index';\n+\t\tif ( isset( $options[ 'noindex-tax-' . $this->term->taxonomy ] ) && $this->options[ 'noindex-tax-' . $this->term->taxonomy ] === true ) {\n+\t\t\t$current = 'noindex';\n+\t\t}\n+\n+\t\t$noindex_options['options']            = $this->no_index_options;\n+\t\t$noindex_options['options']['default'] = sprintf( $noindex_options['options']['default'], $this->term->taxonomy, $current );\n+\n+\t\tif ( '0' === get_option( 'blog_public' ) ) {\n+\t\t\t$noindex_options['description'] = '<br /><span class=\"error-message\">' . esc_html__( 'Warning: even though you can set the meta robots setting here, the entire site is set to noindex in the sitewide privacy settings, so these settings won\\'t have an effect.', 'wordpress-seo' ) . '</span>';\n+\t\t}\n+\n+\t\t$fields = array(\n+\t\t\t'title' => array(\n+\t\t\t\t'label'       => __( 'SEO Title', 'wordpress-seo' ),\n+\t\t\t\t'description' => esc_html__( 'The SEO title is used on the archive page for this term.', 'wordpress-seo' ),\n+\t\t\t\t'type'        => 'text',\n+\t\t\t\t'options'     => '',\n+\t\t\t),\n+\t\t\t'desc' => array(\n+\t\t\t\t'label'       => __( 'SEO Description', 'wordpress-seo' ),\n+\t\t\t\t'description' => esc_html__( 'The SEO description is used for the meta description on the archive page for this term.', 'wordpress-seo' ),\n+\t\t\t\t'type'        => 'text',\n+\t\t\t\t'options'     => '',\n+\t\t\t),\n+\t\t\t'metakey'  => array(\n+\t\t\t\t'label'       => __( 'Meta keywords', 'wordpress-seo' ),\n+\t\t\t\t'description' => esc_html__( 'Meta keywords used on the archive page for this term.', 'wordpress-seo' ),\n+\t\t\t\t'type'        => 'text',\n+\t\t\t\t'options'     => '',\n+\t\t\t\t'hide'        => $this->options['usemetakeywords'] !== true,\n+\t\t\t),\n+\t\t\t'canonical'  => array(\n+\t\t\t\t'label'       => __( 'Canonical', 'wordpress-seo' ),\n+\t\t\t\t'description' => esc_html__( 'The canonical link is shown on the archive page for this term.', 'wordpress-seo' ),\n+\t\t\t\t'type'        => 'text',\n+\t\t\t\t'options'     => '',\n+\t\t\t),\n+\t\t\t'bctitle'  => array(\n+\t\t\t\t'label'       => __( 'Breadcrumbs title', 'wordpress-seo' ),\n+\t\t\t\t'description' => sprintf( esc_html__( 'The Breadcrumbs title is used in the breadcrumbs where this %s appears.', 'wordpress-seo' ), $this->term->taxonomy ),\n+\t\t\t\t'type'        => 'text',\n+\t\t\t\t'options'     => '',\n+\t\t\t\t'hide'        => $this->options['breadcrumbs-enable'] !== true,\n+\t\t\t),\n+\t\t\t'noindex'  => array(\n+\t\t\t\t'label'       => sprintf( __( 'Noindex this %s', 'wordpress-seo' ), $this->term->taxonomy ),\n+\t\t\t\t'description' => sprintf( esc_html__( 'This %s follows the indexation rules set under Metas and Titles, you can override it here.', 'wordpress-seo' ), $this->term->taxonomy ),\n+\t\t\t\t'type'        => 'select',\n+\t\t\t\t'options'     => $noindex_options,\n+\t\t\t),\n+\t\t\t'sitemap_include'  => array(\n+\t\t\t\t'label'       => sprintf( __( 'Include in sitemap?', 'wordpress-seo' ), $this->term->taxonomy ),\n+\t\t\t\t'description' => '',\n+\t\t\t\t'type'        => 'select',\n+\t\t\t\t'options'     => $this->sitemap_include_options,\n+\t\t\t),\n+\t\t);\n+\n+\t\tunset( $current, $no_index_options );\n+\n+\t\treturn $fields;\n+\t}\n+\n+\t/**\n+\t * Returning the fields for the social media tab\n+\t *\n+\t * @return array\n+\t */\n+\tpublic function social_fields() {\n+\t\t$social_networks = array(\n+\t\t\t'opengraph'  => array(\n+\t\t\t\t'network' => 'opengraph',\n+\t\t\t\t'label'   => __( 'Facebook', 'wordpress-seo' ),\n+\t\t\t\t'size'    => '1200 x 628',\n+\t\t\t),\n+\t\t\t'twitter'    => array(\n+\t\t\t\t'network' => 'twitter',\n+\t\t\t\t'label'   => __( 'Twitter', 'wordpress-seo' ),\n+\t\t\t\t'size'    => '1024 x 512',\n+\t\t\t),\n+\t\t\t'googleplus' => array(\n+\t\t\t\t'network' => 'google-plus',\n+\t\t\t\t'label'   => __( 'Google+', 'wordpress-seo' ),\n+\t\t\t\t'size'    => '800 x 1200',\n+\t\t\t),\n+\t\t);\n+\n+\t\t$fields = array();\n+\t\tforeach ( $social_networks as $option => $settings ) {\n+\t\t\tif ( true === $this->options[ $option ] ) {\n+\t\t\t\t$fields_to_push = array(\n+\t\t\t\t\t$settings['network'] . '-title' => array(\n+\t\t\t\t\t\t'label' \t  => sprintf( __( '%s Title', 'wordpress-seo' ), $settings['label'] ),\n+\t\t\t\t\t\t'description' => sprintf( esc_html__( 'If you don\\'t want to use the title for sharing on %1$s  but instead want another title there, write it here.', 'wordpress-seo' ), $settings['label'] ),\n+\t\t\t\t\t\t'type'        => 'text',\n+\t\t\t\t\t\t'options'     => array( 'class' => 'large-text' ),\n+\t\t\t\t\t),\n+\t\t\t\t\t$settings['network'] . '-description' => array(\n+\t\t\t\t\t\t'label'       => sprintf( __( '%s Description', 'wordpress-seo' ), $settings['label'] ),\n+\t\t\t\t\t\t'description' => sprintf( esc_html__( 'If you don\\'t want to use the meta description for sharing on %1$s but want another description there, write it here.', 'wordpress-seo' ), $settings['label'] ),\n+\t\t\t\t\t\t'type'        => 'textarea',\n+\t\t\t\t\t\t'options'     => '',\n+\n+\t\t\t\t\t),\n+\t\t\t\t\t$settings['network'] . '-image' => array(\n+\t\t\t\t\t\t'label'       => sprintf( __( '%s Image', 'wordpress-seo' ), $settings['label'] ),\n+\t\t\t\t\t\t'description' => sprintf( esc_html__( 'If you want to use an image for sharing on %1$s, you can upload / choose an image or add the image URL here.', 'wordpress-seo' ), $settings['label'] ) . '<br />' .\n+\t\t\t\t\t\t\tsprintf( __( 'The recommended image size for %1$s is %2$spx.', 'wordpress-seo' ), $settings['label'], $settings['size'] ),\n+\t\t\t\t\t\t'type'        => 'upload',\n+\t\t\t\t\t\t'options'     => '',\n+\n+\t\t\t\t\t),\n+\t\t\t\t);\n+\n+\t\t\t\t$fields = array_merge( $fields, $fields_to_push );\n+\n+\t\t\t}\n+\t\t}\n+\n+\t\treturn $fields;\n+\t}\n+\n+\t/**\n+\t * Returns a bool to determine if the social tab has to be visible\n+\t *\n+\t * @return bool\n+\t */\n+\tpublic function show_social() {\n+\t\treturn ( $this->options['opengraph'] === true || $this->options['twitter'] === true || $this->options['googleplus'] === true );\n+\t}\n+\n+\t/**\n+\t * Translate options text strings for use in the select fields\n+\t *\n+\t * @internal IMPORTANT: if you want to add a new string (option) somewhere, make sure you add\n+\t * that array key to the main options definition array in the class WPSEO_Taxonomy_Meta() as well!!!!\n+\t */\n+\tprivate function translate_meta_options() {\n+\t\t$this->no_index_options        = WPSEO_Taxonomy_Meta::$no_index_options;\n+\t\t$this->sitemap_include_options = WPSEO_Taxonomy_Meta::$sitemap_include_options;\n+\n+\t\t$this->no_index_options['default'] = __( 'Use %s default (Currently: %s)', 'wordpress-seo' );\n+\t\t$this->no_index_options['index']   = __( 'Always index', 'wordpress-seo' );\n+\t\t$this->no_index_options['noindex'] = __( 'Always noindex', 'wordpress-seo' );\n+\n+\t\t$this->sitemap_include_options['-']      = __( 'Auto detect', 'wordpress-seo' );\n+\t\t$this->sitemap_include_options['always'] = __( 'Always include', 'wordpress-seo' );\n+\t\t$this->sitemap_include_options['never']  = __( 'Never include', 'wordpress-seo' );\n+\t}\n+\n+\t/**\n+\t * Create a row in the form table.\n+\t *\n+\t * @param string $field_name      Variable the row controls.\n+\t * @param string $label    Label for the variable.\n+\t * @param string $description     Description of the use of the variable.\n+\t * @param string $type     Type of form row to create.\n+\t * @param array  $options  Options to use when form row is a select box.\n+\t */\n+\tprivate function form_row( $field_name, $label, $description, $type = 'text', $options = array() ) {\n+\t\t$value = '';\n+\t\tif ( isset( $this->tax_meta[ $field_name ] ) && $this->tax_meta[ $field_name ] !== '' ) {\n+\t\t\t$value = $this->tax_meta[ $field_name ];\n+\t\t}\n+\n+\t\t$esc_var = esc_attr( $field_name );\n+\t\t$field   = '';\n+\n+\t\t$class = '';\n+\t\tif ( ! empty( $options['class'] ) ) {\n+\t\t\t$class = ' class=\"' . esc_attr( $options['class'] ) . '\"';\n+\t\t}\n+\n+\t\tswitch ( $type ) {\n+\t\t\tcase 'text' :\n+\t\t\t\t$field .= '<input name=\"' . $esc_var . '\" id=\"' . $esc_var . '\" ' . $class . ' type=\"text\" value=\"' . esc_attr( $value ) . '\" size=\"40\"/>';\n+\t\t\t\tbreak;\n+\t\t\tcase 'checkbox' :\n+\t\t\t\t$field .= '<input name=\"' . $esc_var . '\" id=\"' . $esc_var . '\" type=\"checkbox\" ' . checked( $value ) . '/>';\n+\t\t\t\tbreak;\n+\t\t\tcase 'textarea' :\n+\t\t\t\t$rows = 3;\n+\t\t\t\tif ( ! empty( $options['rows'] ) ) {\n+\t\t\t\t\t$rows = $options['rows'];\n+\t\t\t\t}\n+\t\t\t\t$field .= '<textarea class=\"large-text\" rows=\"' . esc_attr( $rows ) . '\" id=\"' . $esc_var . '\" name=\"' . $esc_var . '\">' . esc_textarea( $value ) . '</textarea>';\n+\t\t\t\tbreak;\n+\t\t\tcase 'upload' :\n+\t\t\t\t$field .= '<input id=\"' . $esc_var . '\" type=\"text\" size=\"36\" name=\"' . $esc_var . '\" value=\"' . esc_attr( $value ) . '\" />';\n+\t\t\t\t$field .= '<input id=\"' . $esc_var . '_button\" class=\"wpseo_image_upload_button button\" type=\"button\" value=\"Upload Image\" />';\n+\t\t\t\tbreak;\n+\t\t\tcase 'select' :\n+\t\t\t\tif ( is_array( $options ) && $options !== array() ) {\n+\t\t\t\t\t$field .= '<select name=\"' . $esc_var . '\" id=\"' . $esc_var . '\">';\n+\n+\t\t\t\t\t$select_options = ( array_key_exists( 'options', $options ) ) ? $options['options'] : $options;\n+\n+\t\t\t\t\tforeach ( $select_options as $option => $option_label ) {\n+\t\t\t\t\t\t$selected = selected( $option, $value, false );\n+\t\t\t\t\t\t$field .= '<option ' . $selected . ' value=\"' . esc_attr( $option ) . '\">' . esc_html( $option_label ) . '</option>';\n+\t\t\t\t\t}\n+\t\t\t\t\tunset( $option, $option_label, $selected );\n+\n+\t\t\t\t\t$field .= '</select>';\n+\t\t\t\t}\n+\t\t\t\tbreak;\n+\t\t\tcase 'hidden' :\n+\t\t\t\t$field .= '<input name=\"' . $esc_var . '\" id=\"hidden_' . $esc_var . '\" type=\"hidden\" value=\"' . esc_attr( $value ) . '\" />';\n+\t\t\t\tbreak;\n+\t\t}\n+\n+\t\t$help = '';\n+\t\tif ( $field !== '' && ( is_string( $description ) && $description !== '' ) ) {\n+\t\t\t$help = $this->parse_help( $esc_var, $description );\n+\t\t}\n+\n+\t\tif ( $field !== '' && ( ! empty( $options['description'] ) && is_string( $options['description'] ) ) ) {\n+\t\t\t$field .= '<p class=\"description\">' . $options['description'] . '</p>';\n+\t\t}\n+\n+\t\techo '<tr>\n+\t\t\t<th scope=\"row\">' . ( ( '' !== $label ) ? '<label for=\"' . $esc_var . '\">' . esc_html( $label ) . '</label>' : '' ) . '' . $help . '</th>\n+\t\t\t<td>' . $field . '</td>\n+\t\t</tr>';\n+\t}\n+\n+\t/**\n+\t * Parsing question mark with the help-text\n+\t *\n+\t * @param string $esc_var\n+\t * @param string $desc\n+\t *\n+\t * @return string\n+\t */\n+\tprivate function parse_help( $esc_var, $desc ) {\n+\t\tstatic $image_src;\n+\n+\t\tif ( $image_src === null ) {\n+\t\t\t$image_src = plugins_url( 'images/question-mark.png', WPSEO_FILE );\n+\t\t}\n+\n+\t\treturn  sprintf(","path":"admin/class-taxonomy-presenter.php","position":188,"original_position":309,"commit_id":"714f4af94529a4cfa55c8841a530e7720a80623b","original_commit_id":"2bc6f5628807fb4dc614f32cab6a07991920eb0e","user":{"login":"andizer","id":325040,"avatar_url":"https://avatars.githubusercontent.com/u/325040?v=3","gravatar_id":"","url":"https://api.github.com/users/andizer","html_url":"https://github.com/andizer","followers_url":"https://api.github.com/users/andizer/followers","following_url":"https://api.github.com/users/andizer/following{/other_user}","gists_url":"https://api.github.com/users/andizer/gists{/gist_id}","starred_url":"https://api.github.com/users/andizer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andizer/subscriptions","organizations_url":"https://api.github.com/users/andizer/orgs","repos_url":"https://api.github.com/users/andizer/repos","events_url":"https://api.github.com/users/andizer/events{/privacy}","received_events_url":"https://api.github.com/users/andizer/received_events","type":"User","site_admin":false},"body":"Done!","created_at":"2015-09-28T12:50:46Z","updated_at":"2015-09-28T12:50:46Z","html_url":"https://github.com/Yoast/wordpress-seo/pull/2801#discussion_r40547457","pull_request_url":"https://api.github.com/repos/Yoast/wordpress-seo/pulls/2801","_links":{"self":{"href":"https://api.github.com/repos/Yoast/wordpress-seo/pulls/comments/40547457"},"html":{"href":"https://github.com/Yoast/wordpress-seo/pull/2801#discussion_r40547457"},"pull_request":{"href":"https://api.github.com/repos/Yoast/wordpress-seo/pulls/2801"}}},"pull_request":{"url":"https://api.github.com/repos/Yoast/wordpress-seo/pulls/2801","id":41661058,"html_url":"https://github.com/Yoast/wordpress-seo/pull/2801","diff_url":"https://github.com/Yoast/wordpress-seo/pull/2801.diff","patch_url":"https://github.com/Yoast/wordpress-seo/pull/2801.patch","issue_url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/2801","number":2801,"state":"open","locked":false,"title":"Social media settings","user":{"login":"andizer","id":325040,"avatar_url":"https://avatars.githubusercontent.com/u/325040?v=3","gravatar_id":"","url":"https://api.github.com/users/andizer","html_url":"https://github.com/andizer","followers_url":"https://api.github.com/users/andizer/followers","following_url":"https://api.github.com/users/andizer/following{/other_user}","gists_url":"https://api.github.com/users/andizer/gists{/gist_id}","starred_url":"https://api.github.com/users/andizer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andizer/subscriptions","organizations_url":"https://api.github.com/users/andizer/orgs","repos_url":"https://api.github.com/users/andizer/repos","events_url":"https://api.github.com/users/andizer/events{/privacy}","received_events_url":"https://api.github.com/users/andizer/received_events","type":"User","site_admin":false},"body":"Fixes #2349 \r\n\r\nAdding metabox for terms. This box has mostly the same styling as the box for posts.","created_at":"2015-08-05T09:48:45Z","updated_at":"2015-09-28T12:50:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"andizer","id":325040,"avatar_url":"https://avatars.githubusercontent.com/u/325040?v=3","gravatar_id":"","url":"https://api.github.com/users/andizer","html_url":"https://github.com/andizer","followers_url":"https://api.github.com/users/andizer/followers","following_url":"https://api.github.com/users/andizer/following{/other_user}","gists_url":"https://api.github.com/users/andizer/gists{/gist_id}","starred_url":"https://api.github.com/users/andizer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andizer/subscriptions","organizations_url":"https://api.github.com/users/andizer/orgs","repos_url":"https://api.github.com/users/andizer/repos","events_url":"https://api.github.com/users/andizer/events{/privacy}","received_events_url":"https://api.github.com/users/andizer/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Yoast/wordpress-seo/milestones/14","html_url":"https://github.com/Yoast/wordpress-seo/milestones/2.4","labels_url":"https://api.github.com/repos/Yoast/wordpress-seo/milestones/14/labels","id":1204895,"number":14,"title":"2.4","description":"","creator":{"login":"jdevalk","id":487629,"avatar_url":"https://avatars.githubusercontent.com/u/487629?v=3","gravatar_id":"","url":"https://api.github.com/users/jdevalk","html_url":"https://github.com/jdevalk","followers_url":"https://api.github.com/users/jdevalk/followers","following_url":"https://api.github.com/users/jdevalk/following{/other_user}","gists_url":"https://api.github.com/users/jdevalk/gists{/gist_id}","starred_url":"https://api.github.com/users/jdevalk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdevalk/subscriptions","organizations_url":"https://api.github.com/users/jdevalk/orgs","repos_url":"https://api.github.com/users/jdevalk/repos","events_url":"https://api.github.com/users/jdevalk/events{/privacy}","received_events_url":"https://api.github.com/users/jdevalk/received_events","type":"User","site_admin":false},"open_issues":22,"closed_issues":14,"state":"open","created_at":"2015-07-13T11:06:27Z","updated_at":"2015-09-23T13:26:01Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/Yoast/wordpress-seo/pulls/2801/commits","review_comments_url":"https://api.github.com/repos/Yoast/wordpress-seo/pulls/2801/comments","review_comment_url":"https://api.github.com/repos/Yoast/wordpress-seo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/2801/comments","statuses_url":"https://api.github.com/repos/Yoast/wordpress-seo/statuses/714f4af94529a4cfa55c8841a530e7720a80623b","head":{"label":"Yoast:AM/2349-social-media-settings","ref":"AM/2349-social-media-settings","sha":"714f4af94529a4cfa55c8841a530e7720a80623b","user":{"login":"Yoast","id":4690436,"avatar_url":"https://avatars.githubusercontent.com/u/4690436?v=3","gravatar_id":"","url":"https://api.github.com/users/Yoast","html_url":"https://github.com/Yoast","followers_url":"https://api.github.com/users/Yoast/followers","following_url":"https://api.github.com/users/Yoast/following{/other_user}","gists_url":"https://api.github.com/users/Yoast/gists{/gist_id}","starred_url":"https://api.github.com/users/Yoast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yoast/subscriptions","organizations_url":"https://api.github.com/users/Yoast/orgs","repos_url":"https://api.github.com/users/Yoast/repos","events_url":"https://api.github.com/users/Yoast/events{/privacy}","received_events_url":"https://api.github.com/users/Yoast/received_events","type":"Organization","site_admin":false},"repo":{"id":6723399,"name":"wordpress-seo","full_name":"Yoast/wordpress-seo","owner":{"login":"Yoast","id":4690436,"avatar_url":"https://avatars.githubusercontent.com/u/4690436?v=3","gravatar_id":"","url":"https://api.github.com/users/Yoast","html_url":"https://github.com/Yoast","followers_url":"https://api.github.com/users/Yoast/followers","following_url":"https://api.github.com/users/Yoast/following{/other_user}","gists_url":"https://api.github.com/users/Yoast/gists{/gist_id}","starred_url":"https://api.github.com/users/Yoast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yoast/subscriptions","organizations_url":"https://api.github.com/users/Yoast/orgs","repos_url":"https://api.github.com/users/Yoast/repos","events_url":"https://api.github.com/users/Yoast/events{/privacy}","received_events_url":"https://api.github.com/users/Yoast/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Yoast/wordpress-seo","description":"Yoast SEO for WordPress","fork":false,"url":"https://api.github.com/repos/Yoast/wordpress-seo","forks_url":"https://api.github.com/repos/Yoast/wordpress-seo/forks","keys_url":"https://api.github.com/repos/Yoast/wordpress-seo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Yoast/wordpress-seo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Yoast/wordpress-seo/teams","hooks_url":"https://api.github.com/repos/Yoast/wordpress-seo/hooks","issue_events_url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/events{/number}","events_url":"https://api.github.com/repos/Yoast/wordpress-seo/events","assignees_url":"https://api.github.com/repos/Yoast/wordpress-seo/assignees{/user}","branches_url":"https://api.github.com/repos/Yoast/wordpress-seo/branches{/branch}","tags_url":"https://api.github.com/repos/Yoast/wordpress-seo/tags","blobs_url":"https://api.github.com/repos/Yoast/wordpress-seo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Yoast/wordpress-seo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Yoast/wordpress-seo/git/refs{/sha}","trees_url":"https://api.github.com/repos/Yoast/wordpress-seo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Yoast/wordpress-seo/statuses/{sha}","languages_url":"https://api.github.com/repos/Yoast/wordpress-seo/languages","stargazers_url":"https://api.github.com/repos/Yoast/wordpress-seo/stargazers","contributors_url":"https://api.github.com/repos/Yoast/wordpress-seo/contributors","subscribers_url":"https://api.github.com/repos/Yoast/wordpress-seo/subscribers","subscription_url":"https://api.github.com/repos/Yoast/wordpress-seo/subscription","commits_url":"https://api.github.com/repos/Yoast/wordpress-seo/commits{/sha}","git_commits_url":"https://api.github.com/repos/Yoast/wordpress-seo/git/commits{/sha}","comments_url":"https://api.github.com/repos/Yoast/wordpress-seo/comments{/number}","issue_comment_url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/comments{/number}","contents_url":"https://api.github.com/repos/Yoast/wordpress-seo/contents/{+path}","compare_url":"https://api.github.com/repos/Yoast/wordpress-seo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Yoast/wordpress-seo/merges","archive_url":"https://api.github.com/repos/Yoast/wordpress-seo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Yoast/wordpress-seo/downloads","issues_url":"https://api.github.com/repos/Yoast/wordpress-seo/issues{/number}","pulls_url":"https://api.github.com/repos/Yoast/wordpress-seo/pulls{/number}","milestones_url":"https://api.github.com/repos/Yoast/wordpress-seo/milestones{/number}","notifications_url":"https://api.github.com/repos/Yoast/wordpress-seo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Yoast/wordpress-seo/labels{/name}","releases_url":"https://api.github.com/repos/Yoast/wordpress-seo/releases{/id}","created_at":"2012-11-16T15:16:29Z","updated_at":"2015-09-28T04:31:34Z","pushed_at":"2015-09-28T12:48:39Z","git_url":"git://github.com/Yoast/wordpress-seo.git","ssh_url":"git@github.com:Yoast/wordpress-seo.git","clone_url":"https://github.com/Yoast/wordpress-seo.git","svn_url":"https://github.com/Yoast/wordpress-seo","homepage":"http://yoast.com/wordpress/seo/","size":27996,"stargazers_count":535,"watchers_count":535,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":317,"mirror_url":null,"open_issues_count":254,"forks":317,"open_issues":254,"watchers":535,"default_branch":"trunk"}},"base":{"label":"Yoast:trunk","ref":"trunk","sha":"db8e163f865822fa911af84ab9a118bcef62f55d","user":{"login":"Yoast","id":4690436,"avatar_url":"https://avatars.githubusercontent.com/u/4690436?v=3","gravatar_id":"","url":"https://api.github.com/users/Yoast","html_url":"https://github.com/Yoast","followers_url":"https://api.github.com/users/Yoast/followers","following_url":"https://api.github.com/users/Yoast/following{/other_user}","gists_url":"https://api.github.com/users/Yoast/gists{/gist_id}","starred_url":"https://api.github.com/users/Yoast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yoast/subscriptions","organizations_url":"https://api.github.com/users/Yoast/orgs","repos_url":"https://api.github.com/users/Yoast/repos","events_url":"https://api.github.com/users/Yoast/events{/privacy}","received_events_url":"https://api.github.com/users/Yoast/received_events","type":"Organization","site_admin":false},"repo":{"id":6723399,"name":"wordpress-seo","full_name":"Yoast/wordpress-seo","owner":{"login":"Yoast","id":4690436,"avatar_url":"https://avatars.githubusercontent.com/u/4690436?v=3","gravatar_id":"","url":"https://api.github.com/users/Yoast","html_url":"https://github.com/Yoast","followers_url":"https://api.github.com/users/Yoast/followers","following_url":"https://api.github.com/users/Yoast/following{/other_user}","gists_url":"https://api.github.com/users/Yoast/gists{/gist_id}","starred_url":"https://api.github.com/users/Yoast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yoast/subscriptions","organizations_url":"https://api.github.com/users/Yoast/orgs","repos_url":"https://api.github.com/users/Yoast/repos","events_url":"https://api.github.com/users/Yoast/events{/privacy}","received_events_url":"https://api.github.com/users/Yoast/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Yoast/wordpress-seo","description":"Yoast SEO for WordPress","fork":false,"url":"https://api.github.com/repos/Yoast/wordpress-seo","forks_url":"https://api.github.com/repos/Yoast/wordpress-seo/forks","keys_url":"https://api.github.com/repos/Yoast/wordpress-seo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Yoast/wordpress-seo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Yoast/wordpress-seo/teams","hooks_url":"https://api.github.com/repos/Yoast/wordpress-seo/hooks","issue_events_url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/events{/number}","events_url":"https://api.github.com/repos/Yoast/wordpress-seo/events","assignees_url":"https://api.github.com/repos/Yoast/wordpress-seo/assignees{/user}","branches_url":"https://api.github.com/repos/Yoast/wordpress-seo/branches{/branch}","tags_url":"https://api.github.com/repos/Yoast/wordpress-seo/tags","blobs_url":"https://api.github.com/repos/Yoast/wordpress-seo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Yoast/wordpress-seo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Yoast/wordpress-seo/git/refs{/sha}","trees_url":"https://api.github.com/repos/Yoast/wordpress-seo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Yoast/wordpress-seo/statuses/{sha}","languages_url":"https://api.github.com/repos/Yoast/wordpress-seo/languages","stargazers_url":"https://api.github.com/repos/Yoast/wordpress-seo/stargazers","contributors_url":"https://api.github.com/repos/Yoast/wordpress-seo/contributors","subscribers_url":"https://api.github.com/repos/Yoast/wordpress-seo/subscribers","subscription_url":"https://api.github.com/repos/Yoast/wordpress-seo/subscription","commits_url":"https://api.github.com/repos/Yoast/wordpress-seo/commits{/sha}","git_commits_url":"https://api.github.com/repos/Yoast/wordpress-seo/git/commits{/sha}","comments_url":"https://api.github.com/repos/Yoast/wordpress-seo/comments{/number}","issue_comment_url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/comments{/number}","contents_url":"https://api.github.com/repos/Yoast/wordpress-seo/contents/{+path}","compare_url":"https://api.github.com/repos/Yoast/wordpress-seo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Yoast/wordpress-seo/merges","archive_url":"https://api.github.com/repos/Yoast/wordpress-seo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Yoast/wordpress-seo/downloads","issues_url":"https://api.github.com/repos/Yoast/wordpress-seo/issues{/number}","pulls_url":"https://api.github.com/repos/Yoast/wordpress-seo/pulls{/number}","milestones_url":"https://api.github.com/repos/Yoast/wordpress-seo/milestones{/number}","notifications_url":"https://api.github.com/repos/Yoast/wordpress-seo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Yoast/wordpress-seo/labels{/name}","releases_url":"https://api.github.com/repos/Yoast/wordpress-seo/releases{/id}","created_at":"2012-11-16T15:16:29Z","updated_at":"2015-09-28T04:31:34Z","pushed_at":"2015-09-28T12:48:39Z","git_url":"git://github.com/Yoast/wordpress-seo.git","ssh_url":"git@github.com:Yoast/wordpress-seo.git","clone_url":"https://github.com/Yoast/wordpress-seo.git","svn_url":"https://github.com/Yoast/wordpress-seo","homepage":"http://yoast.com/wordpress/seo/","size":27996,"stargazers_count":535,"watchers_count":535,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":317,"mirror_url":null,"open_issues_count":254,"forks":317,"open_issues":254,"watchers":535,"default_branch":"trunk"}},"_links":{"self":{"href":"https://api.github.com/repos/Yoast/wordpress-seo/pulls/2801"},"html":{"href":"https://github.com/Yoast/wordpress-seo/pull/2801"},"issue":{"href":"https://api.github.com/repos/Yoast/wordpress-seo/issues/2801"},"comments":{"href":"https://api.github.com/repos/Yoast/wordpress-seo/issues/2801/comments"},"review_comments":{"href":"https://api.github.com/repos/Yoast/wordpress-seo/pulls/2801/comments"},"review_comment":{"href":"https://api.github.com/repos/Yoast/wordpress-seo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Yoast/wordpress-seo/pulls/2801/commits"},"statuses":{"href":"https://api.github.com/repos/Yoast/wordpress-seo/statuses/714f4af94529a4cfa55c8841a530e7720a80623b"}}}}