[wp-trac] [WordPress Trac] #20678: Custom post type 'name' is slug instead of plural label

WordPress Trac wp-trac at lists.automattic.com
Mon May 14 22:56:49 UTC 2012


#20678: Custom post type 'name' is slug instead of plural label
--------------------------+----------------------
 Reporter:  thomask       |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |     Version:  3.4
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |
--------------------------+----------------------
Changes (by scribu):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 You're comparing apples to oranges:

 * post type archive -> custom post type object
 * taxonomy archive -> term object (not taxonomy object)

 If we had such a thing as taxonomy archives (#17567), 'name' would be the
 taxonomy slug, as expected.

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


More information about the wp-trac mailing list