Make WordPress Core


Ignore:
Timestamp:
02/20/2010 09:09:49 PM (15 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/includes/meta-boxes.php

    r12987 r13256  
    208208
    209209<div id="publishing-action">
    210 <img src="images/wpspin_light.gif" id="ajax-loading" style="visibility:hidden;" alt="" />
     210<img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" id="ajax-loading" style="visibility:hidden;" alt="" />
    211211<?php
    212212if ( !in_array( $post->post_status, array('publish', 'future', 'private') ) || 0 == $post->ID ) {
     
    433433<tbody id="the-comment-list" class="list:comment"></tbody>
    434434</table>
    435 <p class="hide-if-no-js"><a href="#commentstatusdiv" id="show-comments" onclick="commentsBox.get(<?php echo $total; ?>);return false;"><?php _e('Show comments'); ?></a> <img class="waiting" style="display:none;" src="images/wpspin_light.gif" alt="" /></p>
     435<p class="hide-if-no-js"><a href="#commentstatusdiv" id="show-comments" onclick="commentsBox.get(<?php echo $total; ?>);return false;"><?php _e('Show comments'); ?></a> <img class="waiting" style="display:none;" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" /></p>
    436436<?php
    437437    $hidden = get_hidden_meta_boxes('post');
Note: See TracChangeset for help on using the changeset viewer.