In `WP_Tax_Query`, declare `$primary_table` and `$primary_id_column` as properties.
See #30224. Built from https://develop.svn.wordpress.org/trunk@30184 git-svn-id: http://core.svn.wordpress.org/trunk@30184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2750f0cec7
commit
a587ebc946
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.1-alpha-30183';
|
||||
$wp_version = '4.1-alpha-30184';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue