admin管理员组文章数量:1122846
When I go to the appearance admin page, it shows a whole bunch of themes that I don't need (for example the stock "Twenty Fifteen" theme), but when I go to delete them, it fails, saying:
Deletion failed: The requested theme does not exist.
If I look in my wp-content/themes
folder, I can see that the theme is indeed not there.
Why are these themes listed, and how can I remove them?
I've seen many questions asking about the opposite problem, but not this way around!
When I go to the appearance admin page, it shows a whole bunch of themes that I don't need (for example the stock "Twenty Fifteen" theme), but when I go to delete them, it fails, saying:
Deletion failed: The requested theme does not exist.
If I look in my wp-content/themes
folder, I can see that the theme is indeed not there.
Why are these themes listed, and how can I remove them?
I've seen many questions asking about the opposite problem, but not this way around!
Share Improve this question asked Apr 30, 2024 at 7:47 SynchroSynchro 1115 bronze badges1 Answer
Reset to default 1Well this is silly!
It turns out that someone had moved these themes into a folder called "unused", which I didn't look in. It appears that WP finds themes stored in subfolders, but doesn't adjust paths to match when it comes to deleting them.
This is a WordPress bug.
本文标签: Themes admin page lists a themebut it fails to delete and is not present on disk
版权声明:本文标题:Themes admin page lists a theme, but it fails to delete and is not present on disk 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736308721a1933764.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论