WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/01/2010 08:14:26 PM (12 years ago)
Author:
markjaquith
Message:

Use correct post type label in a few key places.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form-advanced.php

    r13710 r13916  
    108108
    109109if ( current_theme_supports( 'post-thumbnails', $post_type ) && post_type_supports($post_type, 'thumbnail') )
    110     add_meta_box('postimagediv', __('Post Thumbnail'), 'post_thumbnail_meta_box', $post_type, 'side', 'low');
     110    add_meta_box('postimagediv', sprintf( __('%s Thumbnail'), $post_type_object->singular_label ), 'post_thumbnail_meta_box', $post_type, 'side', 'low');
    111111
    112112if ( post_type_supports($post_type, 'excerpt') )
Note: See TracChangeset for help on using the changeset viewer.