[wp-trac] [WordPress Trac] #29925: Setting WP_DEFAULT_THEME to a custom theme causes test to fail
WordPress Trac
noreply at wordpress.org
Fri Oct 17 20:59:25 UTC 2014
#29925: Setting WP_DEFAULT_THEME to a custom theme causes test to fail
------------------------------+---------------------
Reporter: mboynes | Owner: jorbin
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.1
Component: Build/Test Tools | Version:
Severity: normal | Resolution: fixed
Keywords: | Focuses:
------------------------------+---------------------
Changes (by jorbin):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"29946"]:
{{{
#!CommitTicketReference repository="" revision="29946"
Check if WP_DEFAULT_THEME starts with twenty before asserting it is in
default theme array
This fixes an issue that if you change WP_DEFAULT_THEME and run core unit
tests, the tests fail since your theme isn't one of the hard coded lists
of default themes. We need to keep this test to make sure that we update
the array of default themes for use in other tests.
If we ever change the naming convention for default themes, this will need
to be updated.
props nacin for initial idea
fixes #29925
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29925#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list