Changing wp_posts to {$table_prefix}posts