PHP 5 is required for comicpress 2.9, on the dashboard it will give a message stating that an upgrade is necessary and to contact the host.

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
Philip M. Hofer (Frumph) 2009-12-31 15:10:18 -08:00
parent 0d25e953c9
commit fff8d4c5a9
1 changed files with 7 additions and 0 deletions

View File

@ -9,6 +9,13 @@ function comicpress_notice_debug() {
$comicpress_options = comicpress_load_options();
$error = array();
if (floatval(phpversion()) < 5.0) {
$phpversion = phpversion();
$error[] = array('header', __('You are using PHP version: ','comicpress'). $phpversion);
$error[] = __('Version 5 or higher is required for this theme to work correctly. Please check with your host about upgrading to a newer version.','comicpress');
}
$post_cat_link = get_bloginfo('wpurl') . '/wp-admin/categories.php';
// Check Categories