admin管理员组

文章数量:1128468

Site health alerts that I should remove inactive themes, but every time I update WordPress, the default themes are automatically installed again. How do I get rid of automatic twentywhatever themes installation?

Site health alerts that I should remove inactive themes, but every time I update WordPress, the default themes are automatically installed again. How do I get rid of automatic twentywhatever themes installation?

Share Improve this question edited Dec 7, 2023 at 12:11 cjbj 15k16 gold badges42 silver badges89 bronze badges asked Dec 7, 2023 at 10:34 Botond VajnaBotond Vajna 4714 silver badges11 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 5

It is wise to have at least one standard theme installed, because it will always work. If your current theme, for whatever reason, no longer works with the current WordPress install, you will have a backup theme to get your site running again.

That said, you are not the first to complain about this and you can stop it by adding this to your config.php:

define('CORE_UPGRADE_SKIP_NEW_BUNDLED' , true);

本文标签: automatic updatesStiffnecked themes