HEX
Server: Apache/2.4.54 (Debian)
System: Linux a5825d2beacc 4.15.0-197-generic #208-Ubuntu SMP Tue Nov 1 17:23:37 UTC 2022 x86_64
User: root (0)
PHP: 8.1.14
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/wordpress-seo/deprecated/class-wpseo-option-permalinks.php
<?php
/**
 * WPSEO plugin file.
 *
 * @package WPSEO\Internals\Options
 */

// Mark this file as deprecated.
_deprecated_file( __FILE__, 'WPSEO 7.0' );

/**
 * Option: wpseo_permalinks.
 *
 * @deprecated 7.0
 */
class WPSEO_Option_Permalinks {

	/**
	 * @var  string  option name
	 */
	public $option_name = '';

	/**
	 * Catch all other calls to this deprecated class.
	 *
	 * @param string $method The method to 'call'.
	 * @param array  $args   Possibly given arguments.
	 */
	public function __call( $method, array $args = array() ) {
		_deprecated_function( $method, 'WPSEO 7.0' );
	}

	/**
	 * Add the actions and filters for the option
	 *
	 * @deprecated 7.0
	 *
	 * @return void
	 */
	protected function __construct() {
		_deprecated_constructor( __CLASS__, 'WPSEO 7.0' );
	}

	/**
	 * Get the singleton instance of this class
	 *
	 * @deprecated 7.0
	 *
	 * @return void
	 */
	public static function get_instance() {
		_deprecated_function( __METHOD__, 'WPSEO 7.0' );
	}

	/**
	 * Validate the option
	 *
	 * @deprecated 7.0
	 *
	 * @return void
	 */
	protected function validate_option() {
		_deprecated_function( __METHOD__, 'WPSEO 7.0' );
	}
}