Changeset 31899 for trunk/src/wp-includes/general-template.php
- Timestamp:
- 03/26/2015 03:16:33 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/general-template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/general-template.php
r31854 r31899 610 610 case 'home' : // DEPRECATED 611 611 case 'siteurl' : // DEPRECATED 612 _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> option instead.' ), 'url' ) ); 612 _deprecated_argument( __FUNCTION__, '2.2', sprintf( 613 /* translators: 1: 'siteurl'/'home' argument, 2: bloginfo() function name, 3: 'url' argument */ 614 __( 'The %1$s option is deprecated for the family of %2$s functions. Use the %3$s option instead.' ), 615 '<code>' . $show . '</code>', 616 '<code>bloginfo()</code>', 617 '<code>url</code>' 618 ) ); 613 619 case 'url' : 614 620 $output = home_url(); … … 670 676 break; 671 677 case 'text_direction': 672 //_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()' ) ); 678 _deprecated_argument( __FUNCTION__, '2.2', sprintf( 679 /* translators: 1: 'text_direction' argument, 2: bloginfo() function name, 3: is_rtl() function name */ 680 __( 'The %1$s option is deprecated for the family of %2$s functions. Use the %3$s function instead.' ), 681 '<code>' . $show . '</code>', 682 '<code>bloginfo()</code>', 683 '<code>is_rtl()</code>' 684 ) ); 673 685 if ( function_exists( 'is_rtl' ) ) { 674 686 $output = is_rtl() ? 'rtl' : 'ltr';
Note: See TracChangeset
for help on using the changeset viewer.