Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #54877


Ignore:
Timestamp:
01/21/2022 07:09:20 PM (4 years ago)
Author:
johnjamesjacoby
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #54877 – Description

    initial v1  
    8686* `wpdb::parse_db_host()` parses `$this->dbhost` looking for IPv4/IPv6, port number, sockets, etc...
    8787* `$this->dbhost` is gotten from `DB_HOST`
    88 * Casting `$post` to `(int)` when non-null will ensure `mysqli_real_connect()` will only ever see `null` or `int` type values
     88* Casting `$port` to `(int)` when non-null will ensure `mysqli_real_connect()` will only ever see `null` or `int` type values
    8989
    9090Something like: