Convert version number to double
This commit is contained in:
@@ -70,7 +70,7 @@ function roots_theme_activation_options_render_page() { ?>
|
|||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
<?php screen_icon(); ?>
|
||||||
<?php
|
<?php
|
||||||
if (get_bloginfo('version') <= 3.4) {
|
if ((double) get_bloginfo('version') <= 3.4) {
|
||||||
$theme_name = wp_get_theme();
|
$theme_name = wp_get_theme();
|
||||||
} else {
|
} else {
|
||||||
$theme_name = get_current_theme();
|
$theme_name = get_current_theme();
|
||||||
|
|||||||
Reference in New Issue
Block a user