[wp-trac] [WordPress Trac] #23530: Attachment taxonomies, $term->count not working

WordPress Trac noreply at wordpress.org
Tue Feb 19 15:13:32 UTC 2013


#23530: Attachment taxonomies, $term->count not working
--------------------------+------------------------------
 Reporter:  paddelboot    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by paddelboot):

 Of course last line should be:

 $non_empty_directories = get_terms( 'attachment_directories', $args );

 instead of:

 $non_empty_directories = get_terms( 'attachment_directories', $args3 );

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


More information about the wp-trac mailing list