WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/27/2010 05:48:37 PM (12 years ago)
Author:
wpmuguru
Message:

warnings cleanup on archived/suspended sites, fixes #12396

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/general-template.php

    r13425 r13461  
    454454        case 'text_direction':
    455455            global $wp_locale;
    456             $output = $wp_locale->text_direction;
     456            if ( isset( $wp_locale ) )
     457                $output = $wp_locale->text_direction;
     458            else
     459                $output = 'ltr';
    457460            break;
    458461        case 'name':
Note: See TracChangeset for help on using the changeset viewer.