WordPress 3.0 has released last week under the tagline “thelonious”.In the test phase,
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 }
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
Good Good it is working nice
thanks