Make WordPress Core

Ticket #41722: 41722-sockets-fix.diff

File 41722-sockets-fix.diff, 339 bytes (added by markjaquith, 6 years ago)
  • src/wp-includes/wp-db.php

     
    16271627                        }
    16281628                }
    16291629
     1630                if ( empty( $port ) ) {
     1631                        $port = null;
     1632                }
     1633
    16301634                return array( $host, $port, $socket, $is_ipv6 );
    16311635        }
    16321636