You appear to be a bot. Output may be restricted
Description
Adds a message for unsuccessful theme switch.
Prints an update nag after an unsuccessful attempt to switch to Twenty Seventeen on WordPress versions prior to 4.7.
Usage
twentyseventeen_upgrade_notice();
Parameters
Returns
void
Source
File name: twentyseventeen/inc/back-compat.php
Lines:
1 to 11 of 11
function twentyseventeen_upgrade_notice() { printf( '<div class="error"><p>%s</p></div>', sprintf( /* translators: %s: The current WordPress version. */ __( 'Twenty Seventeen requires at least WordPress version 4.7. You are running version %s. Please upgrade and try again.', 'twentyseventeen' ), $GLOBALS['wp_version'] ) ); }