Skip to content

Commit

Permalink
Support only wp 3.4 on activation
Browse files Browse the repository at this point in the history
  • Loading branch information
weslly committed Jun 17, 2012
1 parent 0d51f0a commit 4850e18
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions inc/activation.php
Expand Up @@ -69,14 +69,7 @@ function roots_theme_activation_options_render_page() { ?>

<div class="wrap">
<?php screen_icon(); ?>
<?php
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>
<h2><?php printf(__('%s Theme Activation', 'roots'), wp_get_theme() ); ?></h2>
<?php settings_errors(); ?>

<form method="post" action="options.php">
Expand Down

0 comments on commit 4850e18

Please sign in to comment.