Archived
Updates
This commit is contained in:
1 parent
70d2335bba
commit
7428b67da5
1086 files changed
+94145
-59082
No files matched your search
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
/**
|
||||
* @package WPSEO\Admin
|
||||
* @since 1.5.0
|
||||
*/
|
||||
|
||||
if ( ! defined( 'WPSEO_VERSION' ) ) {
|
||||
header( 'Status: 403 Forbidden' );
|
||||
header( 'HTTP/1.1 403 Forbidden' );
|
||||
exit();
|
||||
}
|
||||
|
||||
$options = get_option( 'wpseo' );
|
||||
|
||||
$wpseo_bulk_titles_table = new WPSEO_Bulk_Title_Editor_List_Table();
|
||||
$wpseo_bulk_description_table = new WPSEO_Bulk_Description_List_Table();
|
||||
|
||||
// If type is empty, fill it with value of first tab (title)
|
||||
$_GET['type'] = ( ! empty( $_GET['type'] ) ) ? $_GET['type'] : 'title';
|
||||
|
||||
if ( ! empty( $_REQUEST['_wp_http_referer'] ) ) {
|
||||
wp_redirect( remove_query_arg( array( '_wp_http_referer', '_wpnonce' ), stripslashes( $_SERVER['REQUEST_URI'] ) ) );
|
||||
exit;
|
||||
}
|
||||
?>
|
||||
<script>
|
||||
var wpseo_bulk_editor_nonce = '<?php echo wp_create_nonce( 'wpseo-bulk-editor' ); ?>';
|
||||
</script>
|
||||
|
||||
<div class="wrap wpseo_table_page">
|
||||
|
||||
<h2 class="nav-tab-wrapper" id="wpseo-tabs">
|
||||
<a class="nav-tab" id="title-tab" href="#top#title"><?php _e( 'Title', 'wordpress-seo' ); ?></a>
|
||||
<a class="nav-tab" id="description-tab"
|
||||
href="#top#description"><?php _e( 'Description', 'wordpress-seo' ); ?></a>
|
||||
</h2>
|
||||
|
||||
<div class="tabwrapper">
|
||||
<div id="title" class="wpseotab">
|
||||
<?php $wpseo_bulk_titles_table->show_page(); ?>
|
||||
</div>
|
||||
<div id="description" class="wpseotab">
|
||||
<?php $wpseo_bulk_description_table->show_page(); ?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
Reference in new issue
Block a user