?> </h2> <?php //First we check to see if this is a WordPress.org plugin, We'll have some requirements to check first :) if (isset($_GET['wp-id']) && !empty($_GET['wp-id']) && !isset($_GET['proceed'])) { check_admin_referer('wpupdate-install-plugin'); $id = $_GET['wp-id']; $pluginInfo = apply_filters('wpupdate_checkPluginUpdate-wordpress.org', $id); ?> <p> <?php _e('Are you sure you wish to install the following Plugin?'); ?> </p> <?php $pluginCompatible = $wp_update->checkPluginCompatible($pluginInfo); if ($pluginCompatible['Compatible']) { echo '<div class="updated"><p>' . __('Plugin is compatible') . '</p></div>'; } else { echo '<div class="error"><p>' . __('Plugin is not compatible') . '</p></div>'; } if (isset($pluginCompatible['Errors'])) { echo '<div class="error"><p>'; foreach ((array) $pluginCompatible['Errors'] as $message) { echo $message . "<br />"; } echo '</p></div>'; } ?> <p> <strong><?php