[wp-trac] [WordPress Trac] #18106: get_terms of posts in a specific post_type

WordPress Trac wp-trac at lists.automattic.com
Fri Oct 7 02:19:52 UTC 2011


#18106: get_terms of posts in a specific post_type
-----------------------------+------------------------------
 Reporter:  braydonf         |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Taxonomy         |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+------------------------------

Comment (by Bjorn2404):

 I was looking to do the same thing - it would be nice if this was a built-
 in function. I couldn't get your function to work exactly as you have it
 above. Maybe when you copied it in some quotes were added or changed. The
 INs in the WHERE clause seemed to be causing issues. I think your back
 quotes might have turned into regular quotes. I think I have it working
 correctly.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18106#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list