$81 GRAYBYTE WORDPRESS FILE MANAGER $98

SERVER : webd004.cluster105.gra.hosting.ovh.net #1 SMP Fri May 15 02:41:25 UTC 2026
SERVER IP : 213.186.33.16 | ADMIN IP 216.73.217.13
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : _dyuweyrj4,_dyuweyrj4r,dl

/home/agencefrei/www/framework-php-cache/wp-admin/

HOME
Current File : /home/agencefrei/www/framework-php-cache/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, 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';


Current_dir [ WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
29 May 2026 8.17 AM
agencefrei / users
0755
css
--
28 May 2026 12.50 PM
agencefrei / users
0755
images
--
28 May 2026 12.50 PM
agencefrei / users
0755
includes
--
28 May 2026 12.50 PM
agencefrei / users
0755
js
--
28 May 2026 12.50 PM
agencefrei / users
0755
maint
--
28 May 2026 12.50 PM
agencefrei / users
0755
network
--
28 May 2026 12.50 PM
agencefrei / users
0755
public-info
--
28 May 2026 12.50 PM
agencefrei / users
0755
user
--
28 May 2026 12.50 PM
agencefrei / users
0755
about.php
16.017 KB
20 May 2026 11.16 PM
agencefrei / users
0644
admin-ajax.php
5.025 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
admin-footer.php
2.745 KB
20 May 2026 11.16 PM
agencefrei / users
0644
admin-functions.php
0.468 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
admin-header.php
9.073 KB
20 May 2026 11.16 PM
agencefrei / users
0644
admin-post.php
1.974 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
admin.php
12.632 KB
20 May 2026 11.16 PM
agencefrei / users
0644
async-upload.php
5.473 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
authorize-application.php
10.093 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
comment.php
11.37 KB
20 May 2026 11.16 PM
agencefrei / users
0644
contribute.php
5.857 KB
20 May 2026 11.16 PM
agencefrei / users
0644
credits.php
4.378 KB
20 May 2026 11.16 PM
agencefrei / users
0644
custom-background.php
0.478 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
custom-header.php
0.487 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
customize.php
11.207 KB
20 May 2026 11.16 PM
agencefrei / users
0644
edit-comments.php
14.145 KB
20 May 2026 11.16 PM
agencefrei / users
0644
edit-form-advanced.php
28.795 KB
20 May 2026 11.16 PM
agencefrei / users
0644
edit-form-blocks.php
14.73 KB
20 May 2026 11.16 PM
agencefrei / users
0644
edit-form-comment.php
8.333 KB
20 May 2026 11.16 PM
agencefrei / users
0644
edit-link-form.php
6.205 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
edit-tag-form.php
10.415 KB
20 May 2026 11.16 PM
agencefrei / users
0644
edit-tags.php
21.982 KB
20 May 2026 11.16 PM
agencefrei / users
0644
edit.php
19.484 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
erase-personal-data.php
7.329 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
export-personal-data.php
7.755 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
export.php
11.001 KB
20 May 2026 11.16 PM
agencefrei / users
0644
font-library.php
1.012 KB
20 May 2026 11.16 PM
agencefrei / users
0644
freedoms.php
4.801 KB
20 May 2026 11.16 PM
agencefrei / users
0644
import.php
7.584 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
index.php
7.68 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
install-helper.php
6.798 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
install.php
17.907 KB
20 May 2026 11.16 PM
agencefrei / users
0644
link-add.php
0.912 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
link-manager.php
4.259 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
link-parse-opml.php
2.635 KB
20 May 2026 11.16 PM
agencefrei / users
0644
link.php
2.888 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
load-scripts.php
2.021 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
load-styles.php
2.925 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
media-new.php
3.173 KB
20 May 2026 11.16 PM
agencefrei / users
0644
media-upload.php
3.582 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
media.php
0.8 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
menu-header.php
9.823 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
menu.php
17.716 KB
20 May 2026 11.16 PM
agencefrei / users
0644
moderation.php
0.3 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
ms-admin.php
0.191 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
ms-delete-site.php
4.505 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
ms-edit.php
0.211 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
ms-options.php
0.224 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
ms-sites.php
0.21 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
ms-themes.php
0.212 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
ms-upgrade-network.php
0.214 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
ms-users.php
0.21 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
my-sites.php
4.718 KB
20 May 2026 11.16 PM
agencefrei / users
0644
nav-menus.php
49.073 KB
20 May 2026 11.16 PM
agencefrei / users
0644
network.php
5.393 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
options-connectors.php
1.07 KB
20 May 2026 11.16 PM
agencefrei / users
0644
options-discussion.php
15.915 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
options-general.php
22.315 KB
20 May 2026 11.16 PM
agencefrei / users
0644
options-head.php
0.606 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
options-media.php
6.377 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
options-permalink.php
21.891 KB
20 May 2026 11.16 PM
agencefrei / users
0644
options-privacy.php
9.925 KB
20 May 2026 11.16 PM
agencefrei / users
0644
options-reading.php
9.974 KB
20 May 2026 11.16 PM
agencefrei / users
0644
options-writing.php
9.104 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
options.php
13.932 KB
20 May 2026 11.16 PM
agencefrei / users
0644
plugin-editor.php
13.752 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
plugin-install.php
6.957 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
plugins.php
30.004 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
post-new.php
2.703 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
post.php
10.033 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
press-this.php
2.412 KB
20 May 2026 11.16 PM
agencefrei / users
0644
privacy-policy-guide.php
3.668 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
privacy.php
2.787 KB
20 May 2026 11.16 PM
agencefrei / users
0644
profile.php
0.276 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
revision.php
5.699 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
setup-config.php
17.524 KB
20 May 2026 11.16 PM
agencefrei / users
0644
site-editor.php
12.072 KB
20 May 2026 11.16 PM
agencefrei / users
0644
site-health-info.php
4.053 KB
20 May 2026 11.16 PM
agencefrei / users
0644
site-health.php
10.177 KB
20 May 2026 11.16 PM
agencefrei / users
0644
term.php
2.196 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
theme-editor.php
16.874 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
theme-install.php
23.552 KB
20 May 2026 11.16 PM
agencefrei / users
0644
themes.php
47.925 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
tools.php
3.432 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
update-core.php
45.119 KB
20 May 2026 11.16 PM
agencefrei / users
0644
update.php
12.756 KB
20 May 2026 11.16 PM
agencefrei / users
0644
upgrade-functions.php
0.333 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
upgrade.php
6.24 KB
20 May 2026 11.16 PM
agencefrei / users
0644
upload.php
14.899 KB
20 May 2026 11.16 PM
agencefrei / users
0644
user-edit.php
40.351 KB
20 May 2026 11.16 PM
agencefrei / users
0644
user-new.php
24.062 KB
20 May 2026 11.16 PM
agencefrei / users
0644
users.php
23.439 KB
20 May 2026 11.16 PM
agencefrei / users
0644
widgets-form-blocks.php
5.119 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
widgets-form.php
19.136 KB
20 May 2026 11.16 PM
agencefrei / users
0644
widgets.php
1.086 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF Static GIF