WordPress.org

Make WordPress Core

Changeset 28657


Ignore:
Timestamp:
06/04/2014 05:00:00 AM (7 years ago)
Author:
DrewAPicture
Message:

Mark the MYSQL_NEW_LINK constant as deprecated in 3.9+ as no equivalent to the $new_link parameter exists in mysqli_* functions.

Fixes #27933.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/wp-db.php

    r28526 r28657  
    13151315        $this->is_mysql = true;
    13161316
     1317        /*
     1318         * Deprecated in 3.9+ when using MySQLi. No equivalent
     1319         * $new_link parameter exists for mysqli_* functions.
     1320         */
    13171321        $new_link = defined( 'MYSQL_NEW_LINK' ) ? MYSQL_NEW_LINK : true;
    13181322        $client_flags = defined( 'MYSQL_CLIENT_FLAGS' ) ? MYSQL_CLIENT_FLAGS : 0;
Note: See TracChangeset for help on using the changeset viewer.