Opened 10 years ago
Closed 10 years ago
#39988 closed defect (bug) (fixed)
The theme used during tests should call wp_head() and wp_footer()
| Reported by: | johnbillion | Owned by: | johnbillion |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.7.4 |
| Component: | Build/Test Tools | Version: | 4.7 |
| Severity: | normal | Keywords: | fixed-major |
| Cc: | Focuses: |
Description
The wp_head() and wp_footer() functions are required for all themes, and it's safe to assume that all themes call these. The themedir1/default theme used in the tests (#31550) doesn't.
The effect that #31550 had was that it broke the tests in some of my plugins which assume that the current theme calls wp_footer(). This is a safe assumption to make, therefore the themedir1/default theme should call these functions.
Attachments (1)
Change History (5)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 40235: