class-recalibration-beta-notification.php 903 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?php
  2. /**
  3. * WPSEO plugin file.
  4. *
  5. * @package WPSEO\Admin\Notifiers
  6. */
  7. _deprecated_file( __FILE__, 'WPSEO 9.6' );
  8. /**
  9. * Represents the logic for showing recalibration beta notice.
  10. *
  11. * @codeCoverageIgnore Ignore, because this class has been deprecated.
  12. *
  13. * @deprecated 9.6
  14. */
  15. class WPSEO_Recalibration_Beta_Notification implements WPSEO_WordPress_Integration {
  16. /**
  17. * The name of the notifiers.
  18. *
  19. * @var string
  20. */
  21. protected $notification_identifier = 'recalibration-meta-notification';
  22. /**
  23. * Class constructor.
  24. *
  25. * @deprecated 9.6
  26. */
  27. public function __construct() {
  28. _deprecated_function( __METHOD__, '9.6' );
  29. }
  30. /**
  31. * Registers all hooks to WordPress.
  32. *
  33. * @return void
  34. */
  35. public function register_hooks() {
  36. // Do nothing.
  37. }
  38. /**
  39. * Shows the notification when applicable.
  40. *
  41. * @return void
  42. */
  43. public function handle_notice() {
  44. // Do nothing.
  45. }
  46. }