403Webshell
Server IP : 104.21.14.103  /  Your IP : 18.117.142.169
Web Server : LiteSpeed
System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : giankuin ( 1871)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/self/root/proc/self/cwd/wp-content/plugins/wordpress-seo/inc/exceptions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/root/proc/self/cwd/wp-content/plugins/wordpress-seo/inc/exceptions/class-rest-request-exception.php
<?php
/**
 * WPSEO plugin file.
 *
 * @package WPSEO\Internals
 */

/**
 * Class WPSEO_REST_Request_Exception.
 */
class WPSEO_REST_Request_Exception extends Exception {

	/**
	 * Creates a patch failure exception.
	 *
	 * @param string $object_type The name of the parameter.
	 * @param string $object_id   The ID of the parameter.
	 *
	 * @return WPSEO_REST_Request_Exception The exception.
	 */
	public static function patch( $object_type, $object_id ) {
		return new self(
			sprintf(
				/* translators: %1$s expands to object type. %2$s expands to the object ID. */
				__( '%1$s with ID %2$s couldn\'t be patched', 'wordpress-seo' ),
				$object_type,
				$object_id
			)
		);
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit