mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Coding Standards: Wrap the $this->request property in wp-includes/class-wp-*-query.php.
This aims to improve readability by fitting the values on a single screen to avoid horizontal scrolling. See #54728. git-svn-id: https://develop.svn.wordpress.org/trunk@52973 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -722,7 +722,16 @@ class WP_Term_Query {
|
||||
$this->sql_clauses['orderby'] = $orderby ? "$orderby $order" : '';
|
||||
$this->sql_clauses['limits'] = $limits;
|
||||
|
||||
$this->request = "{$this->sql_clauses['select']} {$this->sql_clauses['from']} {$where} {$this->sql_clauses['orderby']} {$this->sql_clauses['limits']}";
|
||||
$this->request = implode(
|
||||
' ',
|
||||
array(
|
||||
$this->sql_clauses['select'],
|
||||
$this->sql_clauses['from'],
|
||||
$where,
|
||||
$this->sql_clauses['orderby'],
|
||||
$this->sql_clauses['limits'],
|
||||
)
|
||||
);
|
||||
|
||||
$this->terms = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user