[wp-trac] [WordPress Trac] #31550: Use an empty theme for WP_DEFAULT_THEME during unit tests

WordPress Trac noreply at wordpress.org
Fri Oct 21 11:02:43 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:
------------------------------+---------------------
Changes (by pento):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"38858"]:
 {{{
 #!CommitTicketReference repository="" revision="38858"
 Tests: Use a minimal theme for tests.

 New default themes require workarounds being added to several unit tests,
 as they often alter default WordPress behaviour. To avoid ongoing
 maintenance issues, this change switches to a minimal theme when running
 tests.

 This change also removes the old workarounds for default themes.

 Fixes #31550.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31550#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list