Blog

Free copies of Parallels Desktop 7 each day and a chance to win a MacBook Air/ iPad 2. RT to enter! (1 month ago)

Thesis Theme 1.7 Custom File Editor Error in WordPress 3.0

info There is a confirmed problem with Thesis 1.7 and the new WordPress 3.0 update.
If you use the Thesis theme and attempt to use the custom file editor you will get the following error:

Fatal error: Call to undefined function use_codepress() in /home/content/46/5420546/html/wp-content/themes/thesis_17/lib/admin/admin.php  on line 42

Codepress is a Javascript based syntax highlighter that the Thesis custom file editor uses to highlight syntax used in the editor. In WordPress 3.0 it has been deprecated and no longer used due to browser incompatibilities.

The solution is pretty simple:

Just follow these steps and you should be good to go.

1. Use FTP to connect to your site.

2. Find the location mentioned in the error message i.e. wp-content/themes/thesis_17/lib/admin/admin.php

3. Download admin.php to your desktop and open it using any editor of your choice

4. Just comment out line number 42 (mentioned in the error message) by adding two forward slashes at the beginning of the line:

//if (use_codepress()) add_action(‘admin_print_footer_scripts’, ‘codepress_footer_js’);

5. Upload the updated admin.php to the wp-content/themes/thesis_17/lib/admin/ and you are done!

Remember that this is just one of the services that we offer so if you need some help just fill out a support ticket at our help desk.

Bob Waltman - Random facts: Love the Giants but also root for the Jets cuz they're local. I build my own PC's (But really want a Mac). I love my iPad. Osfoora is the best Twitter app. I follow over 300 RSS feeds. Steve, Clint and Paul - the tough guys of the 60's 70's and 80's. Check the About Me page for more ;)

Leave a Reply

High Speed Internet Service

Contact Info

Bob Waltman
(800)767-6089
bob (at) WPTechGuy.com
analytics