Making WordPress.org


Ignore:
Timestamp:
12/04/2016 05:58:12 PM (10 years ago)
Author:
obenland
Message:

Plugin Directory: Add alt attributes in PHP output.

See #2295.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-screenshots.php

    r4455 r4471  
    3030                 */
    3131                foreach ( $screen_shots as $image ) {
    32                         $screen_shot = sprintf( '<a href="%1$s" rel="nofollow"><img class="screenshot" src="%1$s" /></a>',
     32                        $screen_shot = sprintf( '<a href="%1$s" rel="nofollow"><img class="screenshot" src="%1$s" alt="" /></a>',
    3333                                Template::get_asset_url( $plugin->post_name, $image )
    3434                        );
Note: See TracChangeset for help on using the changeset viewer.