- Timestamp:
- 07/09/2019 01:08:47 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfifteen/inc/back-compat.php
r43571 r45609 35 35 */ 36 36 function twentyfifteen_upgrade_notice() { 37 /* translators: %s: WordPress version */ 37 38 $message = sprintf( __( 'Twenty Fifteen requires at least WordPress version 4.1. You are running version %s. Please upgrade and try again.', 'twentyfifteen' ), $GLOBALS['wp_version'] ); 38 39 printf( '<div class="error"><p>%s</p></div>', $message ); … … 46 47 function twentyfifteen_customize() { 47 48 wp_die( 49 /* translators: %s: WordPress version */ 48 50 sprintf( __( 'Twenty Fifteen requires at least WordPress version 4.1. You are running version %s. Please upgrade and try again.', 'twentyfifteen' ), $GLOBALS['wp_version'] ), 49 51 '', … … 62 64 function twentyfifteen_preview() { 63 65 if ( isset( $_GET['preview'] ) ) { 66 /* translators: %s: WordPress version */ 64 67 wp_die( sprintf( __( 'Twenty Fifteen requires at least WordPress version 4.1. You are running version %s. Please upgrade and try again.', 'twentyfifteen' ), $GLOBALS['wp_version'] ) ); 65 68 }
Note: See TracChangeset
for help on using the changeset viewer.