wpdb issue
-
I created a plugin that uses a different database than the default wp database. So I say:
$newwpdb = new wpdb(connection settings here)
It all work fine but then I have plugins that call mysql_query() without a connection setting and this seams to use the $newwpdb I set above in a different plugin rather than global $wpdb.
Is that as expected? Any suggestion as to how I can prevent that?
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘wpdb issue’ is closed to new replies.