[wp-hackers] template checks

Joseph Scott joseph at josephscott.org
Wed May 27 13:36:18 GMT 2009

On May 27, 2009, at 12:58 AM, Ryan McCue wrote:

> On 27/05/2009 8:45 AM, Ozh wrote:
>> A couple months (years?) ago I was after something similar on this
>> list. The consensus was that there's no foolproof way to make sure  
>> the
>> hook is called (and after all a theme author might deliberately omit
>> it)
> Well, there's one foolproof way: add a logging handler to wp_footer  
> and run WP. This could be emulated by a script for the WP Themes  
> repository, which could be a good idea.

We did add checks for wp_head() and wp_footer() to the theme  
directory.  If you've found a theme in there that doesn't have those  
(perhaps from before the check was added) please send the names of the  
themes to themes at wordpress.org and we'll ask the theme authors to fix  

Joseph Scott
joseph at josephscott.org

More information about the wp-hackers mailing list