Changeset 13626
- Timestamp:
- 04/30/2024 07:07:26 AM (6 months ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-template.php
r13620 r13626 402 402 403 403 if ( $icon_2x && $icon_2x !== $icon ) { 404 return "<img class='plugin-icon' srcset='{$icon}, {$icon_2x} 2x' src='{$icon_2x}' >";404 return "<img class='plugin-icon' srcset='{$icon}, {$icon_2x} 2x' src='{$icon_2x}' alt=''>"; 405 405 } else { 406 return "<img class='plugin-icon' src='{$icon}' >";406 return "<img class='plugin-icon' src='{$icon}' alt=''>"; 407 407 } 408 408 break; -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/embed-plugin.php
r13277 r13626 35 35 vertical-align: initial; 36 36 } 37 . wp-embed-featured-image{37 .plugin-icon { 38 38 float: left; 39 39 margin-right: 20px; 40 40 } 41 html[dir="rtl"] . wp-embed-featured-image{41 html[dir="rtl"] .plugin-icon { 42 42 float: right; 43 43 margin-left: 20px; 44 44 margin-right: auto; 45 45 } 46 . wp-embed-featured-image .plugin-icon {46 .plugin-icon { 47 47 background-size: 100%; 48 48 height: 64px; 49 49 width: 64px; 50 margin-bottom: 20px; 50 51 } 51 52 p.wp-embed-heading { … … 114 115 <body <?php body_class(); ?>> 115 116 <div <?php post_class( 'wp-embed' ); ?>> 116 <div class="wp-embed-featured-image rectangular">117 <a href="<?php the_permalink(); ?>" target="_top">118 <?php echo Template::get_plugin_icon( $post, 'html' ); /* phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped */ ?>119 </a>120 </div>121 117 122 118 <p class="wp-embed-heading"> 123 119 <a href="<?php the_permalink(); ?>" target="_top"> 120 <?php echo Template::get_plugin_icon( $post, 'html' ); /* phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped */ ?> 124 121 <?php the_title(); ?> 125 122 </a> … … 155 152 ?> 156 153 <span class="tested-with"> 157 <i class="dashicons dashicons-wordpress-alt" ></i>154 <i class="dashicons dashicons-wordpress-alt" aria-hidden="true"></i> 158 155 <?php 159 156 /* translators: WordPress version. */
Note: See TracChangeset
for help on using the changeset viewer.