[wp-trac] [WordPress Trac] #32635: Theme unit tests fail if a child theme is present
WordPress Trac
noreply at wordpress.org
Wed Aug 5 17:58:50 UTC 2015
#32635: Theme unit tests fail if a child theme is present
------------------------------+------------------------------
Reporter: johnbillion | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version: 3.5
Severity: normal | Resolution:
Keywords: | Focuses:
------------------------------+------------------------------
Changes (by obenland):
* keywords: needs-testing =>
* version: => 3.5
Comment:
Unit tests are failing because if template and stylesheet are passed to
`switch_theme()`, `$new_theme` gets set before the second argument is
appropriately handled, causing `'current_theme'` to always be updated to
the parent theme's name.
Introduced in [21131].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32635#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list