Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (17 sloc) 0.715 kb
<?php
require(ABSPATH . 'wp-includes/version.php');
if ( !current_user_can('manage_options') ) {
die();
}
$step = (isset($_GET['step']) ? $_GET['step'] : null);
?>
<div class="wrap">
<h2><?php echo dsq_i('Upgrade Disqus Comments'); ?></h2>
<form method="POST" action="?page=disqus&amp;step=<?php echo esc_attr($step); ?>">
<?php wp_nonce_field('dsq-wpnonce_upgrade', 'dsq-form_nonce_upgrade'); ?>
<p><?php echo dsq_i('You need to upgrade your database to continue.'); ?></p>
<p class="submit" style="text-align: left">
<input type="submit" name="upgrade" class="button-primary button" value="Upgrade &raquo;" />
</p>
</form>
</div>
Jump to Line
Something went wrong with that request. Please try again.