Changeset 14360 for trunk/wp-includes/functions.php
- Timestamp:
- 05/03/2010 05:49:19 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/functions.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r14344 r14360 2606 2606 */ 2607 2607 function _default_wp_die_handler( $message, $title = '', $args = array() ) { 2608 global $wp_locale;2609 2610 2608 $defaults = array( 'response' => 500 ); 2611 2609 $r = wp_parse_args($args, $defaults); … … 2662 2660 if ( isset($r['text_direction']) && 'rtl' == $r['text_direction'] ) 2663 2661 $text_direction = 'rtl'; 2664 elseif ( isset($wp_locale ) && 'rtl' == $wp_locale->text_direction)2662 elseif ( function_exists( 'is_rtl' ) && is_rtl() ) 2665 2663 $text_direction = 'rtl'; 2666 2664 ?> … … 2744 2742 */ 2745 2743 function _mce_set_direction( $input ) { 2746 global $wp_locale; 2747 2748 if ( 'rtl' == $wp_locale->text_direction ) { 2744 if ( is_rtl() ) { 2749 2745 $input['directionality'] = 'rtl'; 2750 2746 $input['plugins'] .= ',directionality';
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)