WordPress.org

Make WordPress Core

Changeset 29581


Ignore:
Timestamp:
08/24/2014 04:13:54 PM (6 years ago)
Author:
ocean90
Message:

Plugin compatibility is based on your version of WordPress, not your install.

fixes #29313.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php

    r29569 r29581  
    453453                    <?php
    454454                    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 version of WordPress' );
    456456                    } 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 version of WordPress' );
    458458                    } else {
    459                         echo __( '<strong>Compatible</strong> with your install ');
     459                        echo __( '<strong>Compatible</strong> with your version of WordPress' );
    460460                    }
    461461                    ?>
Note: See TracChangeset for help on using the changeset viewer.