Making WordPress.org


Ignore:
Timestamp:
05/08/2024 05:02:08 AM (2 years ago)
Author:
dd32
Message:

Plugin Directory: Add an empty alt tag to the banner.

See [13670].
See #7620.

File:
1 edited

Legend:

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

    r13670 r13673  
    496496                        case 'html':
    497497                                return sprintf(
    498                                         '<div class="plugin-banner" id="%1$s"><img decoding="async" fetchpriority="high" src="%2$s" %3$s %4$s></div>',
     498                                        '<div class="plugin-banner" id="%1$s"><img decoding="async" fetchpriority="high" alt="" src="%2$s" %3$s %4$s></div>',
    499499                                        esc_attr( "plugin-banner-{$plugin->post_name}" ),
    500500                                        esc_url( $banner ),
Note: See TracChangeset for help on using the changeset viewer.