Make WordPress Core

Ticket #8151: 8151.diff

File 8151.diff, 1.0 KB (added by Speedboxer, 15 years ago)

Reword incompatible line

  • plugin-install.php

     
    486486                if ( version_compare($GLOBALS['wp_version'], $api->tested, '>') )
    487487                        echo '<div class="updated"><p>' . __('<strong>Warning:</strong> This plugin has <strong>not been tested</strong> with your current version of WordPress.') . '</p></div>';
    488488                else if ( version_compare($GLOBALS['wp_version'], $api->requires, '<') )
    489                         echo '<div class="updated"><p>' . __('<strong>Warning:</strong> This plugin has not been marked as being <strong>not compatible</strong> with your version of WordPress.') . '</p></div>';
     489                        echo '<div class="updated"><p>' . __('<strong>Warning:</strong> This plugin has been marked as being <strong>incompatible</strong> with your current version of WordPress.') . '</p></div>';
    490490                foreach ( (array)$api->sections as $section_name => $content ) {
    491491                        $title = $section_name;
    492492                        $title[0] = strtoupper($title[0]);