WordPress.org

Make WordPress Core

Ticket #26869: 26869-25284.diff

File 26869-25284.diff, 939 bytes (added by DrewAPicture, 4 years ago)

wp-includes/wp-db.php [25284]

  • src/wp-includes/wp-db.php

     
    703703                 *
    704704                 * @see wpdb::$incompatible_modes
    705705                 *
    706                  * @param array $incompatible_modes An array of incompatible modes
     706                 * @param array $incompatible_modes An array of incompatible modes.
    707707                 */
    708708                $incompatible_modes = (array) apply_filters( 'incompatible_sql_modes', $this->incompatible_modes );
    709709
     
    13381338                /**
    13391339                 * Filter the database query.
    13401340                 *
    1341                  * Some queries are made before the plugins have been loaded, and thus cannot be filtered with this method.
     1341                 * Some queries are made before the plugins have been loaded,
     1342                 * and thus cannot be filtered with this method.
    13421343                 *
    13431344                 * @since 2.1.0
     1345                 *
    13441346                 * @param string $query Database query.
    13451347                 */
    13461348                $query = apply_filters( 'query', $query );