Make WordPress Core

Ticket #40812: 40812-document_title_separator.patch

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

Fixed-40812 using document_title_separator filter

  • src/wp-login.php

     
    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 );
    5757
    58         $separator = is_rtl() ? ' › ' : ' ‹ ';
     58        $separator = ' ' . apply_filters( 'document_title_separator', '-' ) . ' ';
    5959
    6060        ?><!DOCTYPE html>
    6161        <!--[if IE 8]>