Index: /trunk/src/wp-includes/theme.php
===================================================================
--- /trunk/src/wp-includes/theme.php (revision 30786)
+++ /trunk/src/wp-includes/theme.php (revision 30787)
@@ -1616,5 +1616,7 @@
// Can be called in functions.php but must happen before wp_loaded, i.e. not in header.php.
if ( did_action( 'wp_loaded' ) ) {
- _doing_it_wrong( "add_theme_support( 'title-tag' )", sprintf( _x( 'You need to add theme support before %s.', 'action name' ), 'wp_loaded
' ), '4.1.0' );
+ /* translators: 1: Theme support 2: hook name */
+ _doing_it_wrong( "add_theme_support( 'title-tag' )", sprintf( __( 'Theme support for %1$s should be registered before the %2$s hook.' ),
+ 'title-tag
', 'wp_loaded
' ), '4.1' );
return false;