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