[wp-trac] [WordPress Trac] #16172: No label property for post_format taxonomy.

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 10 08:47:58 UTC 2011


#16172: No label property for post_format taxonomy.
--------------------------+------------------------------
 Reporter:  mfields       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Taxonomy      |     Version:  3.1
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |
--------------------------+------------------------------

Comment (by SergeyBiryukov):

 There are empty values in `create_initial_taxonomies()` for some reason:
 {{{
 register_taxonomy( 'post_format', 'post', array(
         'public' => true,
         'hierarchical' => false,
         'labels' => array(
                 'name' => '',
                 'singular_name' => '',
         ),
 }}}
 Patch included. However though “Format” is an existing string, “Formats”
 isn't. Not sure if we should use singular name for both fields. Perhaps
 this is the second actual `i18n-change`?

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


More information about the wp-trac mailing list