[wp-trac] [WordPress Trac] #18986: Link categories filter doesn't show all categories

WordPress Trac wp-trac at lists.automattic.com
Thu Oct 20 16:16:37 UTC 2011


#18986: Link categories filter doesn't show all categories
--------------------------+---------------------
 Reporter:  ocean90       |       Owner:  ryan
     Type:  defect (bug)  |      Status:  closed
 Priority:  high          |   Milestone:  3.3
Component:  Taxonomy      |     Version:  3.3
 Severity:  major         |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------

Comment (by SergeyBiryukov):

 Replying to [comment:8 duck_]:
 > In [19025] we check `post_type_exists( $object_type )` and then seem to
 assume all the objects are post types and implode them for `post_type IN`.
 I assume that `$object_type` is left over from the loop through
 `$object_types` and so is the last object type. What if one of the other
 ones is a link?

 Yeah, that's the exact problem I meant. Need to test this more thoroughly.

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


More information about the wp-trac mailing list