milohuang / reverie

Reverie is a versatile HTML5 responsive WordPress framework based on ZURB's Foundation.
http://theakiba.com/reverie/
MIT License
916 stars 196 forks source link

reverie_ie_css() function is echoing php syntax and not the get_template_directory_uri() #95

Closed Vinsanity closed 12 years ago

Vinsanity commented 12 years ago

The current code below is actually echoing the php syntax instead of the template directory.

Current: function reverie_ie_css () { echo ''; } add_action( 'wp_head', 'reverie_ie_css' );

I've written a quick fix for this but there is most likely a better way to do this I'm sure.

Quick Fix: function reverie_ie_css () { $templ_dir = get_template_directory_uri(); echo ''; } add_action( 'wp_head', 'reverie_ie_css' );

MiltonDiaz commented 12 years ago

In the history server logs appear errors (403 or 404) and bad links like:

http://www.yourdomainserver.com/%3C http://www.yourdomainserver.com/%3C?php%20echo%20get_template_directory_uri();%20?>/css/ie.css

I fixed with:

'. get_template_directory_uri().'

Remove the php and echo code between href=

I can´t write here the code github don´t show

milohuang commented 12 years ago

Thanks for the mention. Fixed.

Vinsanity commented 12 years ago

Fantastic. Thanks for the framework!