diff --git a/src/wp-admin/css/list-tables.css b/src/wp-admin/css/list-tables.css
index b5d353d8eb..aa9e1989bc 100644
a
|
b
|
div.action-links, |
1545 | 1545 | margin: 20px 20px 0 20px; |
1546 | 1546 | } |
1547 | 1547 | |
| 1548 | .plugin-card .notice-error { |
| 1549 | padding-top: 7px; |
| 1550 | } |
| 1551 | |
1548 | 1552 | .plugin-icon { |
1549 | 1553 | position: absolute; |
1550 | 1554 | top: 20px; |
diff --git a/src/wp-admin/includes/class-wp-plugin-install-list-table.php b/src/wp-admin/includes/class-wp-plugin-install-list-table.php
index 3ff7991fc5..6d3139671f 100644
a
|
b
|
class WP_Plugin_Install_List_Table extends WP_List_Table { |
632 | 632 | <div class="plugin-card plugin-card-<?php echo sanitize_html_class( $plugin['slug'] ); ?>"> |
633 | 633 | <?php |
634 | 634 | if ( ! $compatible_php || ! $compatible_wp ) { |
635 | | echo '<div class="notice inline notice-error notice-alt"><p>'; |
| 635 | echo '<div class="notice inline notice-error notice-alt">'; |
636 | 636 | if ( ! $compatible_php && ! $compatible_wp ) { |
637 | 637 | _e( 'This plugin doesn’t work with your versions of WordPress and PHP. ' ); |
638 | 638 | if ( current_user_can( 'update_core' ) && current_user_can( 'update_php' ) ) { |
… |
… |
class WP_Plugin_Install_List_Table extends WP_List_Table { |
677 | 677 | wp_update_php_annotation(); |
678 | 678 | } |
679 | 679 | } |
680 | | echo '</p></div>'; |
| 680 | echo '</div>'; |
681 | 681 | } |
682 | 682 | ?> |
683 | 683 | <div class="plugin-card-top"> |