WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/14/2011 09:50:20 AM (10 years ago)
Author:
westi
Message:

Fix typos and inconsistencies in PHPdoc / function declarations. See #17414 props duck_

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/l10n.php

    r16438 r17925  
    187187 * @return string Translated context string without pipe
    188188 */
    189 function _x( $single, $context, $domain = 'default' ) {
    190     return translate_with_gettext_context( $single, $context, $domain );
     189function _x( $text, $context, $domain = 'default' ) {
     190    return translate_with_gettext_context( $text, $context, $domain );
    191191}
    192192
     
    202202 * @return string Translated context string without pipe
    203203 */
    204 function _ex( $single, $context, $domain = 'default' ) {
    205     echo _x( $single, $context, $domain );
     204function _ex( $text, $context, $domain = 'default' ) {
     205    echo _x( $text, $context, $domain );
    206206}
    207207
     
    271271 *
    272272 * @since 2.5
    273  * @param string $single Single form to be i18ned
     273 * @param string $singular Single form to be i18ned
    274274 * @param string $plural Plural form to be i18ned
    275  * @return array array($single, $plural)
     275 * @return array array($singular, $plural)
    276276 */
    277277function _n_noop( $singular, $plural ) {
Note: See TracChangeset for help on using the changeset viewer.