Making WordPress.org

Changeset 6618


Ignore:
Timestamp:
02/13/2018 07:51:08 PM (7 years ago)
Author:
coffee2code
Message:

Browse Happy: Set text direction from translations.

Props obenland.
Fixes #1594.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/browsehappy.com/public_html/functions.php

    r5789 r6618  
    225225function browsehappy_load_textdomain() {
    226226    load_theme_textdomain( 'browsehappy', get_template_directory() . '/languages' );
     227
     228    $GLOBALS['wp_locale']->text_direction = _x( 'ltr', 'text direction', 'browsehappy' );
    227229}
    228230
Note: See TracChangeset for help on using the changeset viewer.