| 1 |
<?php |
| 2 |
/** |
| 3 |
* WPSEO plugin file. |
| 4 |
* |
| 5 |
* @package WPSEO\Admin\Links |
| 6 |
*/ |
| 7 |
|
| 8 |
/** |
| 9 |
* Represents compatibility with php version 5.3. |
| 10 |
*/ |
| 11 |
class WPSEO_Link_Compatibility_Notifier { |
| 12 |
|
| 13 |
/** |
| 14 |
* Adds the notification to the notification center. |
| 15 |
* |
| 16 |
* @deprecated 13.1 |
| 17 |
* |
| 18 |
* @codeCoverageIgnore |
| 19 |
*/ |
| 20 |
public function add_notification() { |
| 21 |
_deprecated_function( __METHOD__, 'WPSEO 13.1' ); |
| 22 |
} |
| 23 |
|
| 24 |
/** |
| 25 |
* Removes the notification from the notification center. |
| 26 |
* |
| 27 |
* @deprecated 13.1 |
| 28 |
* |
| 29 |
* @codeCoverageIgnore |
| 30 |
*/ |
| 31 |
public function remove_notification() { |
| 32 |
_deprecated_function( __METHOD__, 'WPSEO 13.1' ); |
| 33 |
} |
| 34 |
|
| 35 |
/** |
| 36 |
* Returns the notification when the version is incompatible. |
| 37 |
* |
| 38 |
* @deprecated 13.1 |
| 39 |
* |
| 40 |
* @codeCoverageIgnore |
| 41 |
* |
| 42 |
* @return Yoast_Notification|null The notification. |
| 43 |
*/ |
| 44 |
protected function get_notification() { |
| 45 |
_deprecated_function( __METHOD__, 'WPSEO 13.1' ); |
| 46 |
|
| 47 |
return null; |
| 48 |
} |
| 49 |
} |
| 50 |
|