Support only wp 3.4 on activation
This commit is contained in:
@@ -69,14 +69,7 @@ function roots_theme_activation_options_render_page() { ?>
|
|||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
<?php screen_icon(); ?>
|
||||||
<?php
|
<h2><?php printf(__('%s Theme Activation', 'roots'), wp_get_theme() ); ?></h2>
|
||||||
if ((double) get_bloginfo('version') <= 3.4) {
|
|
||||||
$theme_name = wp_get_theme();
|
|
||||||
} else {
|
|
||||||
$theme_name = get_current_theme();
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
<h2><?php printf(__('%s Theme Activation', 'roots'), $theme_name ); ?></h2>
|
|
||||||
<?php settings_errors(); ?>
|
<?php settings_errors(); ?>
|
||||||
|
|
||||||
<form method="post" action="options.php">
|
<form method="post" action="options.php">
|
||||||
|
|||||||
Reference in New Issue
Block a user