[wp-testers] svn 4005 killed 3 plugins

Mark Jaquith mark.wordpress at txfx.net
Tue Jul 11 10:05:07 GMT 2006


On Jul 11, 2006, at 5:45 AM, Scott Jarkoff wrote:

> If someone could kindly explain the basics of what needs to be fixed
> in order to get, say, Brian's Latest Comments working then I will
> gladly take a look at the code.

The following replacements need to be made:

$tableposts 					=> $wpdb->posts
$tableusers 					=> $wpdb->users
$tablecategories 				=> $wpdb->categories
$tablepost2cat 				=> $wpdb->post2cat
$tablecomments 				=> $wpdb->comments
$tablelink2cat 				=> $wpdb->link2cat
$tablelinks 					=> $wpdb->links
$tablelinkcategories 			=> $wpdb->linkcategories
$tableoptions 				=> $wpdb->options
$tablepostmeta				=> $wpdb->postmeta

You must make sure that $wpdb is declared global.

--
Mark Jaquith
http://txfx.net/




More information about the wp-testers mailing list