On Wed, Sep 15, 2010 at 10:37 AM, Chip Bennett <span dir="ltr"><<a href="mailto:chip@chipbennett.net">chip@chipbennett.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
When adding wp_enqueue_script( 'comment-reply' ) via functions.php, doesn't this function call need to be hooked into wp_head()?</blockquote><div><br></div><div>If it's going via functions.php, yeah, it should be attached to a hook. Any theme that has code bouncing around in functions.php needs careful auditing just to see whether it's doing anything it should be waiting on.</div>
<div><br></div><div>For the specifics of comment-reply, they should only be enqueueing it on pages they need it. An is_singular() check, I'd say.</div>