Ticket #29313: 29313.patch
File 29313.patch, 1.1 KB (added by , 9 years ago) |
---|
-
src/wp-admin/includes/class-wp-plugin-install-list-table.php
452 452 <div class="column-compatibility"> 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 install ');455 echo __( '<strong>Untested</strong> with your WordPress version' ); 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 install ');457 echo __( '<strong>Incompatible</strong> with your WordPress version' ); 458 458 } else { 459 echo __( '<strong>Compatible</strong> with your install ');459 echo __( '<strong>Compatible</strong> with your WordPress version' ); 460 460 } 461 461 ?> 462 462 </div>