WPSEO_Upgrade::upgrade_141()privateYoast 1.0

Performs the 14.1 upgrade.

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

Хуков нет.

Возвращает

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

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

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

Код WPSEO_Upgrade::upgrade_141() Yoast 22.1

private function upgrade_141() {
	/*
	 * These notifications are retrieved from storage on the `init` hook with
	 * priority 1. We need to remove them after they're retrieved.
	 */
	add_action( 'init', [ $this, 'remove_notifications_for_141' ] );
	add_action( 'init', [ $this, 'clean_up_private_taxonomies_for_141' ] );

	$this->reset_permalinks_of_attachments_for_141();
}