Merged in feature/314-dev-dev01 (pull request #24)
auto-patch 314-dev-dev01-2024-01-25T04_09_02 * auto-patch 314-dev-dev01-2024-01-25T04_09_02
This commit is contained in:
@@ -22,6 +22,8 @@ class WPSEO_Schema_Person_Upgrade_Notification implements WPSEO_WordPress_Integr
|
||||
|
||||
/**
|
||||
* Handles if the notification should be added or removed.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function handle_notification() {
|
||||
$company_or_person_user_id = WPSEO_Options::get( 'company_or_person_user_id', false );
|
||||
@@ -35,6 +37,8 @@ class WPSEO_Schema_Person_Upgrade_Notification implements WPSEO_WordPress_Integr
|
||||
|
||||
/**
|
||||
* Adds a notification to the notification center.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function add_notification() {
|
||||
$notification_center = Yoast_Notification_Center::get();
|
||||
@@ -43,6 +47,8 @@ class WPSEO_Schema_Person_Upgrade_Notification implements WPSEO_WordPress_Integr
|
||||
|
||||
/**
|
||||
* Removes a notification to the notification center.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function remove_notification() {
|
||||
$notification_center = Yoast_Notification_Center::get();
|
||||
|
||||
Reference in New Issue
Block a user