admin管理员组文章数量:1336108
When I go to /wp-admin/edit-tags.php?taxonomy=category
it says there are 19 categories, but will only list 13 of them. There is no second page to go to. If I Search Categories for " ", all 19 do show up. If I click the "Parent Category" on the left, it shows all 19 in the drop down. Pretty much everywhere else except for the main category list page. What would cause this issue and how can I fix it?
When I go to /wp-admin/edit-tags.php?taxonomy=category
it says there are 19 categories, but will only list 13 of them. There is no second page to go to. If I Search Categories for " ", all 19 do show up. If I click the "Parent Category" on the left, it shows all 19 in the drop down. Pretty much everywhere else except for the main category list page. What would cause this issue and how can I fix it?
Share Improve this question asked Jun 30, 2020 at 17:31 Dan GoodspeedDan Goodspeed 1013 bronze badges1 Answer
Reset to default 1Can't answer your question, but I just had a poke around with Query Monitor and this is the query that seems to get all the categories (it runs last so you don't have to search through every single query). If you can be bothered running this against your database and having a poke around with the results might help you figure out what's going on.
Or maybe you want to use Query Monitor to double check what query gets run for you to see why not all the categories are returned.
SELECT t.*, tt.*
FROM wp_terms AS t
INNER JOIN wp_term_taxonomy AS tt
ON t.term_id = tt.term_id
WHERE tt.taxonomy IN ('category')
ORDER BY t.name ASC
Edit: And if this query shows all your categories, then you know that something else is removing them from this view somehow.
本文标签: Some categories missing on wpadminedittagsphptaxonomycategory
版权声明:本文标题:Some categories missing on wp-adminedit-tags.php?taxonomy=category 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742304701a2449683.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论