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!












No comments
Jump to comment form | Comments RSS | Trackback URI