Edit File by line
/home/barbar84/www/wp-conte.../plugins/wordpres.../src/helpers
File: notification-helper.php
<?php
[0] Fix | Delete
[1] Fix | Delete
namespace Yoast\WP\SEO\Helpers;
[2] Fix | Delete
[3] Fix | Delete
use Yoast_Notification;
[4] Fix | Delete
use Yoast_Notification_Center;
[5] Fix | Delete
[6] Fix | Delete
/**
[7] Fix | Delete
* A helper object for notifications.
[8] Fix | Delete
*/
[9] Fix | Delete
class Notification_Helper {
[10] Fix | Delete
[11] Fix | Delete
/**
[12] Fix | Delete
* Restores a notification (wrapper function).
[13] Fix | Delete
*
[14] Fix | Delete
* @codeCoverageIgnore
[15] Fix | Delete
*
[16] Fix | Delete
* @param Yoast_Notification $notification The notification to restore.
[17] Fix | Delete
*
[18] Fix | Delete
* @return bool True if restored, false otherwise.
[19] Fix | Delete
*/
[20] Fix | Delete
public function restore_notification( Yoast_Notification $notification ) {
[21] Fix | Delete
return Yoast_Notification_Center::restore_notification( $notification );
[22] Fix | Delete
}
[23] Fix | Delete
}
[24] Fix | Delete
[25] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function