Make WordPress Core


Ignore:
Timestamp:
05/11/2010 07:52:50 PM (14 years ago)
Author:
nbachiyski
Message:

I18n for custom post type labels. Props demetris, dimadin. Fixes #12968

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/post-new.php

    r14107 r14571  
    2727$post_type_object = get_post_type_object($post_type);
    2828
    29 $title = sprintf(__('Add New %s'), $post_type_object->singular_label);
     29$title = $post_type_object->labels->add_new_item;
    3030
    3131$editing = true;
Note: See TracChangeset for help on using the changeset viewer.