From 855bc34ad923e29f19db9ca586c528ade34d982d Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 25 May 2010 19:25:27 +0000 Subject: [PATCH] Remove unused/duplicated/undocumented post type object label. see #13539 git-svn-id: https://develop.svn.wordpress.org/trunk@14903 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/post.php | 1 - 1 file changed, 1 deletion(-) diff --git a/wp-includes/post.php b/wp-includes/post.php index 12c33cf935..72a7371261 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -951,7 +951,6 @@ function get_post_type_labels( $post_type_object ) { 'search_items' => array( __('Search Posts'), __('Search Pages') ), 'not_found' => array( __('No posts found'), __('No pages found') ), 'not_found_in_trash' => array( __('No posts found in Trash'), __('No pages found in Trash') ), - 'view' => array( __('View Post'), __('View Page') ), 'parent_item_colon' => array( null, __('Parent Page:') ) ); return _get_custom_object_labels( $post_type_object, $nohier_vs_hier_defaults );