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
This commit is contained in:
Scott Taylor 2014-11-03 03:44:54 +00:00
parent 4c74c4a298
commit 152e977a6b
1 changed files with 18 additions and 0 deletions

View File

@ -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.
*