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/


_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers

Reply via email to