Make WordPress Core

Changeset 37963


Ignore:
Timestamp:
07/05/2016 11:31:13 AM (8 years ago)
Author:
ocean90
Message:

Customize: Add a RTL version of "browser.png" for the site icon preview.

Props sidati.
Fixes #37063.

Location:
trunk/src
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/customize/class-wp-customize-site-icon-control.php

    r37724 r37963  
    6565                    <div class="site-icon-preview">
    6666                        <div class="favicon-preview">
    67                             <img src="<?php echo esc_url( admin_url( 'images/browser.png' ) ); ?>" class="browser-preview" width="182" alt="" />
     67                            <img src="<?php echo esc_url( admin_url( 'images/' . ( is_rtl() ? 'browser-rtl.png' : 'browser.png' ) ) ); ?>" class="browser-preview" width="182" alt="" />
    6868
    6969                            <div class="favicon">
  • trunk/src/wp-includes/media-template.php

    r37229 r37963  
    12411241        <strong aria-hidden="true"><?php _e( 'As a browser icon' ); ?></strong>
    12421242        <div class="favicon-preview">
    1243             <img src="images/browser.png" class="browser-preview" width="182" height="" alt="" />
     1243            <img src="<?php echo esc_url( admin_url( 'images/' . ( is_rtl() ? 'browser-rtl.png' : 'browser.png' ) ) ); ?>" class="browser-preview" width="182" height="" alt="" />
    12441244
    12451245            <div class="favicon">
Note: See TracChangeset for help on using the changeset viewer.