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 Nineteen on WordPress versions prior to 4.7.
Usage
twentynineteen_upgrade_notice();
Parameters
Returns
void
Source
File name: twentynineteen/inc/back-compat.php
Lines:
1 to 11 of 11
function twentynineteen_upgrade_notice() { printf( '<div class="error"><p>%s</p></div>', sprintf( /* translators: %s: WordPress version. */ __( 'Twenty Nineteen requires at least WordPress version 4.7. You are running version %s. Please upgrade and try again.', 'twentynineteen' ), $GLOBALS['wp_version'] ) ); }