How To : Solve Custom File Editor Issue in Thesis Theme

by Surender on June 21, 2010

in How To,Wordpress

WordPress 3.0 has released last week under the tagline “thelonious”.In the test phase,thesisthemereview thumb How To : Solve Custom File Editor Issue in Thesis Theme wordpress removed many bugs in WordPress 3.0 but WordPress 3.0 is still giving the errors.

Recently I upgraded my two blogs from older version to newer WordPress 3.0,where I am using Thesis 1.6 and Thesis 1.7 WordPress Theme.

I found following error when I opened custom file editor in Thesis 1.6:

Fatal error: Call to undefined function use_codepress() in /home/surender/public_html/mysite.com/wp-content/themes/thesis_16b/lib/admin/admin.php on line 57

How to solve Custom File Editor Issue:

Just follow these steps and please don’t forget to keep a backup. Please!

1. Connect to your webhost using FTP Client.

2. Go to the location mentioned in the error message

Example : wp-content/themes/thesis_16/lib/admin/

3. Download admin.php to your system and open it using a file editor.

4. Now go to the line 57(where the error is) and add two forward slashes before it and make that as a comment.

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

5. Now upload the updated admin.php to the wp-content/themes/thesis_16/lib/admin/

Your custom file editor will work fine.

You can solve the same issue with same steps in Thesis 1.7.

Thanks to Pradeep for useful tip.

Read More Related Stuff

{ 3 comments… read them below or add one }

KS Chen June 22, 2010 at 8:17 am

Thanks for your guide Surender! I have solved this problem too in my Thesis 1.7. However, i think this can solve the problem temporarily only. I’.m looking forward to the Thesis Theme Team to find out the ultimate way to solve this problem
KS Chen´s last [type] ..Monday Blogging Amoeba – 21/06/10

Reply

arul July 13, 2010 at 1:04 am

Good Good it is working nice

Reply

arul September 15, 2010 at 3:31 pm

thanks

Reply

Leave a Comment

CommentLuv badge



Previous post:

Next post: