<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">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><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><br></div><div>I honestly can't think of any good reason to do it any other way. Certainly other ways exist, but they're all slower, make things more difficult, and harder for people to understand. </div><div><br></div><div>Why reinvent the wheel and make it octagonal?</div></div><div><br></div><div><br></div><div> </div><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>2) "Sidebars need to be registered in a custom function hooked to the widgets_init action. See: register_sidebar()."</div><div><br></div><div>This is caused by a wrapper function for `register_sidebar()` that handles HTML5 defaults instead of the old-style lists. </div></div><div><div><div class="gmail_extra"></div></div></div></blockquote></div><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Actually, that check just sees if register_sidebar() is in the theme and if widgets_init is not in the theme. If you are registering a sidebar, then it should be happening in a function hooked to widgets_init, and not anywhere else. Doesn't matter how it's handling HTML5 or what have you. </div><div class="gmail_extra"><br></div><div class="gmail_extra">So if the theme doesn't contain "widgets_init" anywhere but still registers sidebars, that's a legitimate issue.</div><div class="gmail_extra"><br></div><div class="gmail_extra">-Otto</div><div class="gmail_extra"><br></div></div>