Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #34306, comment 6


Ignore:
Timestamp:
11/16/2015 05:27:06 AM (9 years ago)
Author:
dd32
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34306, comment 6

    initial v1  
    22
    33* It keeps `WP_DEFAULT_THEME` at `twentyfifteen` as that's the latest theme we can rely upon being on the system.
    4 * It avoids hitting the filesystem to determine WP_DEFAULT_THEME
     4* It avoids hitting the filesystem to determine `WP_DEFAULT_THEME`
    55
    6 The alternative is to alter WP_DEFAULT_THEME during the build process, if `twentysixteen` exists during build, set as default, else `twentyfifteen`. This would work for new installs, but fail on upgrades (As twentysixteen won't get installed during update, but may exist within the package, or when the package was built).
     6The alternative is to alter `WP_DEFAULT_THEME` during the build process, if `twentysixteen` exists during build, set as default, else `twentyfifteen`. This would work for new installs, but fail on upgrades (As twentysixteen won't get installed during update, but may exist within the package, or when the package was built).
    77
    88I don't know the answer here.