[wp-trac] [WordPress Trac] #33369: Cannot intelligently target using the `get_terms_args` filter

WordPress Trac noreply at wordpress.org
Wed Aug 26 02:33:35 UTC 2015


#33369: Cannot intelligently target using the `get_terms_args` filter
-----------------------------------+------------------------------
 Reporter:  johnjamesjacoby        |       Owner:
     Type:  feature request        |      Status:  new
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  Taxonomy               |     Version:  2.2
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:
-----------------------------------+------------------------------

Comment (by TimothyBlynJacobs):

 I really don't like this for the same reason knutsp.

 Whether or not I've explicitly passed a parameter, should not have any
 effect on the output. We commonly rely on the defaults being the defaults.
 Excluding a default parameter from the args I'm passing to the function is
 not an implicit waiver that I don't care about that arg. I'm merely trying
 to make my code more sane, and not the list 20 or so default arguments to
 a function whenever I call it.

 This seems a lot like #22673.

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


More information about the wp-trac mailing list