Welcome to Raph Koster's personal website: MMOs, gaming, writing, art, music, books.
MiscOpen thread

WordPress 2.6 upgrade

July 15th, 2008

I am doing an upgrade to WordPress 2.6, don’t be surprised to see the blog broken for a bit.

Later:

OK, I think it’s done, and there seem to be no adverse effects. During the few minutes that it was defenseless, 7 spams came in. :)

And my Visual Editor conked out beforehand — the dreaded “visual editor just doesn’t work” bug that apparently plagues many. Sigh. Here’s what fixed it:

  • The upgrade, at least on my machine, put everything up with the wrong permissions. I set the wp_includes folder and all files under to 755.
  • I also deleted the contents of wp-content/uploads/js_cache

Apparently there are several things that cause this. So here’s some useful threads.

Oh, and you need to add captions to your existing theme if you want them styled right on the images. I found this, though I then started tweaking it. (See below).

Even later:

All my accented characters were broken, and it’s because the wp-config-sample.php file has utf8 for the DB_CHARSET, but my blog is old enough that all its tables were creates many versions ago when the default was latin1_ci_swedish. There’s no easy way to change the DB, so I fixed it by changing the DB_CHARSET in wp-config to just ”.

OK, now that caption stuff:

/* Captions & aligment */
.aligncenter, div.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}
.alignleft {
float: left;
}
.alignright {
float: right;
}
.wp-caption {
border: 1px solid #ddd;
text-align: center;
background-color: #f3f3f3;
padding-top: 4px;
margin: 10px;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}
.wp-caption img {
margin: 0;
padding: 0;
border: 0 none;
}
.wp-caption p.wp-caption-text {
font-size: 11px;
line-height: 17px;
padding: 0 4px 5px;
margin: 0;
}
/* End captions & aligment */

*

You can follow any responses to this entry through the RSS 2.0 feed. Responses are currently closed, but you can trackback from your own site.

Meta

Recent Comments

Categories

Tags

Recent Trackbacks

Archives



A Theory of Fun
for Game Design

Book cover for A Theory of Fun for Game Design, by Raph Koster

Press
Excerpts

Buy from Amazon

Twitter @raphkoster



The whole Web

Raph's Website

See popular posts »



After the Flood

After the Flood CD Cover

Available as MP3 download
$14.99


More stuff to buy

Power Gamer T-Shirt

Power Gamer
Ash Grey T-Shirt

$16.99


LegendMUD

click here to visit the Legend website

"The world the way they thought it was..."