[wp-trac] [WordPress Trac] #49056: Can we stop bundling default themes?
WordPress Trac
noreply at wordpress.org
Fri Dec 20 17:08:00 UTC 2019
#49056: Can we stop bundling default themes?
-----------------------------+-------------------------------
Reporter: crdunst | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upgrade/Install | Version:
Severity: minor | Resolution:
Keywords: close | Focuses: coding-standards
-----------------------------+-------------------------------
Changes (by knutsp):
* keywords: => close
Comment:
Quotinfg @otto42
> The default themes are actually there for a reason. The core requires a
fallback theme in case the currently active theme can’t be found or is
inaccessible for whatever reason. So, the default theme should be present,
even if you’re not using it.
You can use a constant `CORE_UPGRADE_SKIP_NEW_BUNDLED`:
https://core.trac.wordpress.org/browser/tags/5.3/src/wp-admin/includes
/update-core.php#L810
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49056#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list