Changeset 30787
- Timestamp:
- 12/08/2014 04:05:34 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/theme.php
r30672 r30787 1616 1616 // Can be called in functions.php but must happen before wp_loaded, i.e. not in header.php. 1617 1617 if ( did_action( 'wp_loaded' ) ) { 1618 _doing_it_wrong( "add_theme_support( 'title-tag' )", sprintf( _x( 'You need to add theme support before %s.', 'action name' ), '<code>wp_loaded</code>' ), '4.1.0' ); 1618 /* translators: 1: Theme support 2: hook name */ 1619 _doing_it_wrong( "add_theme_support( 'title-tag' )", sprintf( __( 'Theme support for %1$s should be registered before the %2$s hook.' ), 1620 '<code>title-tag</code>', '<code>wp_loaded</code>' ), '4.1' ); 1619 1621 1620 1622 return false;
Note: See TracChangeset
for help on using the changeset viewer.