I have the reblog plugin set up to post all entries that get reblogged into a specific category, however since I upgraded to 2.3, all the entries I post are defaulting to "uncategorized" even though I have my specific category for these entries also as the default category for all normal entries.
I hope that made sense.
Anyway, I reckon I've identified the bit of the plug-in that's causing the problem and I'm kind of aware that some of the stuff that's wrong is due to changes in 2.1 AND 2.3.
// pick a category, any category
$q = sprintf("INSERT IGNORE INTO <code>{$GLOBALS['tablepost2cat)']}</code>
(post_id, category_id)
VALUES ('%s', '2')",
mysql_real_escape_string($post->id));
Now, I know that tablepost2cat should have been replaced by wpdb->post2cat and that this should be replaced by wpdb->term_relationships , but is that it? Am I missing something vitally important that will make the reblog plugin work again?
Thanks