[wp-trac] [WordPress Trac] #45163: get_term_by() should accept ID as a field

WordPress Trac noreply at wordpress.org
Sat May 30 10:07:03 UTC 2020


#45163: get_term_by() should accept ID as a field
-------------------------------------------------+-------------------------
 Reporter:  emrikol                              |       Owner:
                                                 |  SergeyBiryukov
     Type:  enhancement                          |      Status:  reopened
 Priority:  normal                               |   Milestone:  5.5
Component:  Taxonomy                             |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests revert      |     Focuses:
  2nd-opinion                                    |
-------------------------------------------------+-------------------------

Comment (by SergeyBiryukov):

 In [changeset:"47870" 47870]:
 {{{
 #!CommitTicketReference repository="" revision="47870"
 Docs: Adjust the documentation for the new `ID` alias in `get_term_by()`
 for consistency with `get_user_by()`.

 Follow-up to [47865].

 See #45163.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45163#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list