mirror of
https://github.com/PostgreSQL-For-Wordpress/postgresql-for-wordpress.git
synced 2026-01-26 00:12:18 +01:00
Although calling wpsql_select_db from wpsql_connect did set the connection globally, it also caused early clearing of the connection string when WP_INSTALLING is defined and ran queued early SQL commands before select is called by external code (which was dubious). Revert it, but keep using the best guess at the database name, since this often saves a connection. Signed-off-by: Kevin Locke <kevin@kevinlocke.name>