<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    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.&nbsp; This
    is clearly a case where a template tag and hook are not implemented
    properly.<br>
    <br>
    The end result is not the same.&nbsp; One has the correct filters applied
    to it; the other does not.&nbsp; 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">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <div dir="ltr">
        <div style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE:
          12pt">
          <div>Justin, I know.&nbsp; 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>&nbsp;</div>
          <div>The method used in reference to the individuals theme
            utilized a &#8220;enqueue&#8221; for&nbsp;
            get_stylesheet_directory_uri().&#8217;/style.css&#8217; which in itself
            is inappropriately written.&nbsp;&nbsp; Since it will completely
            bypass the main themes stylesheet.</div>
          <div>&nbsp;</div>
          <div>To the end result though both utilizations of the
            get_stylesheet_directory_uri().&#8217;/style.css&#8217; and
            get_stylesheet_uri() does the exact same thing as an end
            result.</div>
          <div>&nbsp;</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 face="Calibri" size="3">Regardless, either way
                  could be utilized and neither is a &#8220;requirement&#8221; for
                  utilization in the guidelines at this moment, as per
                  the ticket saying it was.</font></div>
              <div>&nbsp;</div>
              <div>&nbsp;</div>
              <div style="BACKGROUND: #f5f5f5">
                <div style="font-color: black"><b>From:</b> <a
                    moz-do-not-send="true"
                    title="justin@justintadlock.com"
                    href="mailto:justin@justintadlock.com">Justin
                    Tadlock</a> </div>
                <div><b>Sent:</b> Friday, June 08, 2012 8:56 AM</div>
                <div><b>To:</b> <a moz-do-not-send="true"
                    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>&nbsp;</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.&nbsp; <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.&nbsp; It is required for use under the
            guideline "All template tags and hooks used in a Theme are
            required to be implemented properly".&nbsp; 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 moz-do-not-send="true"
              href="http://codex.wordpress.org/Theme_Review#Template_Tags_and_Hooks">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.&nbsp; <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>&nbsp;</div>
                  <div>^ reference </div>
                  <div>&nbsp;</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>&nbsp;</div>
                  <div>&nbsp;</div>
                  <div><tt>^ Both are internal functions that do the
                      EXACT same thing:</tt></div>
                  <div>&nbsp;</div>
                  <div><tt>Case:</tt></div>
                  <div>&nbsp;</div>
                  <div>function get_stylesheet_uri() {</div>
                  <div>&nbsp;&nbsp;&nbsp; $stylesheet_dir_uri =
                    get_stylesheet_directory_uri();</div>
                  <div>&nbsp;&nbsp;&nbsp; $stylesheet_uri = $stylesheet_dir_uri .
                    '/style.css';</div>
                  <div>&nbsp;&nbsp;&nbsp; return apply_filters('stylesheet_uri',
                    $stylesheet_uri, $stylesheet_dir_uri);</div>
                  <div>}</div>
                  <div>&nbsp;</div>
                  <div>This is not a reason to invalidate a theme.&nbsp;
                    Neither is adding remaining parameters on a
                    completely valid function call.</div>
                  <div>&nbsp;</div>
                  <div>&nbsp;</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>&nbsp;</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>&nbsp;</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 -&nbsp; wp_enqueue_style(
                    'krakatau-style', get_stylesheet_uri() );
                    <div>&nbsp;</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">&lt;<a
                            href="mailto:hasilent00@gmail.com"
                            target="_blank" moz-do-not-send="true">hasilent00@gmail.com</a>&gt;</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>&nbsp;</div>
                    </div>
                    <hr> _______________________________________________<br>
                    theme-reviewers mailing list<br>
                    <a moz-do-not-send="true"
                      class="moz-txt-link-abbreviated"
                      href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
                    <a moz-do-not-send="true"
                      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 moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a>
<a moz-do-not-send="true" 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>
            </p>
            <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>
  </body>
</html>