[wp-trac] [WordPress Trac] #31550: Use an empty theme for WP_DEFAULT_THEME during unit tests
WordPress Trac
noreply at wordpress.org
Tue Oct 25 11:05:19 UTC 2016
#31550: Use an empty theme for WP_DEFAULT_THEME during unit tests
------------------------------+---------------------
Reporter: westonruter | Owner: pento
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.7
Component: Build/Test Tools | Version:
Severity: normal | Resolution: fixed
Keywords: | Focuses:
------------------------------+---------------------
Comment (by pento):
In [changeset:"38908"]:
{{{
#!CommitTicketReference repository="" revision="38908"
Tests: Fix a PHP notice introduced in [38907].
`WP_DEFAULT_THEME` was being defined in the wrong location.
Also, if WordPress has the original "default" theme installed, ensure that
our test theme overrides it.
Props swissspidy for daring to dive into Themes of WordPress Past.
See #31550, #38457.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31550#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list