Make WordPress Core

Ticket #54877: 54877.patch

File 54877.patch, 295 bytes (added by johnjamesjacoby, 4 years ago)
  • src/wp-includes/wp-db.php

     
    18921892                        }
    18931893                }
    18941894
     1895                // MySQLi port cannot be a string; must be null or an integer.
     1896                $port = $port ? absint( $port ) : null;
     1897
    18951898                return array( $host, $port, $socket, $is_ipv6 );
    18961899        }
    18971900