Changeset 29586
- Timestamp:
- 08/24/2014 05:25:35 PM (10 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/list-tables.css
r29569 r29586 1339 1339 float: left; 1340 1340 clear: left; 1341 max-width: 180px; 1341 1342 } 1342 1343 1343 1344 .plugin-card .column-updated, 1344 1345 .plugin-card .column-compatibility { 1346 text-align: right; 1345 1347 float: right; 1346 1348 clear: right; 1349 width: 65%; 1350 width: calc( 100% - 180px ); 1351 } 1352 1353 .plugin-card .column-compatibility span:before { 1354 font: normal 20px/.5 'dashicons'; 1355 speak: none; 1356 display: inline-block; 1357 padding: 0; 1358 top: 4px; 1359 left: -2px; 1360 position: relative; 1361 vertical-align: top; 1362 -webkit-font-smoothing: antialiased; 1363 -moz-osx-font-smoothing: grayscale; 1364 text-decoration: none !important; 1365 color: #444; 1366 } 1367 .plugin-card .compatibility-incompatible:before { 1368 content: '\f158'; 1369 } 1370 1371 .plugin-card .compatibility-compatible:before { 1372 content: '\f147'; 1373 } 1374 1375 .plugin-card .compatibility-untested strong { 1376 font-weight: normal; 1347 1377 } 1348 1378 -
trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php
r29581 r29586 453 453 <?php 454 454 if ( ! empty( $plugin['tested'] ) && version_compare( substr( $GLOBALS['wp_version'], 0, strlen( $plugin['tested'] ) ), $plugin['tested'], '>' ) ) { 455 echo __( '<strong>Untested</strong> with your version of WordPress' );455 echo '<span class="compatibility-untested">' . __( '<strong>Untested</strong> with your version of WordPress' ) . '</span>'; 456 456 } elseif ( ! empty( $plugin['requires'] ) && version_compare( substr( $GLOBALS['wp_version'], 0, strlen( $plugin['requires'] ) ), $plugin['requires'], '<' ) ) { 457 echo __( '<strong>Incompatible</strong> with your version of WordPress' );457 echo '<span class="compatibility-incompatible">' . __( '<strong>Incompatible</strong> with your version of WordPress' ) . '</span>'; 458 458 } else { 459 echo __( '<strong>Compatible</strong> with your version of WordPress' );459 echo '<span class="compatibility-compatible">' . __( '<strong>Compatible</strong> with your version of WordPress' ) . '</span>'; 460 460 } 461 461 ?>
Note: See TracChangeset
for help on using the changeset viewer.