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

WordPress Trac wp-trac at lists.automattic.com
Fri Oct 21 00:52:45 UTC 2011


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

Comment (by nacin):

 Sergey, I thought about the approach in [attachment:18986.4.patch] as
 well, but the moment that else gets triggered along with either the if or
 the elseif, the counts get out of whack, as it isn't bound like the
 previous queries and a lot gets double-counted.

 Granted, this situation will occur infrequently (as I argued above), but I
 think it would be better if we split these into two callbacks. (Especially
 since someone's custom taxonomy may wish to leverage the existing generic
 callback.)

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


More information about the wp-trac mailing list