WordPress at Your Fingertips
function is not described

undismiss_core_update() WP 2.7.0

Undismisses core update.

No Hooks.

Return

true|false.

Usage

undismiss_core_update( $version, $locale );
$version(string) (required)
-
$locale(string) (required)
-

Changelog

Since 2.7.0 Introduced.

Code of undismiss_core_update() WP 5.8.2

function undismiss_core_update( $version, $locale ) {
	$dismissed = get_site_option( 'dismissed_update_core' );
	$key       = $version . '|' . $locale;

	if ( ! isset( $dismissed[ $key ] ) ) {
		return false;
	}

	unset( $dismissed[ $key ] );
	return update_site_option( 'dismissed_update_core', $dismissed );
}