From 152e977a6be5ad72457309a1e5402a891bf8ce44 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Mon, 3 Nov 2014 03:44:54 +0000 Subject: [PATCH] In `WP_Tax_Query`, declare `$primary_table` and `$primary_id_column` as properties. See #30224. git-svn-id: https://develop.svn.wordpress.org/trunk@30184 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/taxonomy.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/wp-includes/taxonomy.php b/src/wp-includes/taxonomy.php index 44307fae60..b1da6f109f 100644 --- a/src/wp-includes/taxonomy.php +++ b/src/wp-includes/taxonomy.php @@ -681,6 +681,24 @@ class WP_Tax_Query { */ public $queried_terms = array(); + /** + * Database table that where the metadata's objects are stored (eg $wpdb->users). + * + * @since 4.1.0 + * @access public + * @var string + */ + public $primary_table; + + /** + * Column in primary_table that represents the ID of the object. + * + * @since 4.1.0 + * @access public + * @var string + */ + public $primary_id_column; + /** * Constructor. *