Changeset 13910 for trunk/wp-includes/functions.php
- Timestamp:
- 04/01/2010 10:30:58 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r13891 r13910 2642 2642 2643 2643 if ( !function_exists( 'did_action' ) || !did_action( 'admin_head' ) ) : 2644 if ( !headers_sent() ) {2644 if ( !headers_sent() ) { 2645 2645 status_header( $r['response'] ); 2646 2646 nocache_headers(); … … 2648 2648 } 2649 2649 2650 if ( empty($title) ) { 2651 $title = $have_gettext? __('WordPress › Error') : 'WordPress › Error'; 2652 } 2650 if ( empty($title) ) 2651 $title = $have_gettext ? __('WordPress › Error') : 'WordPress › Error'; 2653 2652 2654 2653 $text_direction = 'ltr'; 2655 if ( isset($r['text_direction']) && $r['text_direction'] == 'rtl' ) $text_direction = 'rtl'; 2656 if ( ( $wp_locale ) && ( 'rtl' == $wp_locale->text_direction ) ) $text_direction = 'rtl'; 2654 if ( isset($r['text_direction']) && 'rtl' == $r['text_direction'] ) 2655 $text_direction = 'rtl'; 2656 elseif ( isset($wp_locale ) && 'rtl' == $wp_locale->text_direction ) 2657 $text_direction = 'rtl'; 2657 2658 ?> 2658 2659 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Note: See TracChangeset
for help on using the changeset viewer.