- Timestamp:
- 07/05/2019 08:03:40 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyseventeen/inc/back-compat.php
r43571 r45604 37 37 */ 38 38 function twentyseventeen_upgrade_notice() { 39 /* translators: %s: The current WordPress version */ 39 40 $message = sprintf( __( 'Twenty Seventeen requires at least WordPress version 4.7. You are running version %s. Please upgrade and try again.', 'twentyseventeen' ), $GLOBALS['wp_version'] ); 40 41 printf( '<div class="error"><p>%s</p></div>', $message ); … … 50 51 function twentyseventeen_customize() { 51 52 wp_die( 53 /* translators: %s: The current WordPress version */ 52 54 sprintf( __( 'Twenty Seventeen requires at least WordPress version 4.7. You are running version %s. Please upgrade and try again.', 'twentyseventeen' ), $GLOBALS['wp_version'] ), 53 55 '', … … 68 70 function twentyseventeen_preview() { 69 71 if ( isset( $_GET['preview'] ) ) { 72 /* translators: %s: The current WordPress version */ 70 73 wp_die( sprintf( __( 'Twenty Seventeen requires at least WordPress version 4.7. You are running version %s. Please upgrade and try again.', 'twentyseventeen' ), $GLOBALS['wp_version'] ) ); 71 74 }
Note: See TracChangeset
for help on using the changeset viewer.