Introduce 'singular_label' for Post Types. Props scribu. See #12214
git-svn-id: http://svn.automattic.com/wordpress/trunk@13101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -195,7 +195,7 @@ case 'edit':
|
||||
wp_enqueue_script('autosave');
|
||||
}
|
||||
|
||||
$title = sprintf(__('Edit %s'), $post_type_object->label);
|
||||
$title = sprintf(__('Edit %s'), $post_type_object->singular_label);
|
||||
$post = get_post_to_edit($post_id);
|
||||
|
||||
include('edit-form-advanced.php');
|
||||
|
||||
Reference in New Issue
Block a user