{"action":"created","issue":{"url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/issues/2075","repository_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack","labels_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/issues/2075/labels{/name}","comments_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/issues/2075/comments","events_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/issues/2075/events","html_url":"https://github.com/semperfiwebdesign/all-in-one-seo-pack/issues/2075","id":382979786,"node_id":"MDU6SXNzdWUzODI5Nzk3ODY=","number":2075,"title":"Noindex/nofollow tag not output when taxonomy is empty","user":{"login":"githubeing","id":29702626,"node_id":"MDQ6VXNlcjI5NzAyNjI2","avatar_url":"https://avatars3.githubusercontent.com/u/29702626?v=4","gravatar_id":"","url":"https://api.github.com/users/githubeing","html_url":"https://github.com/githubeing","followers_url":"https://api.github.com/users/githubeing/followers","following_url":"https://api.github.com/users/githubeing/following{/other_user}","gists_url":"https://api.github.com/users/githubeing/gists{/gist_id}","starred_url":"https://api.github.com/users/githubeing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/githubeing/subscriptions","organizations_url":"https://api.github.com/users/githubeing/orgs","repos_url":"https://api.github.com/users/githubeing/repos","events_url":"https://api.github.com/users/githubeing/events{/privacy}","received_events_url":"https://api.github.com/users/githubeing/received_events","type":"User","site_admin":false},"labels":[{"id":333458646,"node_id":"MDU6TGFiZWwzMzM0NTg2NDY=","url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/labels/Bug","name":"Bug","color":"ff0000","default":false},{"id":1050198315,"node_id":"MDU6TGFiZWwxMDUwMTk4MzE1","url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/labels/Has%20been%20reproduced","name":"Has been reproduced","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-11-21T06:50:07Z","updated_at":"2018-11-21T13:46:59Z","closed_at":null,"author_association":"NONE","body":"**Describe the bug**\r\nThe option `use noindex for categories` doesn't work for categories that contain no published entries.\r\n\r\n**To Reproduce**\r\nSteps to reproduce the behavior:\r\n1. In the General Settings , enable option `use noindex for categories` as it's described [here](https://semperplugins.com/documentation/noindex-settings/)\r\n2. Create a category e.g. `test`\r\n3. Optionally, you may add some entries to this category, but only those ones that aren't published yet, so that the category page will remain empty (\"nothing found\")\r\n4. Open category page e.g. `https://my-site.com/categories/test/`\r\n5. View source code\r\n\r\n**Expected behavior**\r\nThere is something like this in the code:\r\n```\r\n<!-- All in One SEO Pack 2.9.1 by Michael Torbert of Semper Fi Web Design[178,210] -->\r\n<meta name=\"robots\" content=\"noindex,follow\" />\r\n```\r\n\r\n**Actual behavior**\r\nThere is no such tag.\r\n\r\n**Additional context**\r\nIf you then add some public blog entries to that category, then the tag will appear in the code, if you remove them, it'll disappear again."},"comment":{"url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/issues/comments/440667272","html_url":"https://github.com/semperfiwebdesign/all-in-one-seo-pack/issues/2075#issuecomment-440667272","issue_url":"https://api.github.com/repos/semperfiwebdesign/all-in-one-seo-pack/issues/2075","id":440667272,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDY2NzI3Mg==","user":{"login":"wpsmort","id":17548525,"node_id":"MDQ6VXNlcjE3NTQ4NTI1","avatar_url":"https://avatars1.githubusercontent.com/u/17548525?v=4","gravatar_id":"","url":"https://api.github.com/users/wpsmort","html_url":"https://github.com/wpsmort","followers_url":"https://api.github.com/users/wpsmort/followers","following_url":"https://api.github.com/users/wpsmort/following{/other_user}","gists_url":"https://api.github.com/users/wpsmort/gists{/gist_id}","starred_url":"https://api.github.com/users/wpsmort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wpsmort/subscriptions","organizations_url":"https://api.github.com/users/wpsmort/orgs","repos_url":"https://api.github.com/users/wpsmort/repos","events_url":"https://api.github.com/users/wpsmort/events{/privacy}","received_events_url":"https://api.github.com/users/wpsmort/received_events","type":"User","site_admin":false},"created_at":"2018-11-21T13:46:59Z","updated_at":"2018-11-21T13:46:59Z","author_association":"MEMBER","body":"I don't believe there is a bug here.  If a taxonomy does not have any published posts then you get a 404 Not Found page when viewing the taxonomy archive.  You cannot view a taxonomy archive unless there is at least one published post.  I verified this on a brand new install of WordPress and followed the steps to reproduce and I got a 404 page when viewing the category archive."}}
{"actor":{"display_login":"wpsmort"}}