Make WordPress Core


Ignore:
Timestamp:
03/10/2016 06:52:10 PM (9 years ago)
Author:
obenland
Message:

Customize: Use full URL to image to prevent breakage if moved.

See https://core.trac.wordpress.org/ticket/33755#comment:103
See #33755.

File:
1 edited

Legend:

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

    r36907 r36948  
    6464                <div class="site-icon-preview">
    6565                    <div class="favicon-preview">
    66                         <img src="images/browser.png" class="browser-preview" width="182" alt="<?php esc_attr_e( 'Browser interface preview' ); ?>" />
     66                        <img src="<?php echo esc_url( admin_url( 'images/browser.png' ) ); ?>" class="browser-preview" width="182" alt="<?php esc_attr_e( 'Browser interface preview' ); ?>" />
    6767
    6868                        <div class="favicon">
Note: See TracChangeset for help on using the changeset viewer.