<HTML><HEAD></HEAD>
<BODY
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space"
dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>“is what is wrong” .. heh not what is required</DIV>
<DIV> </DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=philip@frumph.net
href="mailto:philip@frumph.net">Philip M. Hofer (Frumph)</A> </DIV>
<DIV><B>Sent:</B> Friday, June 08, 2012 7:16 AM</DIV>
<DIV><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><B>Subject:</B> Re: [theme-reviewers] (no subject)</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>I’m not going to argue with “good practices”, not even sure why this
gentlemen’s theme even enqueue’s the style.css to begin with and doesn’t just
add it to the header.php like everyone else ;/</DIV>
<DIV> </DIV>
<DIV>Enqueue’ing that style.css makes things sort of run ‘out of execution’
order. </DIV>
<DIV> </DIV>
<DIV>Anyways, what was written is not what is the actual root of what is
wrong.</DIV>
<DIV> </DIV>
<DIV>“If incorporated into the Theme, site information is <B>required</B> to be
called using the correct template tag:”</DIV>
<DIV> </DIV>
<DIV>This is actually referring to the fact that enqueue’ing the stylesheet_uri
is what is required, by not enqueing it and putting it in the appropriate
location in the header.php.</DIV>
<DIV> </DIV>
<DIV>However, what is written as a requirement is the difference between the
get_stylesheet_directory_uri and get_stylesheet_uri</DIV>
<DIV> </DIV>
<DIV>Hope this makes sense.</DIV>
<DIV> </DIV>
<DIV>Theme’s Style.CSS should be called appropriately from the header.php and
incorporated with the proper get_stylesheet_uri();</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV style="FONT: 10pt tahoma">
<DIV><FONT size=3 face=Calibri></FONT> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=konstantin@obenland.it
href="mailto:konstantin@obenland.it">Konstantin Obenland</A> </DIV>
<DIV><B>Sent:</B> Friday, June 08, 2012 7:07 AM</DIV>
<DIV><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><B>Subject:</B> Re: [theme-reviewers] (no subject)</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">I
wasn't aware.
<DIV> </DIV>
<DIV>This is what my finding was based on:</DIV>
<DIV> </DIV>
<DIV>If incorporated into the Theme, site information is <B>required</B> to be
called using the correct template tag:</DIV>
<DIV>[...]</DIV>
<DIV>Style Sheet URL: <TT><A title="Function Reference/get stylesheet uri"
href="http://codex.wordpress.org/Function_Reference/get_stylesheet_uri">get_stylesheet_uri()</A></TT></DIV>
<DIV><FONT class=Apple-style-span face=monospace><BR></FONT>
<DIV>I was under the impression, when it is required to use get_stylesheet_uri()
to get the stylesheet url, get_stylesheet_directory_uri() . '/style.css'
actually is no good.<BR>
<DIV>Wasn't the reason behind requiring get_stylesheet_uri(), that the
'stylesheet_uri' filter gets called?</DIV>
<DIV> </DIV>
<DIV>Konstantin</DIV>
<DIV> </DIV>
<DIV>
<DIV>On 08.06.2012, at 16:01, Philip M. Hofer (Frumph) wrote:</DIV><BR
class=Apple-interchange-newline>
<BLOCKQUOTE type="cite">
<DIV dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>^ thanks chip – also if you could:</DIV>
<DIV> </DIV>
<DIV>might want to edit the doc for *_uri() / *_url() .. although
I don’t know any functions off the top of my head that have _url()</DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV style="FONT: 10pt tahoma">
<DIV><FONT size=3 face=Calibri></FONT> </DIV>
<DIV><FONT size=3 face=Calibri></FONT> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=chip@chipbennett.net
href="mailto:chip@chipbennett.net">Chip Bennett</A> </DIV>
<DIV><B>Sent:</B> Friday, June 08, 2012 6:56 AM</DIV>
<DIV><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><B>Subject:</B> Re: [theme-reviewers] (no subject)</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">I
agree with Phil.
<DIV> </DIV>
<DIV>This statement is not in the Guidelines:</DIV>
<DIV> </DIV>
<DIV>
<BLOCKQUOTE
style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0px; MARGIN: 0px 0px 0px 40px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; BORDER-TOP: medium none; BORDER-RIGHT: medium none; PADDING-TOP: 0px">
<DIV><FONT style="FONT-SIZE: 16px" face="Times New Roman">Site information
is REQUIRED to be called using the correct template tag: </FONT><TT
style="FONT-SIZE: 16px">get_stylesheet_uri()</TT><FONT
style="FONT-SIZE: 16px" face="Times New Roman"> rather than </FONT><TT
style="FONT-SIZE: 16px">get_stylesheet_directory_uri() .
'/style.css'</TT></DIV></BLOCKQUOTE></DIV>
<DIV> </DIV>
<DIV>What IS in the Guidelines is this:</DIV>
<DIV> </DIV>
<DIV>
<BLOCKQUOTE
style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0px; MARGIN: 0px 0px 0px 40px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; BORDER-TOP: medium none; BORDER-RIGHT: medium none; PADDING-TOP: 0px">
<DIV><SPAN
style="TEXT-ALIGN: left; LINE-HEIGHT: 22px; BACKGROUND-COLOR: rgb(255,255,255); FONT-FAMILY: sans-serif; FONT-SIZE: 13px">Themes
are </SPAN><B
style="TEXT-ALIGN: left; LINE-HEIGHT: 22px; BACKGROUND-COLOR: rgb(255,255,255); FONT-FAMILY: sans-serif; FONT-SIZE: 13px">required</B><SPAN
style="TEXT-ALIGN: left; LINE-HEIGHT: 22px; BACKGROUND-COLOR: rgb(255,255,255); FONT-FAMILY: sans-serif; FONT-SIZE: 13px">
to use </SPAN><TT
style="TEXT-ALIGN: left; LINE-HEIGHT: 22px; BACKGROUND-COLOR: rgb(255,255,255); FONT-SIZE: 13px">*_url()</TT><SPAN
style="TEXT-ALIGN: left; LINE-HEIGHT: 22px; BACKGROUND-COLOR: rgb(255,255,255); FONT-FAMILY: sans-serif; FONT-SIZE: 13px">
template tags, rather than </SPAN><TT
style="TEXT-ALIGN: left; LINE-HEIGHT: 22px; BACKGROUND-COLOR: rgb(255,255,255); FONT-SIZE: 13px">bloginfo()</TT><SPAN
style="TEXT-ALIGN: left; LINE-HEIGHT: 22px; BACKGROUND-COLOR: rgb(255,255,255); FONT-FAMILY: sans-serif; FONT-SIZE: 13px">
equivalents.</SPAN></DIV>
<DIV style="TEXT-ALIGN: left"><FONT face=sans-serif><SPAN
style="LINE-HEIGHT: 22px">AND</SPAN></FONT></DIV>
<DIV style="TEXT-ALIGN: left"><SPAN
style="LINE-HEIGHT: 22px; BACKGROUND-COLOR: rgb(255,255,255); FONT-FAMILY: sans-serif; FONT-SIZE: 13px">Themes
are </SPAN><B
style="LINE-HEIGHT: 22px; BACKGROUND-COLOR: rgb(255,255,255); FONT-FAMILY: sans-serif; FONT-SIZE: 13px">required</B><SPAN
style="LINE-HEIGHT: 22px; BACKGROUND-COLOR: rgb(255,255,255); FONT-FAMILY: sans-serif; FONT-SIZE: 13px">
to use </SPAN><TT
style="LINE-HEIGHT: 22px; BACKGROUND-COLOR: rgb(255,255,255); FONT-SIZE: 13px"><A
style="COLOR: rgb(76,166,207); TEXT-DECORATION: none"
title="Function Reference/get stylesheet directory"
href="http://codex.wordpress.org/Function_Reference/get_stylesheet_directory">get_stylesheet_directory()</A></TT><SPAN
style="LINE-HEIGHT: 22px; BACKGROUND-COLOR: rgb(255,255,255); FONT-FAMILY: sans-serif; FONT-SIZE: 13px">
rather than </SPAN><TT
style="LINE-HEIGHT: 22px; BACKGROUND-COLOR: rgb(255,255,255); FONT-SIZE: 13px">STYLESHEETPATH</TT><SPAN
style="LINE-HEIGHT: 22px; BACKGROUND-COLOR: rgb(255,255,255); FONT-FAMILY: sans-serif; FONT-SIZE: 13px">
to return the stylesheet path.</SPAN></DIV></BLOCKQUOTE></DIV>
<DIV> </DIV>
<DIV>The important points:</DIV>
<DIV>
<UL>
<LI>Use get_stylesheet_directory() instead of the STYLESHEETPATH constant
<LI>Use get_stylesheet_directory*() instead of its get_bloginfo() equivalent
<LI>Use get_stylesheet_directory*() instead of get_template_directory*()
when the included path is intended to be able to be overridden by a Child
Theme</LI></UL></DIV>
<DIV> </DIV>
<DIV>Chip<BR><BR>
<DIV class=gmail_quote>On Fri, Jun 8, 2012 at 8:44 AM, Philip M. Hofer
(Frumph) <SPAN dir=ltr><<A href="mailto:philip@frumph.net"
target=_blank>philip@frumph.net</A>></SPAN> wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<DIV dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; FONT-SIZE: 12pt">
<DIV>Okay this is a little bit out of hand.</DIV>
<DIV> </DIV>
<DIV>^ reference </DIV>
<DIV> </DIV>
<DIV><FONT face="Times New Roman">Site information is REQUIRED to be called
using the correct template tag: </FONT><TT>get_stylesheet_uri()</TT><FONT
face="Times New Roman"> rather than
</FONT><TT>get_stylesheet_directory_uri() . '/style.css'</TT></DIV>
<DIV><TT></TT> </DIV>
<DIV><TT></TT> </DIV>
<DIV><TT>^ Both are internal functions that do the EXACT same
thing:</TT></DIV>
<DIV><TT></TT> </DIV>
<DIV><TT>Case:</TT></DIV>
<DIV><TT></TT> </DIV>
<DIV>function get_stylesheet_uri() {</DIV>
<DIV> $stylesheet_dir_uri =
get_stylesheet_directory_uri();</DIV>
<DIV> $stylesheet_uri = $stylesheet_dir_uri .
'/style.css';</DIV>
<DIV> return apply_filters('stylesheet_uri',
$stylesheet_uri, $stylesheet_dir_uri);</DIV>
<DIV>}</DIV>
<DIV> </DIV>
<DIV>This is not a reason to invalidate a theme. Neither is adding
remaining parameters on a completely valid function call.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV style="FONT: 10pt tahoma">
<DIV><FONT size=3 face=Calibri></FONT> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV><B>From:</B> <A title=georgemamadashvili@gmail.com
href="mailto:georgemamadashvili@gmail.com" target=_blank>George
Mamadashvili</A> </DIV>
<DIV><B>Sent:</B> Friday, June 08, 2012 5:43 AM</DIV>
<DIV><B>To:</B> <A title=theme-reviewers@lists.wordpress.org
href="mailto:theme-reviewers@lists.wordpress.org"
target=_blank>theme-reviewers@lists.wordpress.org</A> </DIV>
<DIV><B>Subject:</B> Re: [theme-reviewers] (no subject)</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV>
<DIV class=h5>Use more simple solution - wp_enqueue_style(
'krakatau-style', get_stylesheet_uri() );
<DIV> </DIV>
<DIV>You need to use get_stylesheet_* functions when enqueueing style.css so
child themes can easily override it.<BR><BR>
<DIV class=gmail_quote>On Fri, Jun 8, 2012 at 2:39 PM, hal-android <SPAN
dir=ltr><<A href="mailto:hasilent00@gmail.com"
target=_blank>hasilent00@gmail.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>Hi.<BR>Can anyone help me here?<BR>I'm really confused
about this.<BR>In the previous ticket :<BR><A
href="http://themes.trac.wordpress.org/ticket/8039"
target=_blank>http://themes.trac.wordpress.org/ticket/8039</A><BR>wp_register_style('default',
get_stylesheet_directory_uri() .<BR>'/style.css', array(),
'0.0.3');<BR>wp_enqueue_style('default');<BR><BR><BR>And on this ticket I
replace<BR><A
href="http://themes.trac.wordpress.org/ticket/8069#comment:3"
target=_blank>http://themes.trac.wordpress.org/ticket/8069#comment:3</A><BR><BR>wp_enqueue_style('krakatau_style',
get_template_directory_uri() .<BR>'/style.css', array(),
'0.0.5');<BR><BR><BR>Please help me..what should i do?<BR><BR>Many
thank's<BR>amdhas<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></BLOCKQUOTE></DIV>
<DIV> </DIV></DIV></DIV></DIV>
<HR>
<DIV
class=im>_______________________________________________<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></DIV></DIV></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>
<DIV> </DIV></DIV>
<DIV> </DIV>
<HR>
_______________________________________________<BR>theme-reviewers mailing
list<BR><A
href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</A><BR>http://lists.wordpress.org/mailman/listinfo/theme-reviewers<BR></DIV></DIV></DIV></DIV>_______________________________________________<BR>theme-reviewers
mailing list<BR><A
href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</A><BR>http://lists.wordpress.org/mailman/listinfo/theme-reviewers<BR></BLOCKQUOTE></DIV>
<DIV> </DIV></DIV></DIV>
<P>
<HR>
_______________________________________________<BR>theme-reviewers mailing
list<BR>theme-reviewers@lists.wordpress.org<BR>http://lists.wordpress.org/mailman/listinfo/theme-reviewers<BR></DIV></DIV></DIV>
<P>
<HR>
_______________________________________________<BR>theme-reviewers mailing
list<BR>theme-reviewers@lists.wordpress.org<BR>http://lists.wordpress.org/mailman/listinfo/theme-reviewers<BR></DIV></DIV></DIV></BODY></HTML>