golden hour
/home/phakp/public_html/wp/wp-admin
⬆️ Go Up
Upload
File/Folder
Size
Actions
about.php
24.38 KB
Del
OK
admin-ajax.php
4.54 KB
Del
OK
admin-footer.php
2.77 KB
Del
OK
admin-functions.php
406 B
Del
OK
admin-header.php
8 KB
Del
OK
admin-post.php
1.63 KB
Del
OK
admin.php
11.82 KB
Del
OK
async-upload.php
3.71 KB
Del
OK
comment.php
10.73 KB
Del
OK
credits.php
4.55 KB
Del
OK
css
-
Del
OK
custom-background.php
416 B
Del
OK
custom-header.php
426 B
Del
OK
customize.php
9.4 KB
Del
OK
edit-comments.php
13.42 KB
Del
OK
edit-form-advanced.php
28.12 KB
Del
OK
edit-form-blocks.php
13.73 KB
Del
OK
edit-form-comment.php
7.92 KB
Del
OK
edit-link-form.php
6.08 KB
Del
OK
edit-tag-form.php
9.86 KB
Del
OK
edit-tags.php
21.39 KB
Del
OK
edit.php
18.02 KB
Del
OK
erase-personal-data.php
3.15 KB
Del
OK
error_log
436 B
Del
OK
export-personal-data.php
3.13 KB
Del
OK
export.php
10.69 KB
Del
OK
freedoms.php
4.5 KB
Del
OK
images
-
Del
OK
import.php
7.34 KB
Del
OK
includes
-
Del
OK
index.php
5.75 KB
Del
OK
install-helper.php
5.77 KB
Del
OK
install.php
16.62 KB
Del
OK
js
-
Del
OK
link-add.php
711 B
Del
OK
link-manager.php
4.09 KB
Del
OK
link-parse-opml.php
2.55 KB
Del
OK
link.php
2.67 KB
Del
OK
load-scripts.php
1.65 KB
Del
OK
load-styles.php
2.24 KB
Del
OK
maint
-
Del
OK
media-new.php
3.12 KB
Del
OK
media-upload.php
3.28 KB
Del
OK
media.php
5.47 KB
Del
OK
menu-header.php
9.52 KB
Del
OK
menu.php
14.15 KB
Del
OK
moderation.php
307 B
Del
OK
ms-admin.php
196 B
Del
OK
ms-delete-site.php
4.08 KB
Del
OK
ms-edit.php
216 B
Del
OK
ms-options.php
223 B
Del
OK
ms-sites.php
215 B
Del
OK
ms-themes.php
217 B
Del
OK
ms-upgrade-network.php
219 B
Del
OK
ms-users.php
215 B
Del
OK
my-sites.php
4.53 KB
Del
OK
nav-menus.php
42.88 KB
Del
OK
network
-
Del
OK
network.php
5.25 KB
Del
OK
options-discussion.php
14.94 KB
Del
OK
options-general.php
14.59 KB
Del
OK
options-head.php
492 B
Del
OK
options-media.php
6.09 KB
Del
OK
options-permalink.php
18.76 KB
Del
OK
options-privacy.php
7.88 KB
Del
OK
options-reading.php
9.47 KB
Del
OK
options-writing.php
8.42 KB
Del
OK
options.php
12.01 KB
Del
OK
plugin-editor.php
13.05 KB
Del
OK
plugin-install.php
6.24 KB
Del
OK
plugins.php
23.81 KB
Del
OK
post-new.php
2.63 KB
Del
OK
post.php
9.73 KB
Del
OK
press-this.php
2.33 KB
Del
OK
privacy-policy-guide.php
833 B
Del
OK
privacy.php
2.29 KB
Del
OK
profile.php
283 B
Del
OK
revision.php
5.07 KB
Del
OK
setup-config.php
15.53 KB
Del
OK
site-health-info.php
5.64 KB
Del
OK
site-health.php
5.2 KB
Del
OK
term.php
2.2 KB
Del
OK
theme-editor.php
14.79 KB
Del
OK
theme-install.php
14.84 KB
Del
OK
themes.php
23.07 KB
Del
OK
tools.php
3.37 KB
Del
OK
update-core.php
33 KB
Del
OK
update.php
10.32 KB
Del
OK
upgrade-functions.php
341 B
Del
OK
upgrade.php
5.52 KB
Del
OK
upload.php
13.59 KB
Del
OK
user
-
Del
OK
user-edit.php
28.53 KB
Del
OK
user-new.php
21.81 KB
Del
OK
users.php
19.43 KB
Del
OK
widgets.php
19.28 KB
Del
OK
Edit: site-health-info.php
<?php /** * Tools Administration Screen. * * @package WordPress * @subpackage Administration */ /** WordPress Administration Bootstrap */ require_once __DIR__ . '/admin.php'; $title = __( 'Site Health Info' ); if ( ! current_user_can( 'view_site_health_checks' ) ) { wp_die( __( 'Sorry, you are not allowed to access the debug data.' ), '', 403 ); } wp_enqueue_style( 'site-health' ); wp_enqueue_script( 'site-health' ); if ( ! class_exists( 'WP_Debug_Data' ) ) { require_once ABSPATH . 'wp-admin/includes/class-wp-debug-data.php'; } if ( ! class_exists( 'WP_Site_Health' ) ) { require_once ABSPATH . 'wp-admin/includes/class-wp-site-health.php'; } $health_check_site_status = WP_Site_Health::get_instance(); 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> <div class="health-check-title-section site-health-progress-wrapper loading hide-if-no-js"> <div class="site-health-progress"> <svg role="img" 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…' ); ?> </div> </div> <nav class="health-check-tabs-wrapper hide-if-no-js" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>"> <a href="<?php echo esc_url( admin_url( 'site-health.php' ) ); ?>" class="health-check-tab"> <?php /* translators: Tab heading for Site Health Status page. */ _ex( 'Status', 'Site Health' ); ?> </a> <a href="<?php echo esc_url( admin_url( 'site-health.php?tab=debug' ) ); ?>" class="health-check-tab active" aria-current="true"> <?php /* translators: Tab heading for Site Health Info page. */ _ex( 'Info', 'Site Health' ); ?> </a> </nav> </div> <hr class="wp-header-end"> <div class="notice notice-error hide-if-js"> <p><?php _e( 'The Site Health check requires JavaScript.' ); ?></p> </div> <div class="health-check-body health-check-debug-tab hide-if-no-js"> <?php WP_Debug_Data::check_for_updates(); $info = WP_Debug_Data::debug_data(); ?> <h2> <?php _e( 'Site Health Info' ); ?> </h2> <p> <?php /* translators: %s: URL to Site Health Status page. */ printf( __( 'This page can show you every detail about the configuration of your WordPress website. For any improvements that could be made, see the <a href="%s">Site Health Status</a> page.' ), esc_url( admin_url( 'site-health.php' ) ) ); ?> </p> <p> <?php _e( 'If you want to export a handy list of all the information on this page, you can use the button below to copy it to the clipboard. You can then paste it in a text file and save it to your device, or paste it in an email exchange with a support engineer or theme/plugin developer for example.' ); ?> </p> <div class="site-health-copy-buttons"> <div class="copy-button-wrapper"> <button type="button" class="button copy-button" data-clipboard-text="<?php echo esc_attr( WP_Debug_Data::format( $info, 'debug' ) ); ?>"> <?php _e( 'Copy site info to clipboard' ); ?> </button> <span class="success" aria-hidden="true"><?php _e( 'Copied!' ); ?></span> </div> </div> <div id="health-check-debug" class="health-check-accordion"> <?php $sizes_fields = array( 'uploads_size', 'themes_size', 'plugins_size', 'wordpress_size', 'database_size', 'total_size' ); foreach ( $info as $section => $details ) { if ( ! isset( $details['fields'] ) || empty( $details['fields'] ) ) { continue; } ?> <h3 class="health-check-accordion-heading"> <button aria-expanded="false" class="health-check-accordion-trigger" aria-controls="health-check-accordion-block-<?php echo esc_attr( $section ); ?>" type="button"> <span class="title"> <?php echo esc_html( $details['label'] ); ?> <?php if ( isset( $details['show_count'] ) && $details['show_count'] ) { printf( '(%d)', count( $details['fields'] ) ); } ?> </span> <?php if ( 'wp-paths-sizes' === $section ) { ?> <span class="health-check-wp-paths-sizes spinner"></span> <?php } ?> <span class="icon"></span> </button> </h3> <div id="health-check-accordion-block-<?php echo esc_attr( $section ); ?>" class="health-check-accordion-panel" hidden="hidden"> <?php if ( isset( $details['description'] ) && ! empty( $details['description'] ) ) { printf( '<p>%s</p>', $details['description'] ); } ?> <table class="widefat striped health-check-table" role="presentation"> <tbody> <?php foreach ( $details['fields'] as $field_name => $field ) { if ( is_array( $field['value'] ) ) { $values = '<ul>'; foreach ( $field['value'] as $name => $value ) { $values .= sprintf( '<li>%s: %s</li>', esc_html( $name ), esc_html( $value ) ); } $values .= '</ul>'; } else { $values = esc_html( $field['value'] ); } if ( in_array( $field_name, $sizes_fields, true ) ) { printf( '<tr><td>%s</td><td class="%s">%s</td></tr>', esc_html( $field['label'] ), esc_attr( $field_name ), $values ); } else { printf( '<tr><td>%s</td><td>%s</td></tr>', esc_html( $field['label'] ), $values ); } } ?> </tbody> </table> </div> <?php } ?> </div> </div> <?php require_once ABSPATH . 'wp-admin/admin-footer.php';
Save