<div dir="ltr"><div class="gmail_extra">I'm going to agree with this as well ...</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 11, 2014 at 7:22 PM, Otto <span dir="ltr"><<a href="mailto:otto@ottodestruct.com" target="_blank">otto@ottodestruct.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Sep 11, 2014 at 5:19 PM, Justin Tadlock <span dir="ltr"><<a href="mailto:justin@justintadlock.com" target="_blank">justin@justintadlock.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div>1) "The <title> tags can only contain a call to wp_title(). Use the wp_title filter to modify the output."</div><div><br></div><div>This is caused by a custom function hooked to `wp_head` to output the `<title>` tag.  This is should be easy enough to fix for theme check though.  Here's the code that gets flagged:</div><div><br></div><div><span style="white-space:pre-wrap"> </span>printf( "<title>%s</title>\n", wp_title( ':', false ) );</div></div></blockquote><div><br></div></span><div><div>IMO, the title should look like this, in the header.php, in all themes:</div><div><br></div><div><title><?php wp_title(whatever); ?></title></div></div></blockquote></div><div class="gmail_extra"><br></div>I'm not really sure why one would want to use some sort of substitution code like the example, just seems to make it much more complicated than what it needs to be.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><br><br clear="all"><div>Edward Caissie<br>aka Cais.</div>
</div></div>