Make WordPress Core

Ticket #40812: 40812-document_title_separator-New.patch

File 40812-document_title_separator-New.patch, 706 bytes (added by nishitlangaliya, 8 years ago)

Fixes #40812 using document_title_separator

  • wp-login.php

     
    5454
    5555        if ( $shake_error_codes && $wp_error->get_error_code() && in_array( $wp_error->get_error_code(), $shake_error_codes ) )
    5656                add_action( 'login_head', 'wp_shake_js', 12 );
     57       
     58        /** This filter is documented in wp-includes/general-template.php */
     59        $separator = ' ' . apply_filters( 'document_title_separator', '–' ) . ' ';
    5760
    58         $separator = is_rtl() ? ' › ' : ' ‹ ';
    59 
    6061        ?><!DOCTYPE html>
    6162        <!--[if IE 8]>
    6263                <html xmlns="http://www.w3.org/1999/xhtml" class="ie8" <?php language_attributes(); ?>>