[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:45:59 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):

 duck_ pointed out that, of course, array_search() needs to be checked
 against false in case the attachments index is 0. Slight tweak removes the
 boolean cast and does a cheeky `$check_attachments = false !==
 $check_attachments;` to cast it to a boolean.

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


More information about the wp-trac mailing list