[wp-trac] [WordPress Trac] #21856: Hide category selection when no posts are available

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 10 14:33:56 UTC 2012


#21856: Hide category selection when no posts are available
-------------------------------------+------------------------------
 Reporter:  CoenJacobs               |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Administration           |     Version:  3.1
 Severity:  normal                   |  Resolution:
 Keywords:  ui-feedback ux-feedback  |
-------------------------------------+------------------------------

Comment (by CoenJacobs):

 Replying to [comment:2 nofearinc]:
 > Related to this, the
 [http://codex.wordpress.org/Function_Reference/get_terms get_terms]
 function returns only taxonomy terms with some posts inside unless
 hide_empty is assigned a true value.
 No, not related. This is on the edit.php screen, where there is also a
 category selection element. This does not hide when there are no posts but
 shows categories regardless if they hold posts.

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


More information about the wp-trac mailing list