From 91f11ca3496207257b30aadacd2057c68d9fa7ae Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 22 Aug 2014 03:56:51 +0000 Subject: [PATCH] Plugin compatibility warnings should be red, not green. props avryl. fixes #29309. git-svn-id: https://develop.svn.wordpress.org/trunk@29574 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/plugin-install.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/includes/plugin-install.php b/src/wp-admin/includes/plugin-install.php index 4e24f7792f..134bd8998a 100644 --- a/src/wp-admin/includes/plugin-install.php +++ b/src/wp-admin/includes/plugin-install.php @@ -496,9 +496,9 @@ function install_plugin_information() {
tested ) && version_compare( substr( $GLOBALS['wp_version'], 0, strlen( $api->tested ) ), $api->tested, '>' ) ) { - echo '

' . __('Warning: This plugin has not been tested with your current version of WordPress.') . '

'; + echo '

' . __('Warning: This plugin has not been tested with your current version of WordPress.') . '

'; } else if ( ! empty( $api->requires ) && version_compare( substr( $GLOBALS['wp_version'], 0, strlen( $api->requires ) ), $api->requires, '<' ) ) { - echo '

' . __('Warning: This plugin has not been marked as compatible with your version of WordPress.') . '

'; + echo '

' . __('Warning: This plugin has not been marked as compatible with your version of WordPress.') . '

'; } foreach ( (array) $api->sections as $section_name => $content ) {