This repository has been archived on 2026-10-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
studio-2013/wp-content/plugins/wordpress-seo/admin/pages/bulk-description-editor.php
T
2014-07-24 14:38:32 +02:00

35 lines
857 B
PHP

<?php
/**
* @package Admin
*/
if ( ! defined( 'WPSEO_VERSION' ) ) {
header( 'Status: 403 Forbidden' );
header( 'HTTP/1.1 403 Forbidden' );
exit();
}
global $wpseo_admin_pages;
$options = get_option( 'wpseo' );
$wpseo_bulk_descriptions_table = new WPSEO_Bulk_Description_List_Table();
if ( ! empty( $_REQUEST['_wp_http_referer'] ) ) {
wp_redirect( remove_query_arg( array( '_wp_http_referer', '_wpnonce' ), stripslashes( $_SERVER['REQUEST_URI'] ) ) );
exit;
}
$wpseo_bulk_descriptions_table->prepare_items();
?>
<script>
var wpseo_bulk_editor_nonce = '<?php echo wp_create_nonce( 'wpseo-bulk-editor' ); ?>';
</script>
<div class="wrap wpseo_table_page">
<h2 id="wpseo-title"><?php echo esc_html( get_admin_page_title() ); ?></h2>
<?php $wpseo_bulk_descriptions_table->views(); ?>
<?php $wpseo_bulk_descriptions_table->display(); ?>
</div>