Make WordPress Core

Changeset 43559


Ignore:
Timestamp:
08/08/2018 07:22:39 PM (6 years ago)
Author:
boonebgorges
Message:

Correct param documentation for WP_Term_Query.

The description of $meta_type introduced in [40053] was incorrect.

Props dlh.
Fixes #44608.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-term-query.php

    r43491 r43559  
    173173     *     @type string       $meta_value             Limit terms to those matching a specific metadata value.
    174174     *                                                Usually used in conjunction with `$meta_key`. Default empty.
    175      *     @type string       $meta_type              Type of object metadata is for (e.g., comment, post, or user).
    176      *                                                Default empty.
     175     *     @type string       $meta_type              MySQL data type that the `$meta_value` will be CAST to for
     176     *                                                comparisons. Default empty.
    177177     *     @type string       $meta_compare           Comparison operator to test the 'meta_value'. Default empty.
    178178     * }
Note: See TracChangeset for help on using the changeset viewer.