{"action":"created","comment":{"url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/pulls/comments/86218250","pull_request_review_id":6886929,"id":86218250,"diff_hunk":"@@ -1729,18 +1762,54 @@ function do_indexed_sitemaps() {\n \t\t\t$this->log_stats( 'indexed', $options[\"{$this->prefix}gzipped\"], false );\n \t\t}\n \n+\t\tfunction remove_posts_page( $postspageid ) {\n+\t\t\tif ( in_array( $postspageid, $this->excludes ) ) {\n+\t\t\t\treturn true;\n+\t\t\t}\n+\n+\t\t\tif ( in_array( get_post_field( 'post_name', $postspageid ), $this->excludes ) ) {\n+\t\t\t\treturn true;\n+\t\t\t}\n+\n+\t\t\treturn false;\n+\t\t}\n+\n+\t\tfunction remove_homepage( $homepage_id ) {\n+\t\t\tif ( in_array( $homepage_id, $this->excludes ) ) {\n+\n+\t\t\t\treturn true;\n+\t\t\t}\n+\t\t\tif ( in_array( get_post_field( 'post_name', $homepage_id ), $this->excludes ) ) {\n+\t\t\t\treturn true;\n+\t\t\t}\n+\n+\t\t\treturn false;\n+\t\t}\n+\n \t\t/**\n \t\t * Get simple sitemap.\n \t\t *\n \t\t * @return array\n \t\t */\n \t\tfunction get_simple_sitemap() {\n+\t\t\t$child   = $this->get_child_sitemap_urls();\n+\t\t\t$options = $this->options;\n+\t\t\tif ( is_array( $options[\"{$this->prefix}posttypes\"] ) ) {\n+\t\t\t\t$options[\"{$this->prefix}posttypes\"] = array_diff( $options[\"{$this->prefix}posttypes\"], array( 'all' ) );\n+\t\t\t}\n+\t\t\tif ( is_array( $options[\"{$this->prefix}taxonomies\"] ) ) {","path":"modules/aioseop_sitemap.php","position":177,"original_position":177,"commit_id":"f34c712736d7fc15b0809fc4a647964233bd3616","original_commit_id":"f34c712736d7fc15b0809fc4a647964233bd3616","user":{"login":"aioseopbot","id":22221762,"avatar_url":"https://avatars.githubusercontent.com/u/22221762?v=3","gravatar_id":"","url":"https://api.github.com/users/aioseopbot","html_url":"https://github.com/aioseopbot","followers_url":"https://api.github.com/users/aioseopbot/followers","following_url":"https://api.github.com/users/aioseopbot/following{/other_user}","gists_url":"https://api.github.com/users/aioseopbot/gists{/gist_id}","starred_url":"https://api.github.com/users/aioseopbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aioseopbot/subscriptions","organizations_url":"https://api.github.com/users/aioseopbot/orgs","repos_url":"https://api.github.com/users/aioseopbot/repos","events_url":"https://api.github.com/users/aioseopbot/events{/privacy}","received_events_url":"https://api.github.com/users/aioseopbot/received_events","type":"User","site_admin":false},"body":"__[code_sniffer]__\n* Spaces must be used to indent lines; tabs are not allowed\n* Expected 0 spaces after opening bracket; 1 found\n* Space after opening parenthesis of function call prohibited\n* Expected 0 spaces before closing bracket; 1 found\n\n<!-- Comment by [SideCI](https://sideci.com) -->","created_at":"2016-11-02T18:59:01Z","updated_at":"2016-11-02T18:59:01Z","html_url":"https://github.com/semperfiwebdesign/all-in-one-seo-pack/pull/641#discussion_r86218250","pull_request_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/pulls/641","_links":{"self":{"href":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/pulls/comments/86218250"},"html":{"href":"https://github.com/semperfiwebdesign/all-in-one-seo-pack/pull/641#discussion_r86218250"},"pull_request":{"href":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/pulls/641"}}},"pull_request":{"url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/pulls/641","id":92031954,"html_url":"https://github.com/semperfiwebdesign/all-in-one-seo-pack/pull/641","diff_url":"https://github.com/semperfiwebdesign/all-in-one-seo-pack/pull/641.diff","patch_url":"https://github.com/semperfiwebdesign/all-in-one-seo-pack/pull/641.patch","issue_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/issues/641","number":641,"state":"closed","locked":false,"title":"Development","user":{"login":"michaeltorbert","id":17364998,"avatar_url":"https://avatars.githubusercontent.com/u/17364998?v=3","gravatar_id":"","url":"https://api.github.com/users/michaeltorbert","html_url":"https://github.com/michaeltorbert","followers_url":"https://api.github.com/users/michaeltorbert/followers","following_url":"https://api.github.com/users/michaeltorbert/following{/other_user}","gists_url":"https://api.github.com/users/michaeltorbert/gists{/gist_id}","starred_url":"https://api.github.com/users/michaeltorbert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaeltorbert/subscriptions","organizations_url":"https://api.github.com/users/michaeltorbert/orgs","repos_url":"https://api.github.com/users/michaeltorbert/repos","events_url":"https://api.github.com/users/michaeltorbert/events{/privacy}","received_events_url":"https://api.github.com/users/michaeltorbert/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-02T18:45:57Z","updated_at":"2016-11-02T18:59:01Z","closed_at":"2016-11-02T18:47:22Z","merged_at":null,"merge_commit_sha":"c9589dfe3e5f20569952d77afbf850a5c606b600","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/pulls/641/commits","review_comments_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/pulls/641/comments","review_comment_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/issues/641/comments","statuses_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/statuses/f34c712736d7fc15b0809fc4a647964233bd3616","head":{"label":"semperfiwebdesign:development","ref":"development","sha":"f34c712736d7fc15b0809fc4a647964233bd3616","user":{"login":"semperfiwebdesign","id":17539051,"avatar_url":"https://avatars.githubusercontent.com/u/17539051?v=3","gravatar_id":"","url":"https://api.github.com/users/semperfiwebdesign","html_url":"https://github.com/semperfiwebdesign","followers_url":"https://api.github.com/users/semperfiwebdesign/followers","following_url":"https://api.github.com/users/semperfiwebdesign/following{/other_user}","gists_url":"https://api.github.com/users/semperfiwebdesign/gists{/gist_id}","starred_url":"https://api.github.com/users/semperfiwebdesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/semperfiwebdesign/subscriptions","organizations_url":"https://api.github.com/users/semperfiwebdesign/orgs","repos_url":"https://api.github.com/users/semperfiwebdesign/repos","events_url":"https://api.github.com/users/semperfiwebdesign/events{/privacy}","received_events_url":"https://api.github.com/users/semperfiwebdesign/received_events","type":"Organization","site_admin":false},"repo":{"id":52752597,"name":"all-in-one-seo-pack","full_name":"semperfiwebdesign/all-in-one-seo-pack","owner":{"login":"semperfiwebdesign","id":17539051,"avatar_url":"https://avatars.githubusercontent.com/u/17539051?v=3","gravatar_id":"","url":"https://api.github.com/users/semperfiwebdesign","html_url":"https://github.com/semperfiwebdesign","followers_url":"https://api.github.com/users/semperfiwebdesign/followers","following_url":"https://api.github.com/users/semperfiwebdesign/following{/other_user}","gists_url":"https://api.github.com/users/semperfiwebdesign/gists{/gist_id}","starred_url":"https://api.github.com/users/semperfiwebdesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/semperfiwebdesign/subscriptions","organizations_url":"https://api.github.com/users/semperfiwebdesign/orgs","repos_url":"https://api.github.com/users/semperfiwebdesign/repos","events_url":"https://api.github.com/users/semperfiwebdesign/events{/privacy}","received_events_url":"https://api.github.com/users/semperfiwebdesign/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/semperfiwebdesign/all-in-one-seo-pack","description":"All in One SEO Pack plugin for WordPress SEO","fork":false,"url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack","forks_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/forks","keys_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/teams","hooks_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/hooks","issue_events_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/issues/events{/number}","events_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/events","assignees_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/assignees{/user}","branches_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/branches{/branch}","tags_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/tags","blobs_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/git/refs{/sha}","trees_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/statuses/{sha}","languages_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/languages","stargazers_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/stargazers","contributors_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/contributors","subscribers_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/subscribers","subscription_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/subscription","commits_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/commits{/sha}","git_commits_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/git/commits{/sha}","comments_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/comments{/number}","issue_comment_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/issues/comments{/number}","contents_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/contents/{+path}","compare_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/merges","archive_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/downloads","issues_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/issues{/number}","pulls_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/pulls{/number}","milestones_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/milestones{/number}","notifications_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/labels{/name}","releases_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/releases{/id}","deployments_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/deployments","created_at":"2016-02-29T00:30:50Z","updated_at":"2016-09-27T08:15:27Z","pushed_at":"2016-11-02T18:45:57Z","git_url":"git://github.com/semperfiwebdesign/all-in-one-seo-pack.git","ssh_url":"git@github.com:semperfiwebdesign/all-in-one-seo-pack.git","clone_url":"https://github.com/semperfiwebdesign/all-in-one-seo-pack.git","svn_url":"https://github.com/semperfiwebdesign/all-in-one-seo-pack","homepage":"http://semperplugins.com/plugins/all-in-one-seo-pack-pro-version/","size":5403,"stargazers_count":18,"watchers_count":18,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":285,"forks":13,"open_issues":285,"watchers":18,"default_branch":"master"}},"base":{"label":"semperfiwebdesign:master","ref":"master","sha":"0752d9571f45d08fa12094eb665ade8294602d4c","user":{"login":"semperfiwebdesign","id":17539051,"avatar_url":"https://avatars.githubusercontent.com/u/17539051?v=3","gravatar_id":"","url":"https://api.github.com/users/semperfiwebdesign","html_url":"https://github.com/semperfiwebdesign","followers_url":"https://api.github.com/users/semperfiwebdesign/followers","following_url":"https://api.github.com/users/semperfiwebdesign/following{/other_user}","gists_url":"https://api.github.com/users/semperfiwebdesign/gists{/gist_id}","starred_url":"https://api.github.com/users/semperfiwebdesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/semperfiwebdesign/subscriptions","organizations_url":"https://api.github.com/users/semperfiwebdesign/orgs","repos_url":"https://api.github.com/users/semperfiwebdesign/repos","events_url":"https://api.github.com/users/semperfiwebdesign/events{/privacy}","received_events_url":"https://api.github.com/users/semperfiwebdesign/received_events","type":"Organization","site_admin":false},"repo":{"id":52752597,"name":"all-in-one-seo-pack","full_name":"semperfiwebdesign/all-in-one-seo-pack","owner":{"login":"semperfiwebdesign","id":17539051,"avatar_url":"https://avatars.githubusercontent.com/u/17539051?v=3","gravatar_id":"","url":"https://api.github.com/users/semperfiwebdesign","html_url":"https://github.com/semperfiwebdesign","followers_url":"https://api.github.com/users/semperfiwebdesign/followers","following_url":"https://api.github.com/users/semperfiwebdesign/following{/other_user}","gists_url":"https://api.github.com/users/semperfiwebdesign/gists{/gist_id}","starred_url":"https://api.github.com/users/semperfiwebdesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/semperfiwebdesign/subscriptions","organizations_url":"https://api.github.com/users/semperfiwebdesign/orgs","repos_url":"https://api.github.com/users/semperfiwebdesign/repos","events_url":"https://api.github.com/users/semperfiwebdesign/events{/privacy}","received_events_url":"https://api.github.com/users/semperfiwebdesign/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/semperfiwebdesign/all-in-one-seo-pack","description":"All in One SEO Pack plugin for WordPress SEO","fork":false,"url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack","forks_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/forks","keys_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/teams","hooks_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/hooks","issue_events_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/issues/events{/number}","events_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/events","assignees_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/assignees{/user}","branches_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/branches{/branch}","tags_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/tags","blobs_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/git/refs{/sha}","trees_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/statuses/{sha}","languages_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/languages","stargazers_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/stargazers","contributors_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/contributors","subscribers_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/subscribers","subscription_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/subscription","commits_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/commits{/sha}","git_commits_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/git/commits{/sha}","comments_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/comments{/number}","issue_comment_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/issues/comments{/number}","contents_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/contents/{+path}","compare_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/merges","archive_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/downloads","issues_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/issues{/number}","pulls_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/pulls{/number}","milestones_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/milestones{/number}","notifications_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/labels{/name}","releases_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/releases{/id}","deployments_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/deployments","created_at":"2016-02-29T00:30:50Z","updated_at":"2016-09-27T08:15:27Z","pushed_at":"2016-11-02T18:45:57Z","git_url":"git://github.com/semperfiwebdesign/all-in-one-seo-pack.git","ssh_url":"git@github.com:semperfiwebdesign/all-in-one-seo-pack.git","clone_url":"https://github.com/semperfiwebdesign/all-in-one-seo-pack.git","svn_url":"https://github.com/semperfiwebdesign/all-in-one-seo-pack","homepage":"http://semperplugins.com/plugins/all-in-one-seo-pack-pro-version/","size":5403,"stargazers_count":18,"watchers_count":18,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":285,"forks":13,"open_issues":285,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/pulls/641"},"html":{"href":"https://github.com/semperfiwebdesign/all-in-one-seo-pack/pull/641"},"issue":{"href":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/issues/641"},"comments":{"href":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/issues/641/comments"},"review_comments":{"href":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/pulls/641/comments"},"review_comment":{"href":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/pulls/641/commits"},"statuses":{"href":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/statuses/f34c712736d7fc15b0809fc4a647964233bd3616"}}}}
{"actor":{"display_login":"aioseopbot"}}