WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/20/2010 09:09:49 PM (12 years ago)
Author:
nacin
Message:

Use admin_url() for images in wp-admin, to allow for filtering. Props mdawaffe, see #12300

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/widgets.php

    r12789 r13256  
    364364        <div class="sidebar-name-arrow"><br /></div>
    365365        <h3><?php _e('Inactive Widgets'); ?>
    366         <span><img src="images/wpspin_light.gif" class="ajax-feedback" title="" alt="" /></span></h3></div>
     366        <span><img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="ajax-feedback" title="" alt="" /></span></h3></div>
    367367        <div class="widget-holder inactive">
    368368        <p class="description"><?php _e('Drag widgets here to remove them from the sidebar but keep their settings.'); ?></p>
     
    386386    <div class="sidebar-name-arrow"><br /></div>
    387387    <h3><?php echo esc_html( $registered_sidebar['name'] ); ?>
    388     <span><img src="images/wpspin_dark.gif" class="ajax-feedback" title="" alt="" /></span></h3></div>
     388    <span><img src="<?php echo esc_url( admin_url( 'images/wpspin_dark.gif' ) ); ?>" class="ajax-feedback" title="" alt="" /></span></h3></div>
    389389    <?php wp_list_widget_controls( $sidebar ); // Show the control forms for each of the widgets in this sidebar ?>
    390390    </div>
Note: See TracChangeset for help on using the changeset viewer.