[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
Thu Mar 19 07:45:51 UTC 2015


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

 * keywords:  has-patch => has-patch needs-codex


Comment:

 Replying to [comment:5 boonebgorges]:
 > 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?

 Looks good for me. Thanks for the patch and your effort.

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


More information about the wp-trac mailing list