[wp-trac] [WordPress Trac] #54877: Occasional PHP exception being thrown on WPDB/MySQLi connections

WordPress Trac noreply at wordpress.org
Sat Apr 9 05:43:35 UTC 2022


#54877: Occasional PHP exception being thrown on WPDB/MySQLi connections
-------------------------------------------------+-------------------------
 Reporter:  johnjamesjacoby                      |       Owner:  (none)
     Type:  enhancement                          |      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                              |
-------------------------------------------------+-------------------------
Changes (by costdev):

 * keywords:  2nd-opinion has-patch => has-patch needs-testing needs-unit-
     tests 2nd-opinion


Comment:

 This ticket was discussed in the bug scrub. Here are some thoughts:

 - Despite touching WPDB, the patch seems safe as it eliminates invalid
 ports that shouldn't work anyway. - The nullable concern has been verified
 as an issue with PHP's documentation.
 - Per the discussion in the bug scrub, adding `needs-testing` and `needs-
 unit-tests`.

 @johnjamesjacoby do you have time to work on the unit tests in time for
 Beta 1 on Tuesday, April 12?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54877#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list