Make WordPress Core

Changeset 36024


Ignore:
Timestamp:
12/19/2015 08:47:12 AM (8 years ago)
Author:
DrewAPicture
Message:

Docs: Add missing parameter and return notations in the DocBlock for the deprecated _nc() function.

See #32246.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/deprecated.php

    r36023 r36024  
    17581758
    17591759/**
    1760  * A version of _n(), which supports contexts.
     1760 * Legacy version of _n(), which supports contexts.
     1761 *
    17611762 * Strips everything from the translation after the last bar.
    17621763 *
     
    17641765 * @deprecated 3.0.0 Use _nx()
    17651766 * @see _nx()
     1767 *
     1768 * @param string $single The text to be used if the number is singular.
     1769 * @param string $plural The text to be used if the number is plural.
     1770 * @param int    $number The number to compare against to use either the singular or plural form.
     1771 * @param string $domain Optional. Text domain. Unique identifier for retrieving translated strings.
     1772 *                       Default 'default'.
     1773 * @return string The translated singular or plural form.
    17661774 */
    17671775function _nc( $single, $plural, $number, $domain = 'default' ) {
Note: See TracChangeset for help on using the changeset viewer.