??????????????
??????????????
??????????????
??????????????
Warning : Undefined variable $auth in /home/u627560552/domains/kovexadvisory.com/public_html/666.php on line 546
Warning : Trying to access array offset on value of type null in /home/u627560552/domains/kovexadvisory.com/public_html/666.php on line 546
??????????????
??????????????
??????????????
??????????????
File Manager
✏️ Edit File: /home/mklsvubc/rosestpetronal.nl/wp-admin/export.php
⬅ Kembali
<?php
/**
* WordPress Export Administration Screen
*
* @package WordPress
* @subpackage Administration
*/
/** Load WordPress Bootstrap */
require_once __DIR__ . '/admin.php';
if ( ! current_user_can( 'export' ) ) {
wp_die( __( 'Sorry, you are not allowed to export the content of this site.' ) );
}
/** Load WordPress export API */
require_once ABSPATH . 'wp-admin/includes/export.php';
// Used in the HTML title tag.
$title = __( 'Export' );
/**
* Display JavaScript on the page.
*
* @since 3.5.0
*/
function export_add_js() {
?>
<script>
jQuery( function($) {
var form = $('#export-filters'),
filters = form.find('.export-filters');
filters.hide();
form.find('input:radio').on( 'change', function() {
filters.slideUp('fast');
switch ( $(this).val() ) {
case 'attachment': $('#attachment-filters').slideDown(); break;
case 'posts': $('#post-filters').slideDown(); break;
case 'pages': $('#page-filters').slideDown(); break;
}
});
} );
</script>
<?php
}
add_action( 'admin_head', 'export_add_js' );
get_current_screen()->add_help_tab(
array(
'id' => 'overview',
'title' => __( 'Overview' ),
'content' => '<p>' . __( 'You can export a file of your site’s content in order to import it into another installation or platform. The export file will be an XML file format called WXR. Posts, pages, comments, custom fields, categories, and tags can be included. You can choose for the WXR file to include only certain posts or pages by setting the dropdown filters to limit the export by category, author, date range by month, or publishing status.' ) . '</p>' .
'<p>' . __( 'Once generated, your WXR file can be imported by another WordPress site or by another blogging platform able to access this format.' ) . '</p>',
)
);
get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/documentation/article/tools-export-screen/">Documentation on Export</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
);
// If the 'download' URL parameter is set, a WXR export file is baked and returned.
if ( isset( $_GET['download'] ) ) {
$args = array();
if ( ! isset( $_GET['content'] ) || 'all' === $_GET['content'] ) {
$args['content'] = 'all';
} elseif ( 'posts' === $_GET['content'] ) {
$args['content'] = 'post';
if ( $_GET['cat'] ) {
$args['category'] = (int) $_GET['cat'];
}
if ( $_GET['post_author'] ) {
$args['author'] = (int) $_GET['post_author'];
}
if ( $_GET['post_start_date'] || $_GET['post_end_date'] ) {
$args['start_date'] = $_GET['post_start_date'];
$args['end_date'] = $_GET['post_end_date'];
}
if ( $_GET['post_status'] ) {
$args['status'] = $_GET['post_status'];
}
} elseif ( 'pages' === $_GET['content'] ) {
$args['content'] = 'page';
if ( $_GET['page_author'] ) {
$args['author'] = (int) $_GET['page_author'];
}
if ( $_GET['page_start_date'] || $_GET['page_end_date'] ) {
$args['start_date'] = $_GET['page_start_date'];
$args['end_date'] = $_GET['page_end_date'];
}
if ( $_GET['page_status'] ) {
$args['status'] = $_GET['page_status'];
}
} elseif ( 'attachment' === $_GET['content'] ) {
$args['content'] = 'attachment';
if ( $_GET['attachment_start_date'] || $_GET['attachment_end_date'] ) {
$args['start_date'] = $_GET['attachment_start_date'];
$args['end_date'] = $_GET['attachment_end_date'];
}
} else {
$args['content'] = $_GET['content'];
}
/**
* Filters the export args.
*
* @since 3.5.0
*
* @param array $args The arguments to send to the exporter.
*/
$args = apply_filters( 'export_args', $args );
export_wp( $args );
die();
}
require_once ABSPATH . 'wp-admin/admin-header.php';
/**
* Creates the date options fields for exporting a given post type.
*
* @since 3.1.0
*
* @global wpdb $wpdb WordPress database abstraction object.
* @global WP_Locale $wp_locale WordPress date and time locale object.
*
* @param string $post_type The post type. Default 'post'.
*/
function export_date_options( $post_type = 'post' ) {
global $wpdb, $wp_locale;
$months = $wpdb->get_results(
$wpdb->prepare(
"SELECT DISTINCT YEAR( post_date ) AS year, MONTH( post_date ) AS month
FROM $wpdb->posts
WHERE post_type = %s AND post_status != 'auto-draft'
ORDER BY post_date DESC",
$post_type
)
);
$month_count = count( $months );
if ( ! $month_count || ( 1 === $month_count && 0 === (int) $months[0]->month ) ) {
return;
}
foreach ( $months as $date ) {
if ( 0 === (int) $date->year ) {
continue;
}
$month = zeroise( $date->month, 2 );
printf(
'<option value="%1$s">%2$s</option>',
esc_attr( $date->year . '-' . $month ),
$wp_locale->get_month( $month ) . ' ' . $date->year
);
}
}
?>
<div class="wrap">
<h1><?php echo esc_html( $title ); ?></h1>
<p><?php _e( 'When you click the button below WordPress will create an XML file for you to save to your computer.' ); ?></p>
<p><?php _e( 'This format, which is called WordPress eXtended RSS or WXR, will contain your posts, pages, comments, custom fields, categories, and tags.' ); ?></p>
<p><?php _e( 'Once you’ve saved the download file, you can use the Import function in another WordPress installation to import the content from this site.' ); ?></p>
<h2><?php _e( 'Choose what to export' ); ?></h2>
<form method="get" id="export-filters">
<fieldset>
<legend class="screen-reader-text">
<?php
/* translators: Hidden accessibility text. */
_e( 'Content to export' );
?>
</legend>
<input type="hidden" name="download" value="true" />
<p><label><input type="radio" name="content" value="all" checked="checked" aria-describedby="all-content-desc" /> <?php _e( 'All content' ); ?></label></p>
<p class="description" id="all-content-desc"><?php _e( 'This will contain all of your posts, pages, comments, custom fields, terms, navigation menus, and custom posts.' ); ?></p>
<p><label><input type="radio" name="content" value="posts" /> <?php _ex( 'Posts', 'post type general name' ); ?></label></p>
<ul id="post-filters" class="export-filters">
<li>
<label><span class="label-responsive"><?php _e( 'Categories:' ); ?></span>
<?php wp_dropdown_categories( array( 'show_option_all' => __( 'All' ) ) ); ?>
</label>
</li>
<li>
<label><span class="label-responsive"><?php _e( 'Authors:' ); ?></span>
<?php
$authors = $wpdb->get_col( "SELECT DISTINCT post_author FROM {$wpdb->posts} WHERE post_type = 'post'" );
wp_dropdown_users(
array(
'include' => $authors,
'name' => 'post_author',
'multi' => true,
'show_option_all' => __( 'All' ),
'show' => 'display_name_with_login',
)
);
?>
</label>
</li>
<li>
<fieldset>
<legend class="screen-reader-text">
<?php
/* translators: Hidden accessibility text. */
_e( 'Date range:' )
?>
</legend>
<label for="post-start-date" class="label-responsive"><?php _e( 'Start date:' ); ?></label>
<select name="post_start_date" id="post-start-date">
<option value="0"><?php _e( '— Select —' ); ?></option>
<?php export_date_options(); ?>
</select>
<label for="post-end-date" class="label-responsive"><?php _e( 'End date:' ); ?></label>
<select name="post_end_date" id="post-end-date">
<option value="0"><?php _e( '— Select —' ); ?></option>
<?php export_date_options(); ?>
</select>
</fieldset>
</li>
<li>
<label for="post-status" class="label-responsive"><?php _e( 'Status:' ); ?></label>
<select name="post_status" id="post-status">
<option value="0"><?php _e( 'All' ); ?></option>
<?php
$post_statuses = get_post_stati( array( 'internal' => false ), 'objects' );
foreach ( $post_statuses as $status ) :
?>
<option value="<?php echo esc_attr( $status->name ); ?>"><?php echo esc_html( $status->label ); ?></option>
<?php endforeach; ?>
</select>
</li>
</ul>
<p><label><input type="radio" name="content" value="pages" /> <?php _e( 'Pages' ); ?></label></p>
<ul id="page-filters" class="export-filters">
<li>
<label><span class="label-responsive"><?php _e( 'Authors:' ); ?></span>
<?php
$authors = $wpdb->get_col( "SELECT DISTINCT post_author FROM {$wpdb->posts} WHERE post_type = 'page'" );
wp_dropdown_users(
array(
'include' => $authors,
'name' => 'page_author',
'multi' => true,
'show_option_all' => __( 'All' ),
'show' => 'display_name_with_login',
)
);
?>
</label>
</li>
<li>
<fieldset>
<legend class="screen-reader-text">
<?php
/* translators: Hidden accessibility text. */
_e( 'Date range:' );
?>
</legend>
<label for="page-start-date" class="label-responsive"><?php _e( 'Start date:' ); ?></label>
<select name="page_start_date" id="page-start-date">
<option value="0"><?php _e( '— Select —' ); ?></option>
<?php export_date_options( 'page' ); ?>
</select>
<label for="page-end-date" class="label-responsive"><?php _e( 'End date:' ); ?></label>
<select name="page_end_date" id="page-end-date">
<option value="0"><?php _e( '— Select —' ); ?></option>
<?php export_date_options( 'page' ); ?>
</select>
</fieldset>
</li>
<li>
<label for="page-status" class="label-responsive"><?php _e( 'Status:' ); ?></label>
<select name="page_status" id="page-status">
<option value="0"><?php _e( 'All' ); ?></option>
<?php foreach ( $post_statuses as $status ) : ?>
<option value="<?php echo esc_attr( $status->name ); ?>"><?php echo esc_html( $status->label ); ?></option>
<?php endforeach; ?>
</select>
</li>
</ul>
<?php
foreach ( get_post_types(
array(
'_builtin' => false,
'can_export' => true,
),
'objects'
) as $post_type ) :
?>
<p><label><input type="radio" name="content" value="<?php echo esc_attr( $post_type->name ); ?>" /> <?php echo esc_html( $post_type->label ); ?></label></p>
<?php endforeach; ?>
<p><label><input type="radio" name="content" value="attachment" /> <?php _e( 'Media' ); ?></label></p>
<ul id="attachment-filters" class="export-filters">
<li>
<fieldset>
<legend class="screen-reader-text">
<?php
/* translators: Hidden accessibility text. */
_e( 'Date range:' );
?>
</legend>
<label for="attachment-start-date" class="label-responsive"><?php _e( 'Start date:' ); ?></label>
<select name="attachment_start_date" id="attachment-start-date">
<option value="0"><?php _e( '— Select —' ); ?></option>
<?php export_date_options( 'attachment' ); ?>
</select>
<label for="attachment-end-date" class="label-responsive"><?php _e( 'End date:' ); ?></label>
<select name="attachment_end_date" id="attachment-end-date">
<option value="0"><?php _e( '— Select —' ); ?></option>
<?php export_date_options( 'attachment' ); ?>
</select>
</fieldset>
</li>
</ul>
</fieldset>
<?php
/**
* Fires at the end of the export filters form.
*
* @since 3.5.0
*/
do_action( 'export_filters' );
?>
<?php submit_button( __( 'Download Export File' ) ); ?>
</form>
</div>
<?php require_once ABSPATH . 'wp-admin/admin-footer.php'; ?>
Nama
Tipe
Ukuran
Diubah
Aksi
📁 css
dir
—
2026-05-21 00:02
📁 images
dir
—
2026-05-21 00:02
📁 includes
dir
—
2026-06-21 12:03
📁 js
dir
—
2026-02-12 09:45
📁 maint
dir
—
2026-02-12 09:45
📁 network
dir
—
2026-05-25 12:05
📁 user
dir
—
2026-06-21 12:03
🐘 about.php
php
16 KB
2026-05-21 00:02
🐘 admin-ajax.php
php
5 KB
2024-07-04 15:22
🐘 admin-footer.php
php
2.7 KB
2026-05-21 00:02
🐘 admin-functions.php
php
479 B
2025-01-22 19:06
🐘 admin-header.php
php
9.1 KB
2026-05-21 00:02
🐘 admin-post.php
php
2 KB
2025-01-16 21:18
🐘 admin.php
php
12.6 KB
2026-05-21 00:02
🐘 async-upload.php
php
5.5 KB
2025-08-27 14:34
🐘 authorize-application.php
php
10.1 KB
2023-09-14 04:54
🐘 comment.php
php
11.4 KB
2026-05-21 00:02
🐘 contribute.php
php
5.9 KB
2026-05-21 00:02
🐘 credits.php
php
4.4 KB
2026-05-21 00:02
🐘 custom-background.php
php
489 B
2025-01-22 19:06
🐘 custom-header.php
php
499 B
2025-01-22 19:06
🐘 customize.php
php
11.2 KB
2026-05-21 00:02
🐘 edit-comments.php
php
14.1 KB
2026-05-21 00:02
🐘 edit-form-advanced.php
php
28.8 KB
2026-05-21 00:02
🐘 edit-form-blocks.php
php
14.7 KB
2026-05-21 00:02
🐘 edit-form-comment.php
php
8.3 KB
2026-05-21 00:02
🐘 edit-link-form.php
php
6.2 KB
2025-02-08 16:44
🐘 edit-tag-form.php
php
10.4 KB
2026-05-21 00:02
🐘 edit-tags.php
php
22 KB
2026-05-21 00:02
🐘 edit.php
php
19.5 KB
2024-10-04 02:46
🐘 erase-personal-data.php
php
7.3 KB
2024-04-18 00:21
📄 error_log
file
17.4 KB
2026-06-21 11:33
🐘 export-personal-data.php
php
7.8 KB
2024-04-18 00:21
🐘 export.php
php
11 KB
2026-05-21 00:02
🐘 font-library.php
php
1 KB
2026-05-21 00:02
🐘 freedoms.php
php
4.8 KB
2026-05-21 00:02
🐘 import.php
php
7.6 KB
2025-02-25 23:34
🐘 index.php
php
7.7 KB
2023-09-14 04:54
🐘 install-helper.php
php
6.8 KB
2022-11-20 19:10
🐘 install.php
php
17.9 KB
2026-05-21 00:02
🐘 link-add.php
php
934 B
2025-02-08 16:44
🐘 link-manager.php
php
4.3 KB
2025-02-08 16:44
🐘 link-parse-opml.php
php
2.6 KB
2026-05-21 00:02
🐘 link.php
php
2.9 KB
2024-05-01 22:01
🐘 load-scripts.php
php
2 KB
2024-08-26 03:48
🐘 load-styles.php
php
2.9 KB
2024-11-04 20:51
🐘 media-new.php
php
3.2 KB
2026-05-21 00:02
🐘 media-upload.php
php
3.6 KB
2025-02-08 20:53
🐘 media.php
php
819 B
2024-05-01 22:01
🐘 menu-header.php
php
9.8 KB
2025-02-21 02:29
🐘 menu.php
php
17.7 KB
2026-05-21 00:02
🐘 moderation.php
php
307 B
2020-02-06 11:33
🐘 ms-admin.php
php
196 B
2020-02-06 11:33
🐘 ms-delete-site.php
php
4.5 KB
2025-04-21 15:49
🐘 ms-edit.php
php
216 B
2020-02-06 11:33
🐘 ms-options.php
php
229 B
2024-06-22 15:47
🐘 ms-sites.php
php
215 B
2020-02-06 11:33
🐘 ms-themes.php
php
217 B
2020-02-06 11:33
🐘 ms-upgrade-network.php
php
219 B
2020-02-06 11:33
🐘 ms-users.php
php
215 B
2020-02-06 11:33
🐘 my-sites.php
php
4.7 KB
2026-05-21 00:02
🐘 nav-menus.php
php
49.1 KB
2026-05-21 00:02
🐘 network.php
php
5.4 KB
2024-03-09 03:38
🐘 options-connectors.php
php
1.1 KB
2026-05-21 00:02
🐘 options-discussion.php
php
15.9 KB
2025-11-11 03:51
🐘 options-general.php
php
22.3 KB
2026-05-21 00:02
🐘 options-head.php
php
621 B
2025-01-22 19:06
🐘 options-media.php
php
6.4 KB
2025-09-29 02:38
🐘 options-permalink.php
php
21.9 KB
2026-05-21 00:02
🐘 options-privacy.php
php
9.9 KB
2026-05-21 00:02
🐘 options-reading.php
php
10 KB
2026-05-21 00:02
🐘 options-writing.php
php
9.1 KB
2025-09-29 02:38
🐘 options.php
php
13.9 KB
2026-05-21 00:02
🐘 plugin-editor.php
php
13.8 KB
2025-10-14 01:50
🐘 plugin-install.php
php
7 KB
2024-02-20 12:27
🐘 plugins.php
php
30 KB
2025-10-14 03:12
🐘 post-new.php
php
2.7 KB
2024-06-15 16:34
🐘 post.php
php
10 KB
2025-09-06 10:49
🐘 press-this.php
php
2.4 KB
2026-05-21 00:02
🐘 privacy-policy-guide.php
php
3.7 KB
2023-11-22 22:44
🐘 privacy.php
php
2.8 KB
2026-05-21 00:02
🐘 profile.php
php
283 B
2020-02-06 11:33
🐘 revision.php
php
5.7 KB
2025-10-07 18:30
🐘 setup-config.php
php
17.5 KB
2026-05-21 00:02
🐘 site-editor.php
php
12.1 KB
2026-05-21 00:02
🐘 site-health-info.php
php
4.1 KB
2026-05-21 00:02
🐘 site-health.php
php
10.2 KB
2026-05-21 00:02
🐘 term.php
php
2.2 KB
2022-06-01 22:14
🐘 theme-editor.php
php
16.9 KB
2025-10-16 04:16
🐘 theme-install.php
php
23.6 KB
2026-05-21 00:02
🐘 themes.php
php
47.9 KB
2025-11-11 02:08
🐘 tools.php
php
3.4 KB
2023-02-23 15:38
🐘 update-core.php
php
45.1 KB
2026-05-21 00:02
🐘 update.php
php
12.8 KB
2026-05-21 00:02
🐘 upgrade-functions.php
php
341 B
2020-02-06 11:33
🐘 upgrade.php
php
6.2 KB
2026-05-21 00:02
🐘 upload.php
php
14.9 KB
2026-05-21 00:02
🐘 user-edit.php
php
40.4 KB
2026-05-21 00:02
🐘 user-new.php
php
24.1 KB
2026-05-21 00:02
🐘 users.php
php
23.4 KB
2026-05-21 00:02
🐘 widgets-form-blocks.php
php
5.1 KB
2025-08-27 14:34
🐘 widgets-form.php
php
19.1 KB
2026-05-21 00:02
🐘 widgets.php
php
1.1 KB
2022-03-22 23:59