futtta's blog

Frank Goossens' Twitterless twaddle

WordPress 2.6 svn-upgrade; ouch!

with one comment

WordPress 2.6 has been pushed out the door at Automattic and it contains some exiting new goodies as usual. So I fired up my trusty upgrade script, but got an ugly php-error when accessing the database update-pages:

Parse error: syntax error, unexpected T_SL in wp-includes/widgets.php on line 464

Turns out that the wp_widget_search-function in wp-includes/widgets.php included some remnants of an SVN-merge. Don’t know if it was a sync problem at my side or if the faulty code was on the SVN-server (it isn’t now), but I ended up copy/pasting the correct function from a fresh tar-ball I downloaded.

Share this:
  • Digg
  • del.icio.us
  • Facebook
  • Google Reader & Buzz
  • LinkedIn
  • Twitter
  • FriendFeed
  • Posterous
  • StumbleUpon
  • Tumblr
Possibly related twitterless twaddle:

Written by frank

July 15th, 2008 at 1:09 pm

One Response to “WordPress 2.6 svn-upgrade; ouch!”

  1. frank

    4 Aug 08 at 13:21

    almost forgot; the search-widget in wp-includes/widgets.php from the tarball seems to have a label with css-class hidden

    but .hidden did not exist in my theme’s css. if you encounter this problem, just add

    .hidden {
    visibility:hidden;
    display:none;
    }

    to your theme’s css-file and all should be well.

Leave a Reply