Ticket #28785: 28785-plugin-default-icons.diff
File 28785-plugin-default-icons.diff, 1.9 KB (added by , 10 years ago) |
---|
-
wp-admin/css/list-tables.css
1303 1303 } 1304 1304 1305 1305 .plugin-card .desc { 1306 clear: left;1307 1306 } 1308 1307 1309 1308 .plugin-action-buttons { 1309 clear: right; 1310 1310 float: right; 1311 1311 margin-left: 2em; 1312 1312 margin-bottom: 1em; … … 1350 1350 clear: right; 1351 1351 } 1352 1352 1353 .plugin-icon { 1354 width: 128px; 1355 height: 128px; 1356 float: left; 1357 margin: 0 1em 1em 0; 1358 } 1359 1353 1360 /* ms */ 1354 1361 /* Background Color for Site Status */ 1355 1362 .wp-list-table .site-deleted { -
wp-admin/includes/class-wp-plugin-install-list-table.php
98 98 $args = array( 99 99 'page' => $paged, 100 100 'per_page' => $per_page, 101 'fields' => array( 'last_updated' => true, 'downloaded' => true ),101 'fields' => array( 'last_updated' => true, 'downloaded' => true, 'icons' => true, 'banners' => true ), 102 102 // Send the locale and installed plugin slugs to the API so it can provide context-sensitive results. 103 103 'locale' => get_locale(), 104 104 'installed_plugins' => $this->get_installed_plugin_slugs(), … … 423 423 ?> 424 424 <div class="plugin-card"> 425 425 <div class="plugin-card-top"> 426 <img src="<?php echo esc_attr( $plugin['icons']['default'] ) ?>" class="plugin-icon" /> 426 427 <div class="name column-name"<?php echo $style['name']; ?>> 427 <h4><a href="<?php echo esc_url( $details_link ) ?>" class="thickbox"><?php echo $title; ?></a></h4> 428 <h4><a href="<?php echo esc_url( $details_link ) ?>" class="thickbox"><?php echo $title; ?></a></h4><br /> 428 429 <div class="action-links"> 429 430 <?php 430 431 if ( ! empty( $action_links ) ) {