<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Endorsements towards <a href="http://core.trac.wordpress.org/ticket/18753">#18753</a>, to make this even easier to use, are always welcome! :)</div><div><br></div><div>Konstantin</div><br><div><div>On 16.05.2012, at 18:50, Chip Bennett wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>What Konstantin said. I recommend this method as best practice.<br><br>Chip<br><br>On 5/16/12, Konstantin Obenland <<a href="mailto:konstantin@obenland.it">konstantin@obenland.it</a>> wrote:<br><blockquote type="cite">How about:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">function prefix_enqueue_scripts() {<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>wp_enqueue_style( 'handle', get_template_directory_uri() . '/ie.css',<br></blockquote><blockquote type="cite">array('style') );<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>global $wp_styles;<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>$wp_styles->add_data( 'handle', 'conditional', 'lt IE 9' );<br></blockquote><blockquote type="cite">}<br></blockquote><blockquote type="cite">add_action( 'wp_enqueue_scripts', 'prefix_enqueue_scripts' );<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Konstantin<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">On 16.05.2012, at 17:18, Sayontan Sinha wrote:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">Actually you can use wp_enqueue_style for this, by combining with the<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">style_loader_tag filter. E.g.:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">add_filter('style_loader_tag', 'suffusion_filter_rounded_corners_css', 10,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">2);<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">function suffusion_filter_rounded_corners_css($css_html_tag, $handle) {<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> if ($handle == 'suffusion-rounded') {<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> return "<!--[if !IE]>-->".$css_html_tag."<!--<![endif]-->\n<!--[if<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">gt IE 8]>".$css_html_tag."<![endif]-->\n";<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> }<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> return $css_html_tag;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">}<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">On Wed, May 16, 2012 at 8:14 AM, .: chris :. <<a href="mailto:chris@jazzsequence.com">chris@jazzsequence.com</a>><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">wrote:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Why not use conditional classes instead of conditional stylesheets?<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="http://paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/">http://paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">:: code bandit ::<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="http://protocol.by/jazzsequence">http://protocol.by/jazzsequence</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="http://about.me/jazzs3quence">http://about.me/jazzs3quence</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">On May 16, 2012, at 9:11 AM, Shinra Web Holdings wrote:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Are themes still permitted to load browser-conditional style sheets using<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><!--[if IE 7]><link rel="stylesheet" href="ie7.css" type="text/css"<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">media="screen" /><![endif]--> or are they required to discover the<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">browser using PHP and use wp_enqueue_style() ?<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">_______________________________________________<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">theme-reviewers mailing list<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">_______________________________________________<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">theme-reviewers mailing list<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">--<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Sayontan Sinha<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="http://mynethome.net">http://mynethome.net</a> | <a href="http://mynethome.net/blog">http://mynethome.net/blog</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">--<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Beating Australia in Cricket is like killing a celebrity. The death gets<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">more coverage than the crime.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">_______________________________________________<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">theme-reviewers mailing list<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><br>-- <br>Sent from my mobile device<br>_______________________________________________<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></blockquote></div><br></body></html>