~canonical-sysadmins/wordpress/5.1

« back to all changes in this revision

Viewing changes to wp-content/themes/twentyseventeen/inc/back-compat.php

  • Committer: Barry Price
  • Date: 2019-02-22 03:51:26 UTC
  • mfrom: (1.2.12 upstream)
  • Revision ID: barry.price@canonical.com-20190222035126-o28k38qs8jfyjsxt
Merge WP5.1 from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
 * @global string $wp_version WordPress version.
49
49
 */
50
50
function twentyseventeen_customize() {
51
 
        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'] ), '', array(
52
 
                'back_link' => true,
53
 
        ) );
 
51
        wp_die(
 
52
                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
                '',
 
54
                array(
 
55
                        'back_link' => true,
 
56
                )
 
57
        );
54
58
}
55
59
add_action( 'load-customize.php', 'twentyseventeen_customize' );
56
60