??????????????
??????????????
??????????????
??????????????
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/ms-delete-site.php
⬅ Kembali
<?php
/**
* Multisite delete site panel.
*
* @package WordPress
* @subpackage Multisite
* @since 3.0.0
*/
require_once __DIR__ . '/admin.php';
if ( ! is_multisite() ) {
wp_die( __( 'Multisite support is not enabled.' ) );
}
if ( ! current_user_can( 'delete_site' ) ) {
wp_die( __( 'Sorry, you are not allowed to delete this site.' ) );
}
if ( isset( $_GET['h'] ) && '' !== $_GET['h'] && false !== get_option( 'delete_blog_hash' ) ) {
if ( hash_equals( get_option( 'delete_blog_hash' ), $_GET['h'] ) ) {
wpmu_delete_blog( get_current_blog_id() );
wp_die(
sprintf(
/* translators: %s: Network title. */
__( 'Thank you for using %s, your site has been deleted. Happy trails to you until we meet again.' ),
get_network()->site_name
)
);
} else {
wp_die( __( 'Sorry, the link you clicked is stale. Please select another option.' ) );
}
}
$blog = get_site();
$user = wp_get_current_user();
// Used in the HTML title tag.
$title = __( 'Delete Site' );
$parent_file = 'tools.php';
require_once ABSPATH . 'wp-admin/admin-header.php';
echo '<div class="wrap">';
echo '<h1>' . esc_html( $title ) . '</h1>';
if ( isset( $_POST['action'] ) && 'deleteblog' === $_POST['action'] && isset( $_POST['confirmdelete'] ) && '1' === $_POST['confirmdelete'] ) {
check_admin_referer( 'delete-blog' );
$hash = wp_generate_password( 20, false );
update_option( 'delete_blog_hash', $hash, false );
$url_delete = esc_url( admin_url( 'ms-delete-site.php?h=' . $hash ) );
$switched_locale = switch_to_locale( get_locale() );
/* translators: Do not translate USERNAME, URL_DELETE, SITENAME, SITEURL: those are placeholders. */
$content = __(
"Howdy ###USERNAME###,
You recently clicked the 'Delete Site' link on your site and filled in a
form on that page.
If you really want to delete your site, click the link below. You will not
be asked to confirm again so only click this link if you are absolutely certain:
###URL_DELETE###
If you delete your site, please consider opening a new site here some time in
the future! (But remember that your current site and username are gone forever.)
Thank you for using the site,
All at ###SITENAME###
###SITEURL###"
);
/**
* Filters the text for the email sent to the site admin when a request to delete a site in a Multisite network is submitted.
*
* The following strings have a special meaning and will get replaced dynamically:
*
* - `###USERNAME###` The current user's username.
* - `###URL_DELETE###` The link to click on to confirm the site deletion.
* - `###SITENAME###` The name of the site.
* - `###SITEURL###` The URL to the site.
*
* @since 3.0.0
*
* @param string $content The email text.
*/
$content = apply_filters( 'delete_site_email_content', $content );
$content = str_replace( '###USERNAME###', $user->user_login, $content );
$content = str_replace( '###URL_DELETE###', $url_delete, $content );
$content = str_replace( '###SITENAME###', get_network()->site_name, $content );
$content = str_replace( '###SITEURL###', network_home_url(), $content );
wp_mail(
get_option( 'admin_email' ),
sprintf(
/* translators: %s: Site title. */
__( '[%s] Delete My Site' ),
wp_specialchars_decode( get_option( 'blogname' ) )
),
$content
);
if ( $switched_locale ) {
restore_previous_locale();
}
?>
<p><?php _e( 'Thank you. Please check your email for a link to confirm your action. Your site will not be deleted until this link is clicked.' ); ?></p>
<?php
} else {
?>
<p>
<?php
printf(
/* translators: %s: Network title. */
__( 'If you do not want to use your %s site any more, you can delete it using the form below. When you click <strong>Delete My Site Permanently</strong> you will be sent an email with a link in it. Click on this link to delete your site.' ),
get_network()->site_name
);
?>
</p>
<p><?php _e( 'Remember, once deleted your site cannot be restored.' ); ?></p>
<form method="post" name="deletedirect">
<?php wp_nonce_field( 'delete-blog' ); ?>
<input type="hidden" name="action" value="deleteblog" />
<p><input id="confirmdelete" type="checkbox" name="confirmdelete" value="1" /> <label for="confirmdelete"><strong>
<?php
printf(
/* translators: %s: Site address. */
__( "I'm sure I want to permanently delete my site, and I am aware I can never get it back or use %s again." ),
$blog->domain . $blog->path
);
?>
</strong></label></p>
<?php submit_button( __( 'Delete My Site Permanently' ) ); ?>
</form>
<?php
}
echo '</div>';
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