WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/15/2012 08:46:09 PM (6 years ago)
Author:
nacin
Message:

Twenty Ten: Remove $locale.php file support. see #20448.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyten/functions.php

    r20231 r20473  
    8888    // Translations can be filed in the /languages/ directory
    8989    load_theme_textdomain( 'twentyten', get_template_directory() . '/languages' );
    90 
    91     $locale = get_locale();
    92     $locale_file = get_template_directory() . "/languages/$locale.php";
    93     if ( is_readable( $locale_file ) )
    94         require_once( $locale_file );
    9590
    9691    // This theme uses wp_nav_menu() in one location.
Note: See TracChangeset for help on using the changeset viewer.