Changeset 12459 for trunk/wp-includes/deprecated.php
- Timestamp:
- 12/19/2009 10:51:29 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/deprecated.php
r12257 r12459 1802 1802 * @since 2.2.0 1803 1803 * @deprecated 2.9.0 1804 * @deprecated Use _x() 1805 * @see _x() 1804 1806 * 1805 1807 * @param string $text Text to translate … … 1811 1813 return translate_with_context( $text, $domain ); 1812 1814 } 1815 1816 /** 1817 * A version of _n(), which supports contexts. 1818 * Strips everything from the translation after the last bar. 1819 * 1820 * @since 2.7.0 1821 * @deprecated 3.0.0 1822 * @deprecated Use _nx() 1823 * @see _nx() 1824 * @see _n() For parameters. 1825 * @see _c() For parameters. _c() is deprecated. 1826 * 1827 */ 1828 function _nc( $single, $plural, $number, $domain = 'default' ) { 1829 _deprecated_function(__FUNCTION__, '2.9', '_nx' ); 1830 return before_last_bar( _n( $single, $plural, $number, $domain ) ); 1831 } 1813 1832 ?>
Note: See TracChangeset
for help on using the changeset viewer.