Thesis broke my WP 3.0!
June 21, 2010
By: Mike Mueller
Author's Website: http://www.areweconnected.com
Or was it the other way around?

photo credit: thisisbossi
Ether way if you clicked that highly seductive “automatic upgrade” and installed 3.0 over your Thesis theme you may now have issues.
Ive seen some where the blog won’t load.
I’ve seen some where various dashboard items won’t load.
The culprit seems to be this thing called “codepress” that still lives in certain files.
Here’s an actual error code one of my thesis sites had
undefined function use_codepress() in /public_html/wp-content/themes/thesis_16/lib/admin/admin.php on line 42
And here’s the fix:
Login to your FTP and find the offending file. The error message actually tells you where to go. Starting in your public folder open up the wp-content folder and then the themes folder and so on.
When you get to the file itself (in this case admin.php) download that to your hard drive (just for safety). If you are using a FTP program like FileZilla you can then right click and “view/edit” right there. You’ll see the file open up in Notepad.
Now press CTRL + F (that’s a shortcut for find) and in the box type the word “codepress” and then search. It’ll find the next mention of that word.
Now here’s the tricky part:
Go to the beginning of the line that contains “codepress” and type in two (2) forward slashes: //
HINT: You’ll might find there might be more than one
Before:
After:
That’s it.
Now save the new version of the file in the same folder and go check your blog.
Is it fixed?
- Stumble it!
- Categories: Blogging
Enjoy this post? Subscribe to the Geek Estate Blog feed or get updates via e-mail
Comments
View Comments





mikemueller on June 21, 2010 8:23 am
I was going to use the word “Deprecated” but thought better of it. (codepress is deprecated but still in some thesis files)
http://en.wikipedia.org/wiki/Deprecation
Karen Goodman on June 21, 2010 7:53 pm
Thanks for the tip. I think you just convinced me that I was right to wait a bit before upgrading my custom Thesis site to 3.0. I know just enough to possibly break everything if I try to go into code. The last time I did my site went down until a twitter friend helped me fix it.
But I'll be keeping this tip, and watching for others as I give it a couple of weeks before upgrading. I want to make sure that all of the plugin coders have time to make all their updates first.
Jay Thompson on June 22, 2010 8:02 am
Mike – I see you're using Thesis 1.6. Any idea if Thesis 1.7 has the same issue?
JoeColleen on June 22, 2010 8:10 am
Yes! We are using Thesis 1.7 and had the same issue. Commenting out line 42 in admin.php will do the trick Jay
JoeColleen on June 22, 2010 8:34 am
Thanks for sharing this Mike. We have Thesis and besides the one glitch, the upgrade was flawless (keeps fingers crossed). I told myself I would not upgrade until 3.1 or 3.01 came out, but the “Upgrade Now” button was irresistible!
Kris Berg on June 22, 2010 9:18 am
Aha! Glad I waited. I had a feeling updating to 3.0 with a Thesis theme wasn't going to be all easy-breezy. Thanks, Mike.
mortgage loan modification on June 26, 2010 6:31 am
Thanks Mike for a working solution; I owe ya a coffee. – Justin
ken Schmidt on June 28, 2010 5:05 pm
I noticed last week WP came out with the 3.0 upgrade and I have been waiting to do it… thanks for the post Mike, I hope I don't have problems on my sites!
Tej Kohli on June 29, 2010 1:06 am
I am Still Using WP 2.9 , While I tried using wp 3.0 I found that its not working perfectly
Tej Kohli on June 29, 2010 8:06 am
I am Still Using WP 2.9 , While I tried using wp 3.0 I found that its not working perfectly
Thesis Breaks WP 3.0+, Here’s The Fix | exclusiverumors.netfirms.com on August 1, 2010 9:07 pm
[...] http://www.geekestateblog.com/thesis-broke-my-wp-3-0/ [...]
dave fritz on August 6, 2010 4:38 pm
Great share. I've been using 3.0 on my sites and the transformation was flawless aside from the slight glitch in the dashboard. Hiding any reference to “codepress” took care of the glitch. I'm a strong believer in Thesis.
Menjalankan Thesis Theme di Wordpress 3.0 | ada2 saja on August 12, 2010 1:09 am
[...] Akhirnya nemu juga tutorialnya, ni tempatnya, baca aja langsung yak Thesis broke my WP 3.0 [...]