Docs: In `wp_list_authors()`, clarify that `include` and `exclude` arguments can also be an array.

Fix duplicated `exclude` argument description.

Props birgire.
Fixes #37239.

git-svn-id: https://develop.svn.wordpress.org/trunk@37949 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2016-07-04 14:33:03 +00:00
parent 266ffe1f35
commit 8ae60fd26c
1 changed files with 20 additions and 20 deletions

View File

@ -355,8 +355,8 @@ function get_author_posts_url( $author_id, $author_nicename = '' ) {
* @type string $style If 'list', each author is wrapped in an `<li>` element, otherwise the authors
* will be separated by commas.
* @type bool $html Whether to list the items in HTML form or plaintext. Default true.
* @type string $exclude An array, comma-, or space-separated list of author IDs to exclude. Default empty.
* @type string $exclude An array, comma-, or space-separated list of author IDs to include. Default empty.
* @type array|string $exclude Array or comma/space-separated list of author IDs to exclude. Default empty.
* @type array|string $include Array or comma/space-separated list of author IDs to include. Default empty.
* }
* @return string|void The output, if echo is set to false.
*/