WordPress 3.0 &
Thesis 1.7 Custom File Editor Conflict
Ooops! Someone missed one!
Specifically Thesis missed one due to not updating their code just yet related to changes made to the WordPress Core code.
As far as I can tell, this affects Thesis 1.7 … 1.6 … 1.5 …. you get the picture.
Essentially Thesis has not yet been updated for WordPress 3.0 and because of that there’s a bug.
If you never work with the Custom File Editor in Thesis however, this is a non-issue for you.
If you don’t even know what the Custom File Editor in Thesis is, you’re probably very safe to ignore this bug.
If however, you attempt to go to Thesis Custom File Editor, you will get the following warning:
Fatal error: Call to undefined function use_codepress() in /your-directory/public_html/wp-content/themes/thesis_1.7/lib/admin/admin.php on line 42.
Not only is the call not Fatal, but its relatively easy to correct if you know how to use FTP or your hosts File Manager.
A temporary fix (that doesn’t break much) is to use your FTP or File Manager and navigate to that file location and open the admin.php file for editing. If your using an editor that has line-numbers, the line is #42. If not, just search for this text.
You want to find the offending line and put two slashes // in front of it, like this:
// if (use_codepress()) add_action(‘admin_print_footer_scripts’, ‘codepress_footer_js’);
Save the file and if you downloaded it, re-upload your edited copy. All done!
If you want to have a closer look at what’s going on, you can have a look at this post on the IJDigital Forum.
This has been an issue for this theme since very early beta and most of us that saw it fully expected to have seen a new version of Thesis that both fixed it and integrated the WordPress 3.0 menu system, before 3.0 was officially here. Hopefully it will still get here in the very very near future but I wanted to share this because of the number of people that are still rushing to upgrade.
Hope this helps someone solve a headache!
PS: This is certainly not the only theme at the moment with bugs. However, because it impacts so many of us in the community due to this being the most popular theme (for good reason), I wanted to pass along the warning and solution.
PSS: Yes I’m an affiliate for Thesis, yes I love them, yes if you buy thought my links anywhere on this blog there’s a good chance someone’s going to buy me a cup of coffee and maybe even a donut!