WordPress.org

Make WordPress Core

Changeset 20471


Ignore:
Timestamp:
04/15/2012 07:53:47 PM (6 years ago)
Author:
nacin
Message:

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

File:
1 edited

Legend:

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

    r20470 r20471  
    7979     */
    8080    load_theme_textdomain( 'twentyeleven', get_template_directory() . '/languages' );
    81 
    82     $locale = get_locale();
    83     $locale_file = get_template_directory() . "/languages/$locale.php";
    84     if ( is_readable( $locale_file ) )
    85         require_once( $locale_file );
    8681
    8782    // This theme styles the visual editor with editor-style.css to match the theme style.
Note: See TracChangeset for help on using the changeset viewer.