✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ webm004.cluster127.gra.hosting.ovh.net ​🇻​♯➤ 6.18.42-ovh-vps-grsec-zfs+ #1 SMP 🇾​♯➤ 2026

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 54.36.91.62 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.223
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ _dyuweyrj4,_dyuweyrj4r,dl

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /home/docteuh/www/wp-tmp-bundled/wordpress-seo/admin//class-remote-request.php
<?php
/**
 * WPSEO plugin file.
 *
 * @package WPSEO\Admin
 */

/**
 * This class handles a post request being send to a given endpoint.
 */
class WPSEO_Remote_Request {

	/**
	 * Holds the post method.
	 *
	 * @var string
	 */
	public const METHOD_POST = 'post';

	/**
	 * Holds the get method.
	 *
	 * @var string
	 */
	public const METHOD_GET = 'get';

	/**
	 * Holds the endpoint to send the request to.
	 *
	 * @var string
	 */
	protected $endpoint = '';

	/**
	 * Holds the arguments to use in this request.
	 *
	 * @var array
	 */
	protected $args = [
		'blocking'  => false,
		'timeout'   => 2,
	];

	/**
	 * Holds the response error.
	 *
	 * @var WP_Error|null
	 */
	protected $response_error;

	/**
	 * Holds the response body.
	 *
	 * @var mixed
	 */
	protected $response_body;

	/**
	 * Sets the endpoint and arguments.
	 *
	 * @param string $endpoint The endpoint to send the request to.
	 * @param array  $args     The arguments to use in this request.
	 */
	public function __construct( $endpoint, array $args = [] ) {
		$this->endpoint = $endpoint;
		$this->args     = wp_parse_args( $this->args, $args );
	}

	/**
	 * Sets the request body.
	 *
	 * @param mixed $body The body to set.
	 *
	 * @return void
	 */
	public function set_body( $body ) {
		$this->args['body'] = $body;
	}

	/**
	 * Sends the data to the given endpoint.
	 *
	 * @param string $method The type of request to send.
	 *
	 * @return bool True when sending data has been successful.
	 */
	public function send( $method = self::METHOD_POST ) {
		switch ( $method ) {
			case self::METHOD_POST:
				$response = $this->post();
				break;
			case self::METHOD_GET:
				$response = $this->get();
				break;
			default:
				/* translators: %1$s expands to the request method  */
				$response = new WP_Error( 1, sprintf( __( 'Request method %1$s is not valid.', 'wordpress-seo' ), $method ) );
				break;
		}

		return $this->process_response( $response );
	}

	/**
	 * Returns the value of the response error.
	 *
	 * @return WP_Error|null The response error.
	 */
	public function get_response_error() {
		return $this->response_error;
	}

	/**
	 * Returns the response body.
	 *
	 * @return mixed The response body.
	 */
	public function get_response_body() {
		return $this->response_body;
	}

	/**
	 * Processes the given response.
	 *
	 * @param mixed $response The response to process.
	 *
	 * @return bool True when response is valid.
	 */
	protected function process_response( $response ) {
		if ( $response instanceof WP_Error ) {
			$this->response_error = $response;

			return false;
		}

		$this->response_body = wp_remote_retrieve_body( $response );

		return ( wp_remote_retrieve_response_code( $response ) === 200 );
	}

	/**
	 * Performs a post request to the specified endpoint with set arguments.
	 *
	 * @return WP_Error|array The response or WP_Error on failure.
	 */
	protected function post() {
		return wp_remote_post( $this->endpoint, $this->args );
	}

	/**
	 * Performs a post request to the specified endpoint with set arguments.
	 *
	 * @return WP_Error|array The response or WP_Error on failure.
	 */
	protected function get() {
		return wp_remote_get( $this->endpoint, $this->args );
	}
}


Current_dir [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
23 Sep 2026 6.59 AM
docteuh / users
0755
ajax
--
10 Sep 2026 9.50 AM
docteuh / users
0755
capabilities
--
10 Sep 2026 9.50 AM
docteuh / users
0755
endpoints
--
10 Sep 2026 9.50 AM
docteuh / users
0755
exceptions
--
10 Sep 2026 9.50 AM
docteuh / users
0755
formatter
--
10 Sep 2026 9.50 AM
docteuh / users
0755
import
--
10 Sep 2026 9.50 AM
docteuh / users
0755
listeners
--
10 Sep 2026 9.50 AM
docteuh / users
0755
metabox
--
10 Sep 2026 9.50 AM
docteuh / users
0755
notifiers
--
10 Sep 2026 9.50 AM
docteuh / users
0755
services
--
10 Sep 2026 9.50 AM
docteuh / users
0755
statistics
--
10 Sep 2026 9.50 AM
docteuh / users
0755
taxonomy
--
10 Sep 2026 9.50 AM
docteuh / users
0755
tracking
--
21 Sep 2026 9.43 PM
docteuh / users
0755
watchers
--
10 Sep 2026 9.50 AM
docteuh / users
0755
admin-settings-changed-listener.php
2.388 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
ajax.php
11.161 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-admin-asset-analysis-worker-location.php
1.807 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-admin-asset-dev-server-location.php
1.605 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-admin-asset-manager.php
20.573 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-admin-editor-specific-replace-vars.php
6.347 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-admin-gutenberg-compatibility-notification.php
2.551 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-admin-help-panel.php
2.697 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-admin-init.php
10.717 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-admin-recommended-replace-vars-20260829042903.php
5.984 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-admin-recommended-replace-vars.php
5.984 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-admin-utils.php
2.149 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-admin.php
12.73 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-asset.php
4.302 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-bulk-description-editor-list-table.php
2.052 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-bulk-editor-list-table.php
29.433 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-bulk-title-editor-list-table.php
2.233 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-collector.php
0.981 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-database-proxy-20260903235427.php
7.508 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-database-proxy.php
7.508 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-export.php
3.462 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-expose-shortlinks.php
7.085 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-my-yoast-proxy.php
6.14 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-option-tabs-formatter.php
2.838 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-option-tabs.php
2.257 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-paper-presenter.php
3.516 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-plugin-availability.php
10.064 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-plugin-conflict.php
4.044 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-premium-popup.php
2.808 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-primary-term-admin.php
7.318 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-product-upsell-notice.php
5.754 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-remote-request.php
3.128 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-schema-person-upgrade-notification.php
2.232 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-suggested-plugins.php
4.328 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-wincher-dashboard-widget.php
3.531 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-yoast-columns.php
3.521 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-yoast-dashboard-widget.php
3.928 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-yoast-input-validation.php
7.205 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-yoast-network-admin.php
9.972 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-yoast-network-settings-api.php
4.143 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-yoast-notification-center.php
26.023 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-yoast-notification.php
10.098 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-yoast-notifications.php
7.63 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-yoast-plugin-conflict-ajax.php
3.424 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-yoast-plugin-conflict.php
10.288 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
icon-redirect-manager-20260829102432-20260830003633-20260830003700-20260830003856-20260830144522.svg
1.299 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
icon-redirect-manager.svg
1.299 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
index.php
0.037 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
integration-interface.php
0.416 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
interface-collection.php
0.251 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
interface-installable.php
0.248 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
string-helper.php
1.189 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
yoast.svg
1.334 KB
23 Jun 2026 6.19 PM
docteuh / users
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF