Changeset 14646 for trunk/wp-includes/general-template.php
- Timestamp:
- 05/14/2010 09:22:14 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/general-template.php
r14614 r14646 464 464 case 'text_direction': 465 465 //_deprecated_argument( __FUNCTION__, '2.2', sprintf( __('The <code>%s</code> option is deprecated for the family of <code>bloginfo()</code> functions.' ), $show ) . ' ' . sprintf( __( 'Use the <code>%s</code> function instead.' ), 'is_rtl()' ) ); 466 return function_exists( 'is_rtl' ) ? is_rtl() : 'ltr'; 466 if ( function_exists( 'is_rtl' ) ) { 467 $output = is_rtl() ? 'rtl' : 'ltr'; 468 } else { 469 $output = 'ltr'; 470 } 467 471 break; 468 472 case 'name':
Note: See TracChangeset
for help on using the changeset viewer.