Make WordPress Core


Ignore:
Timestamp:
07/05/2016 12:41:38 PM (8 years ago)
Author:
ocean90
Message:

Customize: Fix site icon preview in RTL.

  • Set the direction of previews to LTR.
  • Remove the ID attribute from the favicon preview in the customizer panel. The preview in the media modal uses the same ID which prevented updating the correct favicon preview.

Fixes #37286.

File:
1 edited

Legend:

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

    r37963 r37964  
    6868
    6969                            <div class="favicon">
    70                                 <img id="preview-favicon" src="{{ data.attachment.sizes.full.url }}" alt="<?php esc_attr_e( 'Preview as a browser icon' ); ?>"/>
     70                                <img src="{{ data.attachment.sizes.full.url }}" alt="<?php esc_attr_e( 'Preview as a browser icon' ); ?>"/>
    7171                            </div>
    7272                            <span class="browser-title" aria-hidden="true"><?php bloginfo( 'name' ); ?></span>
Note: See TracChangeset for help on using the changeset viewer.