Make WordPress Core

Changes between Initial Version and Version 4 of Ticket #54534


Ignore:
Timestamp:
11/29/2021 07:23:57 PM (3 years ago)
Author:
SergeyBiryukov
Comment:

Corrected the ticket number in the description.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #54534 – Description

    initial v4  
    1 Since #27160 `get_term_by()` uses `get_terms()`.
     1Since #21760 `get_term_by()` uses `get_terms()`.
    22
    33`get_term_by()` term query arguments are thus already filterable with the filter `get_terms_args`. However it's difficult to detect whether the arguments passed to the filter come from a call to `get_term_by()` or directly from a more generic call to `get_terms()`.