Remove unnecessary CSS overriding on Add Plugins screen.
props pavelevap. fixes #29753. git-svn-id: https://develop.svn.wordpress.org/trunk@29775 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9e5beefd72
commit
2e58e91dcc
@ -1408,10 +1408,6 @@ div.action-links,
|
||||
content: '\f147';
|
||||
}
|
||||
|
||||
.plugin-card .compatibility-untested strong {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.plugin-icon {
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
|
@ -467,7 +467,7 @@ class WP_Plugin_Install_List_Table extends WP_List_Table {
|
||||
<div class="column-compatibility">
|
||||
<?php
|
||||
if ( ! empty( $plugin['tested'] ) && version_compare( substr( $GLOBALS['wp_version'], 0, strlen( $plugin['tested'] ) ), $plugin['tested'], '>' ) ) {
|
||||
echo '<span class="compatibility-untested">' . __( '<strong>Untested</strong> with your version of WordPress' ) . '</span>';
|
||||
echo '<span class="compatibility-untested">' . __( 'Untested with your version of WordPress' ) . '</span>';
|
||||
} elseif ( ! empty( $plugin['requires'] ) && version_compare( substr( $GLOBALS['wp_version'], 0, strlen( $plugin['requires'] ) ), $plugin['requires'], '<' ) ) {
|
||||
echo '<span class="compatibility-incompatible">' . __( '<strong>Incompatible</strong> with your version of WordPress' ) . '</span>';
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user