Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #51988, comment 21


Ignore:
Timestamp:
02/19/2023 08:03:19 PM (22 months ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #51988, comment 21

    initial v1  
    33> [attachment:"51988.alt.diff"] is an alternative patch which checks if either `mysqli_connect()` or `mysql_connect()` function exists, and returns early
    44
    5 Imho this is the better solution. Was trying to figure out if `extension_loaded( 'mysqli' )` is 100% identical to `function_exists( 'mysqli_connect' )` (`mysqli_connect()` is an alias of `mysqli::__construct()`) but couldn't find any discrepancies. Perhaps commit this patch and see if any possibly related errors are reported during beta/RC testing.
     5Imho this is the better solution. Was trying to figure out if `extension_loaded( 'mysqli' )` is 100% identical to `function_exists( 'mysqli_connect' )` (`mysqli_connect()` is an alias of `mysqli::__construct()`) but couldn't find any discrepancies. Perhaps commit this patch and see if any possibly related errors are reported during testing.