[theme-reviewers] Happy Holidays (and a few questions)
otto at ottodestruct.com
Tue Dec 27 07:49:00 UTC 2011
On Mon, Dec 26, 2011 at 11:15 AM, Mario Peshev <mario at peshev.net> wrote:
> 1) I submitted a recommendation to add .ie classes to the body tag in the
> next WP release. The core guys rejected me for some reasons, but I'd be
> happy to hear few more opinions or other workarounds if any
> - http://core.trac.wordpress.org/ticket/19669
For IE specific stuff, you should use conditional comments, like they
discuss in the ticket. Conditional comments to include or exclude
sections of HTML code work everywhere and play nicely with caching
plugins and other caching systems such as reverse proxies.
> 2) What's the recommended way of adding the style.css to the head section -
> with get_stylesheet_uri() or bloginfo('stylesheet_url') ? I thought that
> get_stylesheet_uri() or get_stylesheet_directory_uri() are recommended but I
> noticed twentyeleven was using the latter?
Either. Doesn't really matter too much, they produce the same result.
The bloginfo call has a couple extra filters on it which some plugins
might expect you to be using, rarely.
More information about the theme-reviewers