[wp-trac] [WordPress Trac] #21240: Ability to "Turn On" Native custom columns for registered custom taxonomies

WordPress Trac wp-trac at lists.automattic.com
Sat Sep 8 10:34:16 UTC 2012


#21240: Ability to "Turn On" Native custom columns for registered custom taxonomies
-------------------------+-----------------------
 Reporter:  jtsternberg  |       Owner:  nacin
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:  3.5
Component:  Taxonomy     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+-----------------------
Changes (by ocean90):

 * keywords:  2nd-opinion has-patch => has-patch
 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Replying to [comment:26 nacin]:
 > Also, my patches change "No Tags" to a simple em-dash. It avoids
 introducing a new string for the taxonomy object and, I think, cleans up
 the screen a bit.
 >
 > For categories, it still says "Uncategorized" — eventually, we'll remove
 the one-category requirement and maybe rip that out.

 I think we can remove the "Uncategorized" part. Currently a post will
 always have the default category (#14901, #11576). So `get_the_terms(
 $post->ID, 'category')` will always return a term. And because it's
 possible to rename the default category it's not always "Uncategorized".

 And if get_the_terms( $post->ID, 'category')` returns nothing, then
 somebody probably has removed the default category successfully and we
 should respect it.

 [attachment:21240.9.patch] does address this.

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


More information about the wp-trac mailing list