Make WordPress Core


Ignore:
Timestamp:
10/09/2018 06:08:03 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.
Merges [43559] to the 5.0 branch.
Fixes #44608.

Location:
branches/5.0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0

  • branches/5.0/src/wp-includes/class-wp-term-query.php

    r43492 r43689  
    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.