??????????????
??????????????
??????????????
??????????????
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/bydatec.co.uk/wp-admin/import.php
⬅ Kembali
<?php
/**
* Import WordPress Administration Screen
*
* @package WordPress
* @subpackage Administration
*/
define( 'WP_LOAD_IMPORTERS', true );
/** Load WordPress Bootstrap */
require_once __DIR__ . '/admin.php';
if ( ! current_user_can( 'import' ) ) {
wp_die( __( 'Sorry, you are not allowed to import content into this site.' ) );
}
// Used in the HTML title tag.
$title = __( 'Import' );
get_current_screen()->add_help_tab(
array(
'id' => 'overview',
'title' => __( 'Overview' ),
'content' => '<p>' . __( 'This screen lists links to plugins to import data from blogging/content management platforms. Choose the platform you want to import from, and click Install Now when you are prompted in the popup window. If your platform is not listed, click the link to search the plugin directory for other importer plugins to see if there is one for your platform.' ) . '</p>' .
'<p>' . __( 'In previous versions of WordPress, all importers were built-in. They have been turned into plugins since most people only use them once or infrequently.' ) . '</p>',
)
);
get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/documentation/article/tools-import-screen/">Documentation on Import</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
);
if ( current_user_can( 'install_plugins' ) ) {
// List of popular importer plugins from the WordPress.org API.
$popular_importers = wp_get_popular_importers();
} else {
$popular_importers = array();
}
// Detect and redirect invalid importers like 'movabletype', which is registered as 'mt'.
if ( ! empty( $_GET['invalid'] ) && isset( $popular_importers[ $_GET['invalid'] ] ) ) {
$importer_id = $popular_importers[ $_GET['invalid'] ]['importer-id'];
if ( $importer_id !== $_GET['invalid'] ) { // Prevent redirect loops.
wp_redirect( admin_url( 'admin.php?import=' . $importer_id ) );
exit;
}
unset( $importer_id );
}
add_thickbox();
wp_enqueue_script( 'plugin-install' );
wp_enqueue_script( 'updates' );
require_once ABSPATH . 'wp-admin/admin-header.php';
$parent_file = 'tools.php';
?>
<div class="wrap">
<h1><?php echo esc_html( $title ); ?></h1>
<?php
if ( ! empty( $_GET['invalid'] ) ) :
$importer_not_installed = '<strong>' . __( 'Error:' ) . '</strong> ' . sprintf(
/* translators: %s: Importer slug. */
__( 'The %s importer is invalid or is not installed.' ),
'<strong>' . esc_html( $_GET['invalid'] ) . '</strong>'
);
wp_admin_notice(
$importer_not_installed,
array(
'additional_classes' => array( 'error' ),
)
);
endif;
?>
<p><?php _e( 'If you have posts or comments in another system, WordPress can import those into this site. To get started, choose a system to import from below:' ); ?></p>
<?php
// Registered (already installed) importers. They're stored in the global $wp_importers.
$importers = get_importers();
// If a popular importer is not registered, create a dummy registration that links to the plugin installer.
foreach ( $popular_importers as $pop_importer => $pop_data ) {
if ( isset( $importers[ $pop_importer ] ) ) {
continue;
}
if ( isset( $importers[ $pop_data['importer-id'] ] ) ) {
continue;
}
// Fill the array of registered (already installed) importers with data of the popular importers from the WordPress.org API.
$importers[ $pop_data['importer-id'] ] = array(
$pop_data['name'],
$pop_data['description'],
'install' => $pop_data['plugin-slug'],
);
}
if ( empty( $importers ) ) {
echo '<p>' . __( 'No importers are available.' ) . '</p>'; // TODO: Make more helpful.
} else {
uasort( $importers, '_usort_by_first_member' );
?>
<table class="widefat importers striped">
<?php
foreach ( $importers as $importer_id => $data ) {
$plugin_slug = '';
$action = '';
$is_plugin_installed = false;
if ( isset( $data['install'] ) ) {
$plugin_slug = $data['install'];
if ( file_exists( WP_PLUGIN_DIR . '/' . $plugin_slug ) ) {
// Looks like an importer is installed, but not active.
$plugins = get_plugins( '/' . $plugin_slug );
if ( ! empty( $plugins ) ) {
$keys = array_keys( $plugins );
$plugin_file = $plugin_slug . '/' . $keys[0];
$url = wp_nonce_url(
add_query_arg(
array(
'action' => 'activate',
'plugin' => $plugin_file,
'from' => 'import',
),
admin_url( 'plugins.php' )
),
'activate-plugin_' . $plugin_file
);
$action = sprintf(
'<a href="%s" aria-label="%s">%s</a>',
esc_url( $url ),
/* translators: %s: Importer name. */
esc_attr( sprintf( __( 'Run %s' ), $data[0] ) ),
__( 'Run Importer' )
);
$is_plugin_installed = true;
}
}
if ( empty( $action ) ) {
if ( is_main_site() ) {
$url = wp_nonce_url(
add_query_arg(
array(
'action' => 'install-plugin',
'plugin' => $plugin_slug,
'from' => 'import',
),
self_admin_url( 'update.php' )
),
'install-plugin_' . $plugin_slug
);
$action = sprintf(
'<a href="%1$s" class="install-now" data-slug="%2$s" data-name="%3$s" aria-label="%4$s">%5$s</a>',
esc_url( $url ),
esc_attr( $plugin_slug ),
esc_attr( $data[0] ),
/* translators: %s: Importer name. */
esc_attr( sprintf( _x( 'Install %s now', 'plugin' ), $data[0] ) ),
_x( 'Install Now', 'plugin' )
);
} else {
$action = sprintf(
/* translators: %s: URL to Import screen on the main site. */
__( 'This importer is not installed. Please install importers from <a href="%s">the main site</a>.' ),
get_admin_url( get_current_network_id(), 'import.php' )
);
}
}
} else {
$url = add_query_arg(
array(
'import' => $importer_id,
),
self_admin_url( 'admin.php' )
);
$action = sprintf(
'<a href="%1$s" aria-label="%2$s">%3$s</a>',
esc_url( $url ),
/* translators: %s: Importer name. */
esc_attr( sprintf( __( 'Run %s' ), $data[0] ) ),
__( 'Run Importer' )
);
$is_plugin_installed = true;
}
if ( ! $is_plugin_installed && is_main_site() ) {
$url = add_query_arg(
array(
'tab' => 'plugin-information',
'plugin' => $plugin_slug,
'from' => 'import',
'TB_iframe' => 'true',
'width' => 600,
'height' => 550,
),
network_admin_url( 'plugin-install.php' )
);
$action .= sprintf(
' | <a href="%1$s" class="thickbox open-plugin-details-modal" aria-label="%2$s">%3$s</a>',
esc_url( $url ),
/* translators: %s: Importer name. */
esc_attr( sprintf( __( 'More information about %s' ), $data[0] ) ),
__( 'Details' )
);
}
echo "
<tr class='importer-item'>
<td class='import-system'>
<span class='importer-title'>{$data[0]}</span>
<span class='importer-action'>{$action}</span>
</td>
<td class='desc'>
<span class='importer-desc'>{$data[1]}</span>
</td>
</tr>";
}
?>
</table>
<?php
}
if ( current_user_can( 'install_plugins' ) ) {
echo '<p>' . sprintf(
/* translators: %s: URL to Add Plugins screen. */
__( 'If the importer you need is not listed, <a href="%s">search the plugin directory</a> to see if an importer is available.' ),
esc_url( network_admin_url( 'plugin-install.php?tab=search&type=tag&s=importer' ) )
) . '</p>';
}
/**
* Fires at the end of the Import screen.
*
* @since 6.8.0
*/
do_action( 'import_filters' );
?>
</div>
<?php
wp_print_request_filesystem_credentials_modal();
wp_print_admin_notice_templates();
require_once ABSPATH . 'wp-admin/admin-footer.php';
Nama
Tipe
Ukuran
Diubah
Aksi
📁 css
dir
—
2026-06-25 11:50
📁 images
dir
—
2026-06-25 11:50
📁 includes
dir
—
2026-06-25 11:50
📁 js
dir
—
2026-06-25 11:50
📁 maint
dir
—
2026-06-25 11:50
📁 network
dir
—
2026-06-25 11:50
📁 user
dir
—
2026-06-25 11:50
🐘 about.php
php
16 KB
2026-05-14 18:51
🐘 admin-ajax.php
php
5 KB
2024-07-04 15:22
🐘 admin-footer.php
php
2.7 KB
2026-01-05 21:04
🐘 admin-functions.php
php
479 B
2025-01-22 19:06
🐘 admin-header.php
php
9.1 KB
2026-02-15 13:02
🐘 admin-post.php
php
2 KB
2025-01-16 21:18
🐘 admin.php
php
12.6 KB
2026-03-13 03:24
🐘 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-03-07 04:20
🐘 contribute.php
php
5.9 KB
2026-05-14 18:51
🐘 credits.php
php
4.4 KB
2026-05-14 18:51
🐘 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-13 11:20
🐘 edit-comments.php
php
14.1 KB
2026-02-13 22:52
🐘 edit-form-advanced.php
php
28.8 KB
2026-01-05 21:04
🐘 edit-form-blocks.php
php
14.7 KB
2026-02-20 16:52
🐘 edit-form-comment.php
php
8.3 KB
2026-02-16 22:02
🐘 edit-link-form.php
php
6.2 KB
2025-02-08 16:44
🐘 edit-tag-form.php
php
10.4 KB
2026-01-05 21:04
🐘 edit-tags.php
php
22 KB
2026-01-05 21:04
🐘 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
1.5 KB
2026-06-25 12:11
🐘 export-personal-data.php
php
7.8 KB
2024-04-18 00:21
🐘 export.php
php
11 KB
2026-01-05 21:04
🐘 font-library.php
php
1 KB
2026-01-19 22:00
🐘 freedoms.php
php
4.8 KB
2026-05-14 18:51
🐘 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-02-19 02:14
🐘 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-01-09 07:40
🐘 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-02-01 15:18
🐘 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-04-27 04:04
🐘 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-01-06 10:57
🐘 nav-menus.php
php
49.1 KB
2026-02-17 11:47
🐘 network.php
php
5.4 KB
2024-03-09 03:38
🐘 options-connectors.php
php
1.1 KB
2026-03-05 17:09
🐘 options-discussion.php
php
15.9 KB
2025-11-11 03:51
🐘 options-general.php
php
22.3 KB
2026-02-28 04:43
🐘 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-03-05 00:48
🐘 options-privacy.php
php
9.9 KB
2026-01-09 09:22
🐘 options-reading.php
php
10 KB
2026-03-23 03:06
🐘 options-writing.php
php
9.1 KB
2026-05-08 19:59
🐘 options.php
php
13.9 KB
2026-05-08 19:59
🐘 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-02-20 07:25
🐘 privacy-policy-guide.php
php
3.7 KB
2023-11-22 22:44
🐘 privacy.php
php
2.8 KB
2026-05-14 18:51
🐘 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-02-19 02:14
🐘 site-editor.php
php
12.1 KB
2026-02-20 16:52
🐘 site-health-info.php
php
4.1 KB
2026-02-12 02:10
🐘 site-health.php
php
10.2 KB
2026-01-06 10:57
🐘 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-19 15:36
🐘 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-01-23 23:14
🐘 update.php
php
12.8 KB
2026-01-09 07:48
🐘 upgrade-functions.php
php
341 B
2020-02-06 11:33
🐘 upgrade.php
php
6.2 KB
2026-02-19 02:14
🐘 upload.php
php
14.9 KB
2026-01-09 07:26
🐘 user-edit.php
php
40.4 KB
2026-04-27 10:12
🐘 user-new.php
php
24.1 KB
2026-02-16 22:02
🐘 users.php
php
23.4 KB
2026-03-14 12:15
🐘 widgets-form-blocks.php
php
5.1 KB
2025-08-27 14:34
🐘 widgets-form.php
php
19.1 KB
2026-02-19 03:03
🐘 widgets.php
php
1.1 KB
2022-03-22 23:59