Plugins easily break wp-db.php - one line patch fixes the problem
|Reported by:||mark8barnes||Owned by:|
|Component:||General||Keywords:||wp-db, has-patch, needs-testing|
Plugins that use the mysql_select_db() function without a link identifier can break wp-db.php as wp-db.php assumes that the table will not change during the running of the script.
The simple fix is to reselect the WP table using mysql_select_db(DB_NAME) before running @mysql_query on line 608 of wp-db.php