Fix for Freshy2 (2.0.6) on WordPress 2.7

By Angelo on March 18, 2009

I have been having a problem with the Freshy2 theme for WordPress 2.7.  So with a little bit of hacking, I tracked it down to two problems.  You just have to edit two lines of code in the functions.php file in your freshy2/ directory:

Edit 1: comment out validation that causes a php error on line 801

// else $this->message = '<div class="error"><p>'.__('It seems that the directory','customize').' "'.$dirpath.'" '.__('does not exist','customize').'</p></div>';

Edit 2: correct the customized style path on line 474

$path = ABSPATH."wp-content".$theme_info->template_dir.'/';

These aren’t necessarily the ideal fixes.  The validation would be nice to keep in an upgraded version, and it would be better to use the template path instead of ABSPATH.  But this works for the canonical theme installation.

Last modified on March 18, 2009

Categories: WordPress
No Comments »

« | Home | »

Leave a Reply