Repository navigation
Commit 2e483e5
committed
Tests: Restore the theme in the theme test base class.
Save the original stylesheet in `WP_Theme_UnitTestCase` and restore it during teardown after removing the test theme-root filters.
Developed in: #14735
Props devmuhib, huzaifaalmesbah.
See #65893.
git-svn-id: https://develop.svn.wordpress.org/trunk@64836 602fd350-edb4-49c9-b593-d223f7449a821 parent bb44b14 commit 2e483e5
1 file changed
Lines changed: 14 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
19 | 26 | | |
20 | 27 | | |
21 | 28 | | |
22 | | - | |
23 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
24 | 32 | | |
25 | 33 | | |
26 | 34 | | |
| |||
47 | 55 | | |
48 | 56 | | |
49 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
50 | 62 | | |
51 | 63 | | |
52 | 64 | | |
| |||
0 commit comments