[wp-trac] [WordPress Trac] #31174: The get_terms() argument "fields" renders "get_terms_fields" & "terms_clauses" filter callbacks useless

WordPress Trac noreply at wordpress.org
Fri Feb 20 20:54:46 UTC 2015


#31174: The get_terms() argument "fields" renders "get_terms_fields" &
"terms_clauses" filter callbacks useless
--------------------------+-------------------
 Reporter:  F J Kaiser    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.2
Component:  Taxonomy      |     Version:  4.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+-------------------
Changes (by boonebgorges):

 * keywords:  needs-patch => has-patch
 * milestone:  Awaiting Review => 4.2


Comment:

 In [attachment:31174.diff], I remove the bit about the filter from the
 function docblock, and I add some additional info to the hook
 documentation explaining the issue (and discouraging use of the hook). @F
 J Kaiser, what do you think?

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


More information about the wp-trac mailing list