src/Connection.php
protected function prepareQuery( $query, array $bindings ) {
		if ( false !== strpos( $query, '%' ) && count( $bindings ) > 0 ) {
			// @codingStandardsIgnoreLine
			$query = $this->wpdb->prepare( $query, $this->prepareBindings( $bindings ) );
		}

		return $query;
	}
protected function prepareQuery( $query, array $bindings ) {
		if ( false !== strpos( $query, '%' ) && count( $bindings ) > 0 ) {
			// @codingStandardsIgnoreLine
			$query = $this->wpdb->prepare( $query, $this->prepareBindings( $bindings ) );
		}

		return $query;
	}
protected function prepareQuery ( $ query , array $ bindings ) { if ( false !== strpos ( $ query , '%' ) && count ( $ bindings ) > 0 ) { // @codingStandardsIgnoreLine $ query = $ this -> wpdb -> prepare ( $ query , $ this -> prepareBindings ( $ bindings ) ) ; } return $ query ; }
Prepares a SQL query for safe execution.

@param string $query
@param array  $bindings

@return string
Prepares a SQL query for safe execution .