WordPress 3.0 Thelonious was released and most of wordpress users upgraded to it but it caused an error to those using Thesis wordpress theme.After upgrading to WordPress 3.0 Thelonious Thesis wordpress theme users are not able to use file editor to edit custom.css and custom_functions.php files.
When trying to use file editor to edit custom.css and custom_functions.php an error is displayed the error message looks like the message below.
Fatal error: Call to undefined function use_codepress() in /home/xxxx/public_html/yourdomain.com/wp-content/themes/thesis_17/lib/admin/admin.php on line 42
To fix the error follow the steps below:
Login to your file server using FTP and under Thesis Theme folder, open file thesis_17/lib/admin/admin.php
Comment out the line no 42 by adding //
The line should look like the code below
//if (use_codepress()) add_action(‘admin_print_footer_scripts’, ‘codepress_footer_js’);
Save the admin.php file and update it on file server this will fix the CodePress error in thesis wordpress theme.

