class-wpseo-option-permalinks.php 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. * @var string option name
  17. */
  18. public $option_name = '';
  19. /**
  20. * Catch all other calls to this deprecated class.
  21. *
  22. * @param string $method The method to 'call'.
  23. * @param array $args Possibly given arguments.
  24. */
  25. public function __call( $method, array $args = array() ) {
  26. _deprecated_function( $method, 'WPSEO 7.0' );
  27. }
  28. /**
  29. * Add the actions and filters for the option
  30. *
  31. * @deprecated 7.0
  32. *
  33. * @return void
  34. */
  35. protected function __construct() {
  36. _deprecated_constructor( __CLASS__, 'WPSEO 7.0' );
  37. }
  38. /**
  39. * Get the singleton instance of this class
  40. *
  41. * @deprecated 7.0
  42. *
  43. * @return void
  44. */
  45. public static function get_instance() {
  46. _deprecated_function( __METHOD__, 'WPSEO 7.0' );
  47. }
  48. /**
  49. * Validate the option
  50. *
  51. * @deprecated 7.0
  52. *
  53. * @return void
  54. */
  55. protected function validate_option() {
  56. _deprecated_function( __METHOD__, 'WPSEO 7.0' );
  57. }
  58. }