[wp-trac] [WordPress Trac] #51408: For WP 5.6: remove a core theme, to bundle only three themes
WordPress Trac
noreply at wordpress.org
Tue Sep 29 01:02:19 UTC 2020
#51408: For WP 5.6: remove a core theme, to bundle only three themes
---------------------------+---------------------
Reporter: joyously | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Bundled Theme | Version:
Severity: normal | Resolution: fixed
Keywords: | Focuses:
---------------------------+---------------------
Changes (by dd32):
* status: reopened => closed
* resolution: => fixed
Comment:
> There has to be something, maybe part of the build, to list the ones
that get into the zip file.
Yup, it's in the WordPress.org build system, not core. The scripts that
create the release zips for WordPress have a list of which themes to
exclude from which versions.
In r16490-dotorg I've made the required change, way ahead of time, because
there was no reason not to.
{{{
#!diff
Index: release.php
===================================================================
--- release.php (revision 0)
+++ release.php (working copy)
@@ -93,11 +93,12 @@
$themes = array(
'twentyten' => '3.5-alpha',
'twentyeleven' => '3.6-alpha',
'twentytwelve' => '4.1-alpha',
'twentythirteen' => '4.4-alpha',
'twentyfourteen' => '4.7-alpha',
'twentyfifteen' => '5.0-alpha',
'twentysixteen' => '5.3-alpha',
+ 'twentyseventeen' => '5.6-alpha',
);
foreach ( $themes as $theme => $version_removed )
}}}
I've assumed Twenty Seventeen was probably the one to be dropped, if
that's not the case, it'll have to be updated when that decision is made.
The nightlies still contain every default theme (Twenty Ten to Twenty
Twenty currently).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51408#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list