[wp-trac] [WordPress Trac] #35925: Filter for wp_get_object_terms() arguments

WordPress Trac noreply at wordpress.org
Sat Jul 1 15:38:14 UTC 2017


#35925: Filter for wp_get_object_terms() arguments
----------------------------------------------------+------------------
 Reporter:  enrico.sorcinelli                       |       Owner:
     Type:  enhancement                             |      Status:  new
 Priority:  normal                                  |   Milestone:  4.9
Component:  Taxonomy                                |     Version:  4.6
 Severity:  normal                                  |  Resolution:
 Keywords:  has-patch has-unit-tests needs-testing  |     Focuses:
----------------------------------------------------+------------------
Changes (by boonebgorges):

 * milestone:  4.8.1 => 4.9


Comment:

 @enrico.sorcinelli Thank you for updating this patch for 4.9.

 What do you think about moving the filter after the call to
 `wp_parse_args()`? This will simplify filter callbacks, since they'll
 always be able to expect arrays.

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


More information about the wp-trac mailing list