For the Theme in question, it's wrapped in the usual conditionals (e.g. <i>if ( is_singular() && get_option( 'thread_comments' ) )</i> ). It's just not hooked into anything. I'll make the suggestion to hook into wp_head().<div>
<br></div><div>Thanks!</div><div><br></div><div>Chip<br><br><div class="gmail_quote">On Wed, Sep 15, 2010 at 9:42 AM, Andrew Nacin <span dir="ltr"><<a href="mailto:wp@andrewnacin.com">wp@andrewnacin.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">On Wed, Sep 15, 2010 at 10:37 AM, Chip Bennett <span dir="ltr"><<a href="mailto:chip@chipbennett.net" target="_blank">chip@chipbennett.net</a>></span> wrote:<div class="im">
<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><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>
<br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div>