I18N: Correct and improve inline docs and tests for functionality related to nooped plurals.
See #55646, #55652 Built from https://develop.svn.wordpress.org/trunk@53543 git-svn-id: http://core.svn.wordpress.org/trunk@53132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1254,8 +1254,10 @@ function _wp_privacy_statuses() {
|
||||
*
|
||||
* @type bool|string $label A descriptive name for the post status marked
|
||||
* for translation. Defaults to value of $post_status.
|
||||
* @type bool|array $label_count Descriptive text to use for nooped plurals.
|
||||
* Default array of $label, twice.
|
||||
* @type array|false $label_count Nooped plural text from _n_noop() to provide the singular
|
||||
* and plural forms of the label for counts. Default false
|
||||
* which means the `$label` argument will be used for both
|
||||
* the singular and plural forms of this label.
|
||||
* @type bool $exclude_from_search Whether to exclude posts with this post status
|
||||
* from search results. Default is value of $internal.
|
||||
* @type bool $_builtin Whether the status is built-in. Core-use only.
|
||||
|
||||
Reference in New Issue
Block a user