site_url() would return the information I suspect the author is trying to work with; although I agree bloginfo( 'name' ) would be the much more common and expected function to see in its place.<br><br><br>Cais.<br>
<br><div class="gmail_quote">On Wed, Nov 3, 2010 at 6:13 PM, Chip Bennett <span dir="ltr"><<a href="mailto:chip@chipbennett.net">chip@chipbennett.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Isn't it more usual to list the Site Name, rather than URL, in such copyright statements? In any case, both bloginfo( 'name' ) and site_url() would be preferable to what was used...<div><br></div><div><font color="#888888">Chip</font><div>
<div></div><div class="h5"><br><br>
<div class="gmail_quote">On Wed, Nov 3, 2010 at 5:00 PM, Edward Caissie <span dir="ltr"><<a href="mailto:edward.caissie@gmail.com" target="_blank">edward.caissie@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
'site_url()' would work even better in my mind ... they can even test with 'is_ssl()' if need be.<br><br><br>Cais.<div><div></div><div><br><br><div class="gmail_quote">On Wed, Nov 3, 2010 at 4:13 PM, Chip Bennett <span dir="ltr"><<a href="mailto:chip@chipbennett.net" target="_blank">chip@chipbennett.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">I bet you're right! :)<div><br></div><div>I didn't install it, so I didn't get to see how it looks with my domain name. Regardless, there's no reason to use this method, when bloginfo() would suffice.</div>
<div><br></div><div>Thanks!</div><div><br></div><div>Chip<br><br><div class="gmail_quote"><div><div></div><div>On Wed, Nov 3, 2010 at 3:07 PM, Jerry Johnson <span dir="ltr"><<a href="mailto:jmiloj@gmail.com" target="_blank">jmiloj@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div>HTTP_HOST is what the client/user asked for as the target host of that request.<div>
<br></div><div>So for most sites, it would return the _requested domain name_ from the url.</div>
<div><br></div><div>So, a page at <a href="http://www.yourdomain.com/about-us" target="_blank">http://www.yourdomain.com/about-us</a> would return:</div>
<div><br></div><div>Copyright 2010 <a href="http://yourdomain.com" target="_blank">yourdomain.com</a></div><div><br></div><div>(it is stripping out the first 4 chars, assuming the domain starts with www., and that part should be stripped off.)</div>
<div><br></div><div>I bet it works _perfectly_ on the site(s) it was created for.</div><div><br></div><div>Jerry Milo Johnson<div><div></div><div><br><br><div class="gmail_quote">On Wed, Nov 3, 2010 at 4:00 PM, Chip Bennett <span dir="ltr"><<a href="mailto:chip@chipbennett.net" target="_blank">chip@chipbennett.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Found this in another Theme:<blockquote style="margin: 0pt 0pt 0pt 40px; border: medium none; padding: 0px;">
<div><span style="font-family: 'Times New Roman'; font-size: medium;"><pre style="word-wrap: break-word; white-space: pre-wrap;">Copyright <?php echo date('Y') . ' ' . substr($_SERVER['HTTP_HOST'], 4, 100); ?></pre>
</span></div></blockquote><div>I don't know what it's trying to do, other than pull something out of the HTTP header...</div>
<div><br></div><font color="#888888"><div><br></div></font></blockquote></div></div></div></div>
<br></div></div>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">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>
<br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">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></div><br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">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></div></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>