Wordpress 2.3 / Google Sitemap Plugin Bug
Just upgraded about 10 blogs this morning to Wordpress 2.3. So far it’s another brilliant release from the Wordpress guys. Not sure how they keep doing it, but they do.
Just wanted to give everyone a heads up and hopefully save you some time if you are using the Google Sitemap Plugin (which everyone should be using:). You need to make sure you have the latest version here: http://downloads.wordpress.org/plugin/google-sitemap-generator.3.0.zip
If you have an older version that is incompatible with WP 2.3, you will get an error whenever you try to post. You will be able to type the post and after you hit submit, you will get the error (or something similar):
WordPress database error: [Table 'mydatabase.wp_post2cat' doesn't exist] SELECT cat_ID AS ID, MAX(post_modified) AS last_mod FROM wp_posts p LEFT JOIN wp_post2cat pc ON p.ID = pc.post_id LEFT JOIN wp_categories c ON pc.category_id = c.cat_ID WHERE post_status = 'publish' GROUP BY cat_ID
The weird part is that the post will actually work and be visible on your blog, but this is obviously a very annoying feature that you will be much better off fixing now. Good Luck!
A Semi-Coherent Rant On Originality and Ethics On The Web
As a web developer and designer, I take a lot of pride in coming up with something innovative, attractive, and useful for my clients and users. I spent countless hours tweaking and perfecting even the smallest aspect of anything I do.
So you can understand that there’s nothing worse than browsing the web, only to find someone has blatantly ripped off your hard work. Not bits and pieces of it (which I have no problem with and actually encourage), but literally viewing your source code and copy and pasting the entire thing into their own website. With no mention of your name or linkback.
I’ve been developing websites, on one level or another, for close to 10 years. I’ve heard many stories of people getting their work copied and then passed off as another’s, but I’ve never had it happen to me…until today.
IE6 Adding Extra Space Between Navigation Lists
So I’m working on a new template for Wordpress and thought I was done…until I checked it in Internet Explorer 6.
I was using an unordered list to do my navigation, which means my CSS code looked something like this
#sidebar ul {
list-style: none;
margin: 0 0 20px 0;
padding: 0;
}
#sidebar ul li {
display: block;
margin:0;
padding:0
}
#sidebar li{
list-style: none;
}
#sidebar ul li a {
color: #046380;
display: block;
text-decoration: none !important;
margin-left: 0px;
padding: 5px;
}
#sidebar ul li a:hover {
color: #efefef !important;
background-color: #046380;
}
And my HTML like this:
<ul><?php wp_get_archives(‘type=monthly’); ?></ul>
Nothing special here, just a regular ul displayed as block and with a different colored background on hover used to display my WP archives.
The problem was that in IE6 some of the lists were displayed correctly and some were getting extra space added for no reason (below).



