WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/07/2015 04:11:38 PM (6 years ago)
Author:
wonderboymusic
Message:

Accessibility: add missing alt attributes to a gaggle of <img>s.

Props afercia.
Fixes #34583.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/image-edit.php

    r35427 r35567  
    185185
    186186        <div id="imgedit-crop-<?php echo $post_id; ?>" class="imgedit-crop-wrap">
    187         <img id="image-preview-<?php echo $post_id; ?>" onload="imageEdit.imgLoaded('<?php echo $post_id; ?>')" src="<?php echo admin_url( 'admin-ajax.php', 'relative' ); ?>?action=imgedit-preview&amp;_ajax_nonce=<?php echo $nonce; ?>&amp;postid=<?php echo $post_id; ?>&amp;rand=<?php echo rand(1, 99999); ?>" />
     187        <img id="image-preview-<?php echo $post_id; ?>" onload="imageEdit.imgLoaded('<?php echo $post_id; ?>')" src="<?php echo admin_url( 'admin-ajax.php', 'relative' ); ?>?action=imgedit-preview&amp;_ajax_nonce=<?php echo $nonce; ?>&amp;postid=<?php echo $post_id; ?>&amp;rand=<?php echo rand(1, 99999); ?>" alt="<?php esc_attr_e( 'Image preview' ); ?>" />
    188188        </div>
    189189
Note: See TracChangeset for help on using the changeset viewer.