~canonical-sysadmins/wordpress/5.1

« back to all changes in this revision

Viewing changes to wp-content/themes/twentysixteen/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:
50
50
 * @global string $wp_version WordPress version.
51
51
 */
52
52
function twentysixteen_customize() {
53
 
        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'] ), '', array(
54
 
                'back_link' => true,
55
 
        ) );
 
53
        wp_die(
 
54
                sprintf( __( 'Twenty Sixteen requires at least WordPress version 4.4. You are running version %s. Please upgrade and try again.', 'twentysixteen' ), $GLOBALS['wp_version'] ),
 
55
                '',
 
56
                array(
 
57
                        'back_link' => true,
 
58
                )
 
59
        );
56
60
}
57
61
add_action( 'load-customize.php', 'twentysixteen_customize' );
58
62