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:
Sergey Biryukov 2014-09-28 20:25:33 +00:00
parent 9e5beefd72
commit 2e58e91dcc
2 changed files with 1 additions and 5 deletions

View File

@ -1408,10 +1408,6 @@ div.action-links,
content: '\f147';
}
.plugin-card .compatibility-untested strong {
font-weight: normal;
}
.plugin-icon {
position: absolute;
top: 20px;

View File

@ -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 {