- Timestamp:
- 06/15/2021 03:23:07 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentysixteen/inc/back-compat.php
r45932 r51155 39 39 */ 40 40 function twentysixteen_upgrade_notice() { 41 /* translators: %s: The current WordPress version. */ 42 $message = sprintf( __( 'Twenty Sixteen requires at least WordPress version 4.4. You are running version %s. Please upgrade and try again.', 'twentysixteen' ), $GLOBALS['wp_version'] ); 43 printf( '<div class="error"><p>%s</p></div>', $message ); 41 printf( 42 '<div class="error"><p>%s</p></div>', 43 sprintf( 44 /* translators: %s: The current WordPress version. */ 45 __( 'Twenty Sixteen requires at least WordPress version 4.4. You are running version %s. Please upgrade and try again.', 'twentysixteen' ), 46 $GLOBALS['wp_version'] 47 ) 48 ); 44 49 } 45 50 … … 53 58 function twentysixteen_customize() { 54 59 wp_die( 55 /* translators: %s: The current WordPress version. */ 56 sprintf( __( 'Twenty Sixteen requires at least WordPress version 4.4. You are running version %s. Please upgrade and try again.', 'twentysixteen' ), $GLOBALS['wp_version'] ), 60 sprintf( 61 /* translators: %s: The current WordPress version. */ 62 __( 'Twenty Sixteen requires at least WordPress version 4.4. You are running version %s. Please upgrade and try again.', 'twentysixteen' ), 63 $GLOBALS['wp_version'] 64 ), 57 65 '', 58 66 array( … … 72 80 function twentysixteen_preview() { 73 81 if ( isset( $_GET['preview'] ) ) { 74 /* translators: %s: The current WordPress version. */ 75 wp_die( sprintf( __( 'Twenty Sixteen requires at least WordPress version 4.4. You are running version %s. Please upgrade and try again.', 'twentysixteen' ), $GLOBALS['wp_version'] ) ); 82 wp_die( 83 sprintf( 84 /* translators: %s: The current WordPress version. */ 85 __( 'Twenty Sixteen requires at least WordPress version 4.4. You are running version %s. Please upgrade and try again.', 'twentysixteen' ), 86 $GLOBALS['wp_version'] 87 ) 88 ); 76 89 } 77 90 }
Note: See TracChangeset
for help on using the changeset viewer.