Fix: WordPress3.0 Thesis File Editor Bug / Code Press Error

by Puneet Sahalot on June 26, 2010

A few days back, WordPress3.0 was launched, everyone was excited to check out this newer version with a lot of new features. Soon after the launch many people upgraded and some of them had to suffer as well. Especially, thesis users had issues with the “Custom File Editor“. This caused a havoc amongst those who do not hold expertise in programming. Looking at the error users rolled back to the older version. But, today I am writing about how to fix this bug. You need not roll back to older version, enjoy the latest one. The error message displayed is :

Fatal error: Call to undefined function use_codepress() in C:\Domains\xyzdomain.com\httpdocs\wp-content\themes\thesis_17\lib\admin\admin.php on line 42

wordpress-bug-fixedAll you need to do is download the file “admin.php” located in your Thesis theme folder “..thesis_17/lib/admin/admin.php” using some ftp client such as FileZilla. Open the file with a code editor such as Notepad++. Let me tell you that FileZilla and Notepad++ are open source products so feel free to download, use and share. Scroll down to line 42 and look for the following code segment :

if (use_codepress()) add_action('admin_print_footer_scripts', 'codepress_footer_js');

Now, simply comment out the statement by putting two ‘//‘ [do not include ' ' ] at the beginning. Save the file and you are down.

Use your ftp client to upload the file back to “admin” folder in “..thesis_17/lib/admin/“. Now, log in to your WordPress admin panel and check out the “Custom File Editor“. Yehh..!!! its working.

Share / Re-tweet the post and help all the Thesis Users.

Also check out these stories:

[How to]:Recover Permanently Deleted WordPress Post In 10 Steps

How To Upgrade To WordPress 3.0: A Quick Guide

More Interesting Stories

{ 2 comments }

Self Esteem Generator June 26, 2010 at 12:12 pm

Awesome, thanks! This error really confused me, and this works very fast and easy :-)

Zaheer (zazo) June 29, 2010 at 1:34 pm

Thanks..!! I am happy that it worked for both of us :)

{ 2 trackbacks }

blog comments powered by Disqus

Previous post:

Next post: