class-wpseo-option-permalinks.php 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <?php
  2. /**
  3. * WPSEO plugin file.
  4. *
  5. * @package WPSEO\Internals\Options
  6. */
  7. // Mark this file as deprecated.
  8. _deprecated_file( __FILE__, 'WPSEO 7.0' );
  9. /**
  10. * Option: wpseo_permalinks.
  11. *
  12. * @deprecated 7.0
  13. */
  14. class WPSEO_Option_Permalinks {
  15. /**
  16. * Option name.
  17. *
  18. * @var string
  19. */
  20. public $option_name = '';
  21. /**
  22. * Catch all other calls to this deprecated class.
  23. *
  24. * @param string $method The method to 'call'.
  25. * @param array $args Possibly given arguments.
  26. */
  27. public function __call( $method, array $args = array() ) {
  28. _deprecated_function( $method, 'WPSEO 7.0' );
  29. }
  30. /**
  31. * Add the actions and filters for the option.
  32. *
  33. * @deprecated 7.0
  34. *
  35. * @return void
  36. */
  37. protected function __construct() {
  38. _deprecated_function( __METHOD__, '7.0' );
  39. }
  40. /**
  41. * Get the singleton instance of this class.
  42. *
  43. * @deprecated 7.0
  44. *
  45. * @return void
  46. */
  47. public static function get_instance() {
  48. _deprecated_function( __METHOD__, 'WPSEO 7.0' );
  49. }
  50. /**
  51. * Validate the option.
  52. *
  53. * @deprecated 7.0
  54. *
  55. * @return void
  56. */
  57. protected function validate_option() {
  58. _deprecated_function( __METHOD__, 'WPSEO 7.0' );
  59. }
  60. }