/
var
/
www
/
vhosts
/
ihelp.ro
/
ajutam.ro
/
wp-admin
/
/var/www/vhosts/ihelp.ro/ajutam.ro/wp-admin
mkdir
upload
Name
Size
Mode
Actions
css/
-
0755
rm
images/
-
0755
rm
includes/
-
0755
rm
js/
-
0755
rm
maint/
-
0755
rm
network/
-
0755
rm
user/
-
0755
rm
about.php
19804
0644
edit
dl
rm
admin-ajax.php
5146
0644
edit
dl
rm
admin-footer.php
2834
0644
edit
dl
rm
admin-functions.php
479
0644
edit
dl
rm
admin-header.php
9336
0644
edit
dl
rm
admin-post.php
2021
0644
edit
dl
rm
admin.php
12646
0644
edit
dl
rm
async-upload.php
5604
0644
edit
dl
rm
authorize-application.php
10335
0644
edit
dl
rm
comment.php
11622
0644
edit
dl
rm
contribute.php
5998
0644
edit
dl
rm
credits.php
4483
0644
edit
dl
rm
custom-background.php
489
0644
edit
dl
rm
custom-header.php
499
0644
edit
dl
rm
customize.php
11271
0644
edit
dl
rm
edit-comments.php
14729
0644
edit
dl
rm
edit-form-advanced.php
29527
0644
edit
dl
rm
edit-form-blocks.php
14947
0644
edit
dl
rm
edit-form-comment.php
8543
0644
edit
dl
rm
edit-link-form.php
6354
0644
edit
dl
rm
edit-tag-form.php
10688
0644
edit
dl
rm
edit-tags.php
22533
0644
edit
dl
rm
edit.php
19952
0644
edit
dl
rm
erase-personal-data.php
7505
0644
edit
dl
rm
export-personal-data.php
7941
0644
edit
dl
rm
export.php
11288
0644
edit
dl
rm
freedoms.php
4916
0644
edit
dl
rm
import.php
7766
0644
edit
dl
rm
index.php
7864
0644
edit
dl
rm
install-helper.php
6961
0644
edit
dl
rm
install.php
18192
0644
edit
dl
rm
link-add.php
934
0644
edit
dl
rm
link-manager.php
4361
0644
edit
dl
rm
link-parse-opml.php
2784
0644
edit
dl
rm
link.php
2957
0644
edit
dl
rm
load-scripts.php
2070
0644
edit
dl
rm
load-styles.php
2995
0644
edit
dl
rm
media-new.php
3276
0644
edit
dl
rm
media-upload.php
3668
0644
edit
dl
rm
media.php
819
0644
edit
dl
rm
menu-header.php
10059
0644
edit
dl
rm
menu.php
17880
0644
edit
dl
rm
moderation.php
307
0644
edit
dl
rm
ms-admin.php
196
0644
edit
dl
rm
ms-delete-site.php
4613
0644
edit
dl
rm
ms-edit.php
216
0644
edit
dl
rm
ms-options.php
229
0644
edit
dl
rm
ms-sites.php
215
0644
edit
dl
rm
ms-themes.php
217
0644
edit
dl
rm
ms-upgrade-network.php
219
0644
edit
dl
rm
ms-users.php
215
0644
edit
dl
rm
my-sites.php
4858
0644
edit
dl
rm
nav-menus.php
49345
0644
edit
dl
rm
network.php
5522
0644
edit
dl
rm
options-discussion.php
16297
0644
edit
dl
rm
options-general.php
22167
0644
edit
dl
rm
options-head.php
621
0644
edit
dl
rm
options-media.php
6530
0644
edit
dl
rm
options-permalink.php
21726
0644
edit
dl
rm
options-privacy.php
10190
0644
edit
dl
rm
options-reading.php
10174
0644
edit
dl
rm
options-writing.php
9323
0644
edit
dl
rm
options.php
13930
0644
edit
dl
rm
plugin-editor.php
14082
0644
edit
dl
rm
plugin-install.php
7124
0644
edit
dl
rm
plugins.php
30724
0644
edit
dl
rm
post-new.php
2768
0644
edit
dl
rm
post.php
10274
0644
edit
dl
rm
press-this.php
2396
0644
edit
dl
rm
privacy-policy-guide.php
3756
0644
edit
dl
rm
privacy.php
2854
0644
edit
dl
rm
profile.php
283
0644
edit
dl
rm
revision.php
5836
0644
edit
dl
rm
setup-config.php
17904
0644
edit
dl
rm
site-editor.php
12271
0644
edit
dl
rm
site-health-info.php
4088
0644
edit
dl
rm
site-health.php
10448
0644
edit
dl
rm
term.php
2249
0644
edit
dl
rm
theme-editor.php
17279
0644
edit
dl
rm
theme-install.php
23945
0644
edit
dl
rm
themes.php
49075
0644
edit
dl
rm
tools.php
3514
0644
edit
dl
rm
update-core.php
46539
0644
edit
dl
rm
update.php
13092
0644
edit
dl
rm
upgrade-functions.php
341
0644
edit
dl
rm
upgrade.php
6422
0644
edit
dl
rm
upload.php
15259
0644
edit
dl
rm
user-edit.php
41328
0644
edit
dl
rm
user-new.php
24623
0644
edit
dl
rm
users.php
23846
0644
edit
dl
rm
widgets-form-blocks.php
5242
0644
edit
dl
rm
widgets-form.php
19754
0644
edit
dl
rm
widgets.php
1112
0644
edit
dl
rm
Edit:
/var/www/vhosts/ihelp.ro/ajutam.ro/wp-admin/site-health.php
(10448B)
<?php /** * Tools Administration Screen. * * @package WordPress * @subpackage Administration */ /** WordPress Administration Bootstrap */ require_once __DIR__ . '/admin.php'; $action = ! empty( $_REQUEST['action'] ) ? sanitize_text_field( $_REQUEST['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…' ); ?> </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 site’s performance or security. 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 in areas such as security, performance, and user experience.' ); ?></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';
Save
cmd:
run