From 039df6aac6ac6c5e334e913fe0cf55d049806c62 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 22 Aug 2014 03:57:19 +0000 Subject: [PATCH] Plugin compatibility warnings should be red, not green. props avryl. fixes #29309. Built from https://develop.svn.wordpress.org/trunk@29574 git-svn-id: http://core.svn.wordpress.org/trunk@29348 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/plugin-install.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/plugin-install.php b/wp-admin/includes/plugin-install.php index 4e24f7792f..134bd8998a 100644 --- a/wp-admin/includes/plugin-install.php +++ b/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 ) {