Make WordPress Core


Ignore:
Timestamp:
06/20/2022 10:55:52 PM (3 years ago)
Author:
johnbillion
Message:

I18N: Correct and improve inline docs and tests for functionality related to nooped plurals.

See #55646, #55652

File:
1 edited

Legend:

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

    r53507 r53543  
    12551255 *     @type bool|string $label                     A descriptive name for the post status marked
    12561256 *                                                  for translation. Defaults to value of $post_status.
    1257  *     @type bool|array  $label_count               Descriptive text to use for nooped plurals.
    1258  *                                                  Default array of $label, twice.
     1257 *     @type array|false $label_count               Nooped plural text from _n_noop() to provide the singular
     1258 *                                                  and plural forms of the label for counts. Default false
     1259 *                                                  which means the `$label` argument will be used for both
     1260 *                                                  the singular and plural forms of this label.
    12591261 *     @type bool        $exclude_from_search       Whether to exclude posts with this post status
    12601262 *                                                  from search results. Default is value of $internal.
Note: See TracChangeset for help on using the changeset viewer.