Make WordPress Core

Ticket #34456: 34456.diff

File 34456.diff, 672 bytes (added by obenland, 9 years ago)
  • src/wp-includes/deprecated.php

     
    36623662 * @return string|null String on retrieve, null when displaying.
    36633663 */
    36643664function wp_title( $sep = '»', $display = true, $seplocation = '' ) {
    3665         _deprecated_function( __FUNCTION__, '4.4', 'add_theme_support( \'title-tag\' )' );
     3665        function display_wp_title_notice() {
     3666                _deprecated_function( 'wp_title', '4.4', 'add_theme_support( \'title-tag\' )' );
     3667        }
     3668        add_action( 'wp_footer', 'display_wp_title_notice' );
    36663669
    36673670        global $wp_locale;
    36683671