[wp-trac] [WordPress Trac] #14752: Warn after theme activation if wp_head/footer is missing
WordPress Trac
wp-trac at lists.automattic.com
Wed Sep 1 12:10:38 UTC 2010
#14752: Warn after theme activation if wp_head/footer is missing
--------------------------+-------------------------------------------------
Reporter: nacin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version:
Severity: normal | Keywords: 2nd-opinion
--------------------------+-------------------------------------------------
After theme activation, we can reliably test for wp_head() and wp_footer()
with an HTTP call to the front page.
We should do that and check for two things:
1. That wp_head() and wp_footer() are present in the theme.
2. That they are in the correct location, immediately before </head> and
</body>.
Then throw a warning that the theme may not function properly (with a link
to a Codex page?) because it is not using the API correctly.
Is this core material?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14752>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list