/home/fortodpl/thecutediva.com/wp-content/plugins/wordpress-seo/admin
NameSizeModeActions
ajax/-0755rm
capabilities/-0755rm
endpoints/-0755rm
exceptions/-0755rm
filters/-0755rm
formatter/-0755rm
google_search_console/-0755rm
import/-0755rm
listeners/-0755rm
menu/-0755rm
metabox/-0755rm
notifiers/-0755rm
pages/-0755rm
roles/-0755rm
services/-0755rm
statistics/-0755rm
taxonomy/-0755rm
tracking/-0755rm
views/-0755rm
watchers/-0755rm
admin-settings-changed-listener.php24450644editdlrm
ajax.php120250644editdlrm
class-admin-asset-analysis-worker-location.php18500644editdlrm
class-admin-asset-dev-server-location.php16440644editdlrm
class-admin-asset-location.php4880644editdlrm
class-admin-asset-manager.php214560644editdlrm
class-admin-asset-seo-location.php21260644editdlrm
class-admin-editor-specific-replace-vars.php64990644editdlrm
class-admin-gutenberg-compatibility-notification.php26120644editdlrm
class-admin-help-panel.php27620644editdlrm
class-admin-init.php109740644editdlrm
class-admin-recommended-replace-vars.php61280644editdlrm
class-admin-user-profile.php31310644editdlrm
class-admin-utils.php22010644editdlrm
class-admin.php130360644editdlrm
class-asset.php44050644editdlrm
class-bulk-description-editor-list-table.php21960644editdlrm
class-bulk-editor-list-table.php302420644editdlrm
class-bulk-title-editor-list-table.php23820644editdlrm
class-collector.php10050644editdlrm
class-config.php49470644editdlrm
class-database-proxy.php76880644editdlrm
class-export.php35450644editdlrm
class-expose-shortlinks.php72550644editdlrm
class-gutenberg-compatibility.php25290644editdlrm
class-meta-columns.php279590644editdlrm
class-my-yoast-proxy.php62870644editdlrm
class-option-tab.php22680644editdlrm
class-option-tabs-formatter.php29060644editdlrm
class-option-tabs.php23110644editdlrm
class-paper-presenter.php36000644editdlrm
class-plugin-availability.php103060644editdlrm
class-plugin-conflict.php41410644editdlrm
class-premium-popup.php28750644editdlrm
class-premium-upsell-admin-block.php80200644editdlrm
class-primary-term-admin.php74940644editdlrm
class-product-upsell-notice.php58920644editdlrm
class-remote-request.php32030644editdlrm
class-schema-person-upgrade-notification.php22860644editdlrm
class-suggested-plugins.php44320644editdlrm
class-wincher-dashboard-widget.php36160644editdlrm
class-yoast-columns.php36060644editdlrm
class-yoast-dashboard-widget.php40220644editdlrm
class-yoast-form.php365840644editdlrm
class-yoast-input-validation.php73780644editdlrm
class-yoast-network-admin.php102110644editdlrm
class-yoast-network-settings-api.php42420644editdlrm
class-yoast-notification-center.php266480644editdlrm
class-yoast-notification.php103400644editdlrm
class-yoast-notifications.php78130644editdlrm
class-yoast-plugin-conflict.php105350644editdlrm
index.php380644editdlrm
interface-collection.php2570644editdlrm
interface-installable.php2540644editdlrm
Edit: /home/fortodpl/thecutediva.com/wp-content/plugins/wordpress-seo/admin/class-remote-request.php (3203B)
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 ); } }