$79 GRAYBYTE WORDPRESS FILE MANAGER $12

SERVER : in-mum-web1330.main-hosting.eu #1 SMP Mon Feb 10 22:45:17 UTC 2025
SERVER IP : 88.222.222.223 | ADMIN IP 216.73.216.215
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/home/u550391411/domains/skyweb.solutions/.trash/wp-admin/

HOME
Current File : /home/u550391411/domains/skyweb.solutions/.trash/wp-admin//ms-delete-site.php
<?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 );

	$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.
	 *
	 * @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';

Current_dir [ WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
10 Feb 2024 6.32 AM
u550391411 / o200927086
0755
css
--
1 Feb 2024 2.44 PM
u550391411 / o200927086
0755
images
--
1 Feb 2024 2.44 PM
u550391411 / o200927086
0755
includes
--
1 Feb 2024 2.44 PM
u550391411 / o200927086
0755
js
--
1 Feb 2024 2.44 PM
u550391411 / o200927086
0755
maint
--
1 Feb 2024 2.44 PM
u550391411 / o200927086
0755
network
--
1 Feb 2024 2.44 PM
u550391411 / o200927086
0755
user
--
1 Feb 2024 2.44 PM
u550391411 / o200927086
0755
about.php
19.534 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
admin-ajax.php
4.826 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
admin-footer.php
2.757 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
admin-functions.php
0.396 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
admin-header.php
8.82 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
admin-post.php
1.999 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
admin.php
12.265 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
async-upload.php
4.677 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
authorize-application.php
10.093 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
comment.php
11.294 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
contribute.php
5.492 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
credits.php
3.675 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
custom-background.php
0.406 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
custom-header.php
0.416 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
customize.php
10.61 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
edit-comments.php
14.381 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
edit-form-advanced.php
28.629 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
edit-form-blocks.php
11.742 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
edit-form-comment.php
8.344 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
edit-link-form.php
6.213 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
edit-tag-form.php
10.452 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
edit-tags.php
21.91 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
edit.php
19.431 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
erase-personal-data.php
7.361 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
export-personal-data.php
7.759 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
export.php
11.015 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
freedoms.php
4.431 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
import.php
7.468 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
index.php
7.68 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
install-helper.php
6.798 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
install.php
17.091 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
link-add.php
0.725 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
link-manager.php
4.263 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
link-parse-opml.php
2.627 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
link.php
2.696 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
load-scripts.php
1.66 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
load-styles.php
2.564 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
media-new.php
3.185 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
media-upload.php
3.485 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
media.php
0.745 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
menu-header.php
9.836 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
menu.php
16.748 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
moderation.php
0.3 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
ms-admin.php
0.191 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
ms-delete-site.php
4.187 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
ms-edit.php
0.211 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
ms-options.php
0.218 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
ms-sites.php
0.21 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
ms-themes.php
0.212 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
ms-upgrade-network.php
0.214 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
ms-users.php
0.21 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
my-sites.php
4.744 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
nav-menus.php
47.764 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
network.php
5.354 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
options-discussion.php
15.577 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
options-general.php
16.789 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
options-head.php
0.48 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
options-media.php
6.353 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
options-permalink.php
21.123 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
options-privacy.php
9.971 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
options-reading.php
10.072 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
options-writing.php
9.056 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
options.php
13.305 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
plugin-editor.php
13.393 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
plugin-install.php
6.777 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
plugins.php
28.822 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
post-new.php
2.64 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
post.php
9.852 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
press-this.php
2.33 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
privacy-policy-guide.php
3.668 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
privacy.php
2.412 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
profile.php
0.276 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
revision.php
5.469 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
setup-config.php
17.326 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
site-editor.php
5.959 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
site-health-info.php
3.975 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
site-health.php
10.144 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
term.php
2.196 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
theme-editor.php
15.149 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
theme-install.php
23.351 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
themes.php
46.89 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
tools.php
3.432 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
update-core.php
45.2 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
update.php
12.785 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
upgrade-functions.php
0.333 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
upgrade.php
5.555 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
upload.php
14.842 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
user-edit.php
39.067 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
user-new.php
23.985 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
users.php
23.288 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
widgets-form-blocks.php
4.395 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
widgets-form.php
19.175 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644
widgets.php
1.086 KB
1 Feb 2024 2.44 PM
u550391411 / o200927086
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF