Make WordPress Core

Ticket #24898: 24898.patch

File 24898.patch, 760 bytes (added by Jayjdk, 12 years ago)
  • wp-content/themes/twentyfourteen/functions.php

     
    1313if ( ! isset( $content_width ) )
    1414        $content_width = 474; /* pixels */
    1515
    16 function futher_set_content_width() {
     16function twentyfourteen_set_content_width() {
    1717        global $content_width;
    1818        if ( is_page_template( 'full-width-page.php' ) || is_attachment() )
    1919                $content_width = 895;
    2020}
    21 add_action( 'template_redirect', 'futher_set_content_width' );
     21add_action( 'template_redirect', 'twentyfourteen_set_content_width' );
    2222
    2323if ( ! function_exists( 'twentyfourteen_setup' ) ) :
    2424/**