diff --git a/wp-admin/includes/list-table-posts.php b/wp-admin/includes/list-table-posts.php index 9214162cf8..d2b9943e81 100644 --- a/wp-admin/includes/list-table-posts.php +++ b/wp-admin/includes/list-table-posts.php @@ -122,9 +122,9 @@ class WP_Posts_Table extends WP_List_Table { global $post_type_object; if ( isset( $_REQUEST['post_status'] ) && 'trash' == $_REQUEST['post_status'] ) - echo $post_type_object->labels->not_found_in_trash . '.'; + echo $post_type_object->labels->not_found_in_trash; else - echo $post_type_object->labels->not_found . '.'; + echo $post_type_object->labels->not_found; } function get_views() { @@ -313,7 +313,7 @@ class WP_Posts_Table extends WP_List_Table { function _display_rows( $posts ) { global $post, $mode; - add_filter( 'the_title','esc_html' ); + add_filter( 'the_title', 'esc_html' ); // Create array of post IDs. $post_ids = array(); diff --git a/wp-includes/post.php b/wp-includes/post.php index a1ea2e328f..7fb95180d9 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -1140,8 +1140,8 @@ function get_post_type_labels( $post_type_object ) { 'new_item' => array( __('New Post'), __('New Page') ), 'view_item' => array( __('View Post'), __('View Page') ), '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') ), + 'not_found' => array( __('No posts found.'), __('No pages found.') ), + 'not_found_in_trash' => array( __('No posts found in Trash.'), __('No pages found in Trash.') ), 'parent_item_colon' => array( null, __('Parent Page:') ) ); return _get_custom_object_labels( $post_type_object, $nohier_vs_hier_defaults );