WPSEO_Upgrade::upgrade_141
Performs the 14.1 upgrade.
Метод класса: WPSEO_Upgrade{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
// private - только в коде основоного (родительского) класса $result = $this->upgrade_141();
Код WPSEO_Upgrade::upgrade_141() WPSEO Upgrade::upgrade 141 Yoast 27.6
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();
}