Making WordPress.org

Changeset 1146


Ignore:
Timestamp:
01/15/2015 07:50:20 PM (10 years ago)
Author:
obenland
Message:

WP.org Themes: Enable translations.

At least loading the textdomain, if nothing else.

See #745.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/functions.php

    r1134 r1146  
    1818    global $themes_allowedtags, $theme_field_defaults;
    1919
    20 //  load_theme_textdomain( 'wporg-themes', get_template_directory() . '/languages' );
     20    load_theme_textdomain( 'wporg-themes' );
     21
    2122    add_theme_support( 'automatic-feed-links' );
    2223
     
    7879    wp_enqueue_style( 'wporg-themes-style', get_stylesheet_uri() );
    7980
    80 
    8181    wp_enqueue_script( 'google-jsapi', '//www.google.com/jsapi', array(), null );
    8282
Note: See TracChangeset for help on using the changeset viewer.