My WordPress links

Friday, January 26, 2007 around 10 am mountain

After upgrading to WordPress 2.1 yesterday afternoon, I thought I’d managed the leap to the newest version of one of the most successful blogging software packages without a single misstep.

Wrong. Not a single link was appearing on my site. Oddly, no MySQL or PHP errors were thrown; the template tags get_links() just weren’t rendering my list items.

Here’s the deal: Running upgrade.php moved all my link categories into the global category table and gave them new primary keys. Of course I didn’t even think about the category ids in my queries (why force this change in the DB without telling us?), but I soon realized what the problem was, and turned back to my templates, swapped out the old link category ids for the new global category ids, and voila!

Have your say

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>




Safari hates me