[wp-trac] [WordPress Trac] #54877: Occasional PHP exception being thrown on WPDB/MySQLi connections
WordPress Trac
noreply at wordpress.org
Thu Apr 14 03:21:37 UTC 2022
#54877: Occasional PHP exception being thrown on WPDB/MySQLi connections
-------------------------------------------------+-------------------------
Reporter: johnjamesjacoby | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.0
Component: Database | Version: 1.5
Severity: normal | Resolution:
Keywords: has-patch needs-testing needs-unit- | Focuses:
tests 2nd-opinion |
-------------------------------------------------+-------------------------
Comment (by peterwilsoncc):
Replying to [comment:18 costdev]:
> I think this docs issue is unlikely to lead to a change in PHP source.
There are open issues for other pages where nullable parameters aren't
shown as such.
Thanks.
----
I threw JJJ's [https://github.com/WordPress/wordpress-develop/pull/2583
patch up on GitHub] to get the tests running. It looks like the only tests
that are failing are in `Tests_DB::test_parse_db_host` for a quite
expected reason: type errors.
On #41722 I can't see any discussion as to why the port was passed around
as a string, so I suspect an oversight.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54877#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list