WordPress.org

Make WordPress Core

Changeset 43621


Ignore:
Timestamp:
09/03/2018 09:25:53 PM (12 months ago)
Author:
SergeyBiryukov
Message:

Docs: Correct param documentation for WP_Term_Query.

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

Props dlh.
Merges [43559] to the 4.9 branch.
Fixes #44608.

Location:
branches/4.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.9

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

    r43557 r43621  
    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, term, 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.