WPSEO_Upgrade::upgrade_128()privateYoast 1.0

Performs the 12.8 upgrade.

Метод класса: WPSEO_Upgrade{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

// private - только в коде основоного (родительского) класса
$result = $this->upgrade_128();

Код WPSEO_Upgrade::upgrade_128() Yoast 22.4

private function upgrade_128() {
	// Re-save wpseo to make sure bf_banner_2019_dismissed key is gone.
	$this->cleanup_option_data( 'wpseo' );

	Yoast_Notification_Center::get()->remove_notification_by_id( 'wpseo-dismiss-page_comments-notice' );
	Yoast_Notification_Center::get()->remove_notification_by_id( 'wpseo-dismiss-wordpress-upgrade' );
}