ACIL FM
Dark
Refresh
Current DIR:
/home/mhhtmff/www/site/wp-content/plugins/wordpress-seo/src/integrations
/
home
mhhtmff
www
site
wp-content
plugins
wordpress-seo
src
integrations
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
admin
-
chmod
Open
Rename
Delete
alerts
-
chmod
Open
Rename
Delete
blocks
-
chmod
Open
Rename
Delete
front-end
-
chmod
Open
Rename
Delete
third-party
-
chmod
Open
Rename
Delete
watchers
-
chmod
Open
Rename
Delete
abstract-exclude-post-type.php
1.12 MB
chmod
View
DL
Edit
Rename
Delete
academy-integration.php
4.48 MB
chmod
View
DL
Edit
Rename
Delete
breadcrumbs-integration.php
2 MB
chmod
View
DL
Edit
Rename
Delete
cleanup-integration.php
8.04 MB
chmod
View
DL
Edit
Rename
Delete
duplicate-post-integration.php
860 B
chmod
View
DL
Edit
Rename
Delete
estimated-reading-time.php
1.08 MB
chmod
View
DL
Edit
Rename
Delete
exclude-attachment-post-type.php
810 B
chmod
View
DL
Edit
Rename
Delete
exclude-oembed-cache-post-type.php
822 B
chmod
View
DL
Edit
Rename
Delete
feature-flag-integration.php
2.93 MB
chmod
View
DL
Edit
Rename
Delete
front-end-integration.php
16.43 MB
chmod
View
DL
Edit
Rename
Delete
integration-interface.php
426 B
chmod
View
DL
Edit
Rename
Delete
primary-category.php
1.95 MB
chmod
View
DL
Edit
Rename
Delete
settings-integration.php
28.43 MB
chmod
View
DL
Edit
Rename
Delete
support-integration.php
4.43 MB
chmod
View
DL
Edit
Rename
Delete
uninstall-integration.php
1006 B
chmod
View
DL
Edit
Rename
Delete
xmlrpc.php
1.22 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /home/mhhtmff/www/site/wp-content/plugins/wordpress-seo/src/integrations/xmlrpc.php
<?php namespace Yoast\WP\SEO\Integrations; use Yoast\WP\SEO\Conditionals\XMLRPC_Conditional; /** * Noindexes the xmlrpc.php file and all ways to request it. * * @phpcs:disable Yoast.NamingConventions.ObjectNameDepth.MaxExceeded -- Known false positive with acronyms. Fix expected in YoastCS 3.x. */ class XMLRPC implements Integration_Interface { /** * Returns the conditionals based on which this loadable should be active. * * In this case when the current request is an XML-RPC request. * * @return array The conditionals based on which this class should be loaded. */ public static function get_conditionals() { return [ XMLRPC_Conditional::class ]; } /** * Initializes the integration. * * @return void */ public function register_hooks() { \add_filter( 'xmlrpc_methods', [ $this, 'robots_header' ] ); } /** * Sets a noindex, follow x-robots-tag header on all XMLRPC requests. * * @codeCoverageIgnore Basically impossible to test from the command line. * * @param array $methods The methods. * * @return array The methods. */ public function robots_header( $methods ) { if ( \headers_sent() === false ) { \header( 'X-Robots-Tag: noindex, follow', true ); } return $methods; } }
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply