class-gsc-issues.php 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <?php
  2. /**
  3. * WPSEO plugin file.
  4. *
  5. * @package WPSEO\Admin\Google_Search_Console
  6. */
  7. /**
  8. * Class WPSEO_GSC_Issues.
  9. *
  10. * @deprecated 12.5
  11. *
  12. * @codeCoverageIgnore
  13. */
  14. class WPSEO_GSC_Issues {
  15. /**
  16. * Setting up the properties and fetching the current issues.
  17. *
  18. * @deprecated 12.5
  19. *
  20. * @codeCoverageIgnore
  21. *
  22. * @param string $platform Platform type (desktop, mobile, feature phone).
  23. * @param string $category Issues category.
  24. * @param array|bool $fetched_issues Optional set of issues.
  25. */
  26. public function __construct( $platform, $category, $fetched_issues = false ) {
  27. _deprecated_function( __METHOD__, 'WPSEO 12.5' );
  28. }
  29. /**
  30. * Getting the issues from the options.
  31. *
  32. * @deprecated 12.5
  33. *
  34. * @codeCoverageIgnore
  35. *
  36. * @return array
  37. */
  38. public function get_issues() {
  39. _deprecated_function( __METHOD__, 'WPSEO 12.5' );
  40. return array();
  41. }
  42. /**
  43. * Deleting the issue from the issues.
  44. *
  45. * @deprecated 12.5
  46. *
  47. * @codeCoverageIgnore
  48. *
  49. * @param string $url URL to delete issues for.
  50. *
  51. * @return bool
  52. */
  53. public function delete_issue( $url ) {
  54. _deprecated_function( __METHOD__, 'WPSEO 12.5' );
  55. return false;
  56. }
  57. }