[wp-trac] [WordPress Trac] #19094: Add wp_get_object_terms filters.

WordPress Trac noreply at wordpress.org
Sat Jan 10 18:49:13 UTC 2015

#19094: Add wp_get_object_terms filters.
 Reporter:  Zatsugami              |       Owner:
     Type:  enhancement            |      Status:  closed
 Priority:  normal                 |   Milestone:
Component:  Taxonomy               |     Version:  3.2.1
 Severity:  normal                 |  Resolution:  wontfix
 Keywords:  has-patch 2nd-opinion  |     Focuses:
Changes (by boonebgorges):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Future Release =>


 Thanks for the ticket, Zatsugami, and sorry for the delay in response.

 Filtering SQL clauses is something we're loath to do except when
 absolutely necessary, as it makes it very difficult for us to make future
 changes to the queries involved without breaking backward compatibility.
 As you note, in your case it's possible to use the 'wp_get_object_terms'
 array to do what you need, and I'd guess that the same is true for the
 majority of potential use cases, which suggests that the SQL filter is

 I'm glad to be overruled in the case of overwhelming evidence to the
 contrary, but for the time being, I'm going to mark this one wontfix.

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

More information about the wp-trac mailing list