<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18928">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>its echo home_url() and echo site_url() btw,
because they are returned info while bloginfo('url') bloginfo('wpurl') are
already echo'd</FONT></DIV>
<DIV> </DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=yul.yordanov@gmail.com href="mailto:yul.yordanov@gmail.com">yulian
yordanov</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=theme-reviewers@lists.wordpress.org
href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, September 15, 2010 10:03
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [theme-reviewers]
get_option('home') bloginfo('url') andhome_url()</DIV>
<DIV><BR></DIV>ooOK :) Thanks<BR><BR>
<DIV class=gmail_quote>On Wed, Sep 15, 2010 at 7:53 PM, Andrew Nacin <SPAN
dir=ltr><<A
href="mailto:wp@andrewnacin.com">wp@andrewnacin.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<DIV class=im>2010/9/15 Edward Caissie <SPAN dir=ltr><<A
href="mailto:edward.caissie@gmail.com"
target=_blank>edward.caissie@gmail.com</A>></SPAN><BR></DIV>
<DIV class=gmail_quote>
<BLOCKQUOTE
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>So I would look at using home_url() as a recommendation
over get_option("home") as well, not required ... but definitely good
practice.</BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>I would strongly recommend that avoiding get_option('home') should be
*required*. If a theme does it, tell them not to. I'm not concerned about
rejecting said theme as much as making it crystal clear that while
home_url() is recommended over both get_bloginfo('url') and
get_option('home'), that there are different reasons for each.</DIV>
<DIV><BR></DIV>
<DIV>get_bloginfo('url') simply calls home_url(). They can be treated as
synonymous and the guidelines might as well say "home_url() or
get_bloginfo('url')", without stating a preference. (Various other
get_bloginfo() calls are synonymous with independent functions.)</DIV>
<DIV><BR></DIV>
<DIV>But the same cannot be said for get_option('home'). The issue here
being that get_option('home') simply cannot properly support SSL situations.
Thus get_option('home') is a bad
idea.</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><BR
clear=all><BR>-- <BR>Юлиян Йорданов<BR><BR>Yulian Yordanov<BR><A
href="http://post-scriptum.info/" target=_blank>post-scriptum.info</A><BR><BR>
<P>
<HR>
<P></P>_______________________________________________<BR>theme-reviewers
mailing
list<BR>theme-reviewers@lists.wordpress.org<BR>http://lists.wordpress.org/mailman/listinfo/theme-reviewers<BR></BLOCKQUOTE></BODY></HTML>