public function admin_footer($submit = true, $show_sidebar = true)
{
if ($submit) {
submit_button();
echo '
</form>';
}
/**
* Apply general admin_footer hooks
*/
do_action('wpseo_admin_footer');
/**
* Run possibly set actions to add for example an i18n box
*/
do_action('wpseo_admin_promo_footer');
echo '
</div><!-- end of div wpseo_content_top -->';
if ($show_sidebar) {
$this->admin_sidebar();
}
echo '</div><!-- end of div wpseo_content_wrapper -->';
if (defined('WP_DEBUG') && WP_DEBUG === true) {
$xdebug = extension_loaded('xdebug') ? true : false;
echo '
<div id="poststuff">
<div id="wpseo-debug-info" class="postbox">
<h2 class="hndle"><span>' . __('Debug Information', 'wordpress-seo') . '</span></h2>
<div class="inside">
<h3 class="wpseo-debug-heading">' . esc_html(__('Current option:', 'wordpress-seo')) . ' <span class="wpseo-debug">' . esc_html($this->option_name) . '</span></h3>
' . ($xdebug ? '' : '<pre>');
var_dump($this->get_option());
echo '
' . ($xdebug ? '' : '</pre>') . '
</div>
</div>
</div>';
}
echo '
</div><!-- end of wrap -->';
}