Wordpress/tests
Gary Pendergast 0e5b75b8be Database: When parsing the host, leave the port and socket as null if they're not defined.
This fixes a change in behaviour introduced by [41629].

The host is set to an empty string when it isn't defined, this continues existing behaviour. In particular, the mysqli library treats a `null` host as being the same as `localhost`, which is not always the intended behaviour.

Props birgire, markjaquith, pento.
Fixes #41722.



git-svn-id: https://develop.svn.wordpress.org/trunk@41820 602fd350-edb4-49c9-b593-d223f7449a82
2017-10-11 00:09:47 +00:00
..
phpunit Database: When parsing the host, leave the port and socket as null if they're not defined. 2017-10-11 00:09:47 +00:00
qunit Customize: Fix QUnit tests after failures introduced in [41768]. 2017-10-05 04:22:09 +00:00