Make WordPress Core

Changeset 30184


Ignore:
Timestamp:
11/03/2014 03:44:54 AM (10 years ago)
Author:
wonderboymusic
Message:

In WP_Tax_Query, declare $primary_table and $primary_id_column as properties.

See #30224.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/taxonomy.php

    r30141 r30184  
    681681     */
    682682    public $queried_terms = array();
     683
     684    /**
     685     * Database table that where the metadata's objects are stored (eg $wpdb->users).
     686     *
     687     * @since 4.1.0
     688     * @access public
     689     * @var string
     690     */
     691    public $primary_table;
     692
     693    /**
     694     * Column in primary_table that represents the ID of the object.
     695     *
     696     * @since 4.1.0
     697     * @access public
     698     * @var string
     699     */
     700    public $primary_id_column;
    683701
    684702    /**
Note: See TracChangeset for help on using the changeset viewer.