<HTML><HEAD>
<META content="text/html; charset=ISO-8859-1" http-equiv=Content-Type></HEAD>
<BODY dir=ltr bgColor=#ffffff text=#000000>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>You are right as always.</DIV>
<DIV> </DIV>
<DIV>Not going to argue about the usage of it was just to enqueue from a
function the style.css which everyone agreed was the wrong way to do it and that
the requirement as per said in the ticket made the functions usage
irrelevant.</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=justin@justintadlock.com
href="mailto:justin@justintadlock.com">Justin Tadlock</A> </DIV>
<DIV><B>Sent:</B> Friday, June 08, 2012 9:28 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">If
using get_stylesheet_uri() is not a requirement, the wording "All template tags
and hooks used in a Theme are required to be implemented properly" should be
removed from the guidelines. This is clearly a case where a template tag
and hook are not implemented properly.<BR><BR>The end result is not the
same. One has the correct filters applied to it; the other does not.
Any plugin that filters 'stylesheet_uri' will not work unless the appropriate
function is used.<BR><BR>On 6/8/2012 11:08 AM, Philip M. Hofer (Frumph) wrote:
<BLOCKQUOTE cite=mid:A07428C9D6824193977C35886C89DE3E@Furious type="cite">
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>Justin, I know. The reference of usage is a way that the
information is being used in the particular instance of code both can be
utilized to the same end.</DIV>
<DIV> </DIV>
<DIV>The method used in reference to the individuals theme utilized a
“enqueue” for get_stylesheet_directory_uri().’/style.css’ which in
itself is inappropriately written. Since it will completely bypass
the main themes stylesheet.</DIV>
<DIV> </DIV>
<DIV>To the end result though both utilizations of the
get_stylesheet_directory_uri().’/style.css’ and get_stylesheet_uri() does the
exact same thing as an end result.</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>Regardless, either way could be utilized and
neither is a “requirement” for utilization in the guidelines at this moment,
as per the ticket saying it was.</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=justin@justintadlock.com
href="mailto:justin@justintadlock.com" moz-do-not-send="true">Justin
Tadlock</A> </DIV>
<DIV><B>Sent:</B> Friday, June 08, 2012 8:56 AM</DIV>
<DIV><B>To:</B> <A title=theme-reviewers@lists.wordpress.org
href="mailto:theme-reviewers@lists.wordpress.org"
moz-do-not-send="true">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">These
two functions do not do the exact same thing.
<BR><BR>get_stylesheet_directory_uri() is for getting the directory URI to the
currently activated theme.<BR><BR>get_stylesheet_uri() is for getting the URI
to the current theme's style.css file. It is required for use under the
guideline "All template tags and hooks used in a Theme are required to be
implemented properly". Reference:<SPAN
style="TEXT-ALIGN: left; WIDOWS: 2; TEXT-TRANSFORM: none; BACKGROUND-COLOR: rgb(255,255,255); TEXT-INDENT: 0px; DISPLAY: inline !important; FONT: 13px/22px sans-serif; WHITE-SPACE: normal; ORPHANS: 2; FLOAT: none; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"></SPAN><BR><A
href="http://codex.wordpress.org/Theme_Review#Template_Tags_and_Hooks"
moz-do-not-send="true">http://codex.wordpress.org/Theme_Review#Template_Tags_and_Hooks</A><BR><BR>If
a theme uses the this:<BR><BR>get_stylesheet_directory_uri() .
'/style.css'<BR><BR>plugins that fire on the 'stylesheet_uri' hook will not
work. <BR><BR>get_stylesheet_uri() will output the appropriate file name
and the 'stylesheet_uri' hook will be available for plugin authors.<BR><BR>On
6/8/2012 8:44 AM, Philip M. Hofer (Frumph) wrote:
<BLOCKQUOTE cite=mid:4AF8CD855F6942518D468AD175777786@Furious type="cite">
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; 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> </DIV>
<DIV> </DIV>
<DIV><TT>^ Both are internal functions that do the EXACT same
thing:</TT></DIV>
<DIV> </DIV>
<DIV><TT>Case:</TT></DIV>
<DIV> </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'; 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=georgemamadashvili@gmail.com
href="mailto:georgemamadashvili@gmail.com" moz-do-not-send="true">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"
moz-do-not-send="true">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">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
moz-do-not-send="true">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
moz-do-not-send="true">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
moz-do-not-send="true">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"
moz-do-not-send="true">theme-reviewers@lists.wordpress.org</A><BR><A
href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers"
target=_blank
moz-do-not-send="true">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</A><BR></BLOCKQUOTE></DIV>
<DIV> </DIV></DIV>
<HR>
_______________________________________________<BR>theme-reviewers mailing
list<BR><A class=moz-txt-link-abbreviated
href="mailto:theme-reviewers@lists.wordpress.org"
moz-do-not-send="true">theme-reviewers@lists.wordpress.org</A><BR><A
class=moz-txt-link-freetext
href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers"
moz-do-not-send="true">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</A><BR></DIV></DIV></DIV><BR>
<FIELDSET class=mimeAttachmentHeader></FIELDSET> <BR><PRE wrap="">_______________________________________________
theme-reviewers mailing list
<A class=moz-txt-link-abbreviated href="mailto:theme-reviewers@lists.wordpress.org" moz-do-not-send="true">theme-reviewers@lists.wordpress.org</A>
<A class=moz-txt-link-freetext href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" moz-do-not-send="true">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</A>
</PRE></BLOCKQUOTE>
<HR>
_______________________________________________<BR>theme-reviewers mailing
list<BR><A class=moz-txt-link-abbreviated
href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</A><BR><A
class=moz-txt-link-freetext
href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</A><BR></DIV></DIV></DIV><BR>
<FIELDSET class=mimeAttachmentHeader></FIELDSET> <BR><PRE wrap="">_______________________________________________
theme-reviewers mailing list
<A class=moz-txt-link-abbreviated href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</A>
<A class=moz-txt-link-freetext href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</A>
</PRE></BLOCKQUOTE>
<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>