diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index ca9f3b37d..33f8b94e5 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -448,6 +448,10 @@ function wp_title($sep = '»', $display = true, $seplocation = '') { $title = "$tax $sep $term"; } + if ( is_404() ) { + $title = __('Page not found'); + } + $prefix = ''; if ( !empty($title) ) $prefix = " $sep ";