WordPress.org

Make WordPress Core

Ticket #37922: 37922.patch

File 37922.patch, 574 bytes (added by johnjamesjacoby, 5 years ago)

Add

  • src/wp-includes/class-wp-site-query.php

    diff --git src/wp-includes/class-wp-site-query.php src/wp-includes/class-wp-site-query.php
    index 1836ab1..956a1dd 100644
     
    3535        protected $sql_clauses = array(
    3636                'select'  => '',
    3737                'from'    => '',
     38                'join'    => '',
    3839                'where'   => array(),
    3940                'groupby' => '',
    4041                'orderby' => '',
     
    517518                }
    518519
    519520                $where = implode( ' AND ', $this->sql_clauses['where'] );
     521                $join = '';
    520522
    521523                $pieces = array( 'fields', 'join', 'where', 'orderby', 'limits', 'groupby' );
    522524