WordPress.org

Make WordPress Core

Changeset 36487


Ignore:
Timestamp:
02/06/2016 10:55:41 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Login: In login_header(), use correct separator for RTL locales.

Props ramiy.
Fixes #35737.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-login.php

    r36341 r36487  
    5757        add_action( 'login_head', 'wp_shake_js', 12 );
    5858
     59    $separator = is_rtl() ? ' › ' : ' ‹ ';
     60
    5961    ?><!DOCTYPE html>
    6062    <!--[if IE 8]>
     
    6668    <head>
    6769    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    68     <title><?php bloginfo('name'); ?> &rsaquo; <?php echo $title; ?></title>
     70    <title><?php echo get_bloginfo( 'name', 'display' ) . $separator . $title; ?></title>
    6971    <?php
    7072
Note: See TracChangeset for help on using the changeset viewer.