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:
parent
0d25e953c9
commit
fff8d4c5a9
|
@ -9,6 +9,13 @@ function comicpress_notice_debug() {
|
||||||
$comicpress_options = comicpress_load_options();
|
$comicpress_options = comicpress_load_options();
|
||||||
|
|
||||||
$error = array();
|
$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';
|
$post_cat_link = get_bloginfo('wpurl') . '/wp-admin/categories.php';
|
||||||
|
|
||||||
// Check Categories
|
// Check Categories
|
||||||
|
|
Loading…
Reference in New Issue