Index: src/wp-includes/formatting.php
===================================================================
--- src/wp-includes/formatting.php	(revision 25973)
+++ src/wp-includes/formatting.php	(working copy)
@@ -3327,7 +3327,8 @@
  */
 function capital_P_dangit( $text ) {
 	// Simple replacement for titles
-	if ( 'the_title' === current_filter() )
+	$current_filter = current_filter();
+	if ( 'the_title' === $current_filter || 'wp_title' === $current_filter )
 		return str_replace( 'Wordpress', 'WordPress', $text );
 	// Still here? Use the more judicious replacement
 	static $dblq = false;
